Karma Riuk
c943380d58
moved the utils for the parser to a global utils
...
folder for the tests (that utils is includable
only by the tests and not the src code, I added a
compiler flag only for the tests in the makefile,
but the compiler_flags.txt is global for the lsp,
gotta be careful with that)
2025-07-19 13:27:25 +02:00
Karma Riuk
20b2c4a818
added checks for operator precedence with function
...
call
2025-07-15 20:09:08 +02:00
Karma Riuk
86574552aa
added parsing and testing for grouped expressions
2025-07-12 15:22:45 +02:00
Karma Riuk
ab17545c93
made another test for boolean parsing in general
...
expression
2025-07-12 15:07:47 +02:00
Karma Riuk
4da5f32aea
added boolean literals and tests for them (no
...
parsing yet)
2025-07-11 20:55:02 +02:00
Karma Riuk
8c1f4e10cd
made more helper functions for testing
2025-07-11 20:34:18 +02:00
Karma Riuk
6cd99c22fe
added a way to show the call stack of the functions
2025-07-11 19:48:55 +02:00
Karma Riuk
c9ffeafd5f
added extensive testing for operator precedence
2025-07-11 11:39:55 +02:00
Karma Riuk
6e471a91d5
fixed test
2025-07-11 10:30:28 +02:00
Karma Riuk
702c34a736
written tests for infix expressions
2025-07-11 09:07:33 +02:00
Karma Riuk
f038d30d77
written the test in a different way, since we
...
can't use for loops around subcases
2025-07-11 09:07:12 +02:00
Karma Riuk
7f1cc6f45e
can now parse prefix expressions!
2025-07-09 12:02:01 +02:00
Karma Riuk
c65cefe867
extracted to a function the casting of the
...
different types to make tests cleaner
2025-07-09 11:07:21 +02:00
Karma Riuk
79b1aeb45f
can now parse identifiers and integer literals
2025-07-09 10:16:13 +02:00
Karma Riuk
c9e21213fd
made setup for expression parsing
2025-07-08 15:52:40 +02:00