This commit is contained in:
2025-06-27 13:58:21 +01:00
parent e23c20b635
commit afb2761a2b
4 changed files with 45 additions and 1 deletions
+19
View File
@@ -1 +1,20 @@
# DSC - Damn Simple Code
# This document is a work in progress!
# Nothing is final!
## Syntax
- we aim to make the syntax simple and easy to understand, this has the following benefits
- easy to write
- easy to parse
- little variation in syntax means we have to handle less cases in semantic analysis, meaning we will be able to create a working compiler quicker.
## Types
- we should support the following types
- unsigned integer types (U8, U16, U32)
- signed integer types (I8, I16, I32)
- boolean type (Bool)
- struct types (Struct)
- dynamic types *(Dyn)
-