mirror of
https://github.com/PashaBibko/LX.git
synced 2026-12-02 22:07:39 +00:00
Parser is held together by duck-tape and a wish
This commit is contained in:
1 parent
e1fce699da
commit
3017e70631
6 files changed
+216
-33
No files matched your search
+8
-2
@@ -5,7 +5,13 @@ Started lexing file
|
||||
|
||||
Token::FUNCTION
|
||||
Token::IDENTIFIER: main
|
||||
Token::IDENTIFIER: return
|
||||
Unknown: 3
|
||||
Token::NUMBER_LITERAL: 34
|
||||
Token::ADD
|
||||
Token::NUMBER_LITERAL: 4
|
||||
Token::NUMBER_LITERAL: 4324
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
Started parsing tokens
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
AST length: 1
|
||||
+1
-2
@@ -1,3 +1,2 @@
|
||||
func main
|
||||
return 34 + 4
|
||||
|
||||
return 34 + 4324
|
||||
Reference in new issue
Block a user