initial commit

This commit is contained in:
2025-11-04 12:57:40 +09:00
commit cacb35ddb2
6 changed files with 37 additions and 0 deletions

18
README.md Normal file
View File

@@ -0,0 +1,18 @@
# C-val Compiler
## Lexical Spec
* LBRACK `[`
* RBRACK `]`
* LCURLY `{`
* RCURLY `}`
* ID `[all]`
* SEMI `;`
* COMMA `,`
* ARROW `->`
* COMMENT `#`
* NUM `[0-9]*(.[0-9]+)?`
* RETURN `return`
* IF `if`
* ELSE `else`
* STRING "{any}"