modify some and define types for token

This commit is contained in:
2025-11-04 13:20:21 +09:00
parent cacb35ddb2
commit bbc1838b8a
3 changed files with 33 additions and 2 deletions

View File

@@ -10,9 +10,10 @@
* SEMI `;`
* COMMA `,`
* ARROW `->`
* STAR `*`
* COMMENT `#`
* NUM `[0-9]*(.[0-9]+)?`
* RETURN `return`
* IF `if`
* ELSE `else`
* STRING "{any}"
* STRING `"{any}"`