Implemented struct parser

This commit is contained in:
2025-02-04 14:41:04 +01:00
parent fc1b970f7f
commit 51e3c1ba0e
19 changed files with 388 additions and 252 deletions

View File

@ -6,6 +6,7 @@ var (
ExpectedFunctionParameters = &Base{"Expected function parameters"}
ExpectedFunctionDefinition = &Base{"Expected function definition"}
ExpectedIfBeforeElse = &Base{"Expected an 'if' block before 'else'"}
ExpectedStructName = &Base{"Expected struct name"}
InvalidNumber = &Base{"Invalid number"}
InvalidExpression = &Base{"Invalid expression"}
InvalidRune = &Base{"Invalid rune"}