Karma Riuk
|
7f1cc6f45e
|
can now parse prefix expressions!
|
2025-07-09 12:02:01 +02:00 |
|
Karma Riuk
|
c7a30a0028
|
made casting issues log an even better message
|
2025-07-09 12:01:09 +02:00 |
|
Karma Riuk
|
2ff6c695f7
|
removed useless import
|
2025-07-09 12:00:57 +02:00 |
|
Karma Riuk
|
3ec6667ba3
|
improved logging errors
|
2025-07-09 11:46:47 +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 |
|
Karma Riuk
|
d10e5676c1
|
better use of fixtures for resource allocation and
dealocation
|
2025-07-08 15:45:38 +02:00 |
|
Karma Riuk
|
83df4955d4
|
added tests for the stringification of the program
|
2025-07-08 11:18:54 +02:00 |
|
Karma Riuk
|
902f5a16df
|
using fixtures (not super necessary, but nice)
|
2025-07-08 10:58:51 +02:00 |
|
Karma Riuk
|
2dfff61346
|
using test suites
|
2025-07-08 10:48:35 +02:00 |
|
Karma Riuk
|
1638ddbfa1
|
fixed tests
|
2025-07-07 18:33:27 +02:00 |
|
Karma Riuk
|
b98424aa5f
|
renamed let to let_stmt
|
2025-07-07 17:44:11 +02:00 |
|
Karma Riuk
|
39eafe2360
|
made tests for return statements
|
2025-07-07 17:39:07 +02:00 |
|
Karma Riuk
|
7b916b2a0b
|
created the parser dir test to avoid having a
bunch of "unrelated" tests in one file
|
2025-07-07 17:20:21 +02:00 |
|
Karma Riuk
|
132dc65240
|
added some sort of error generation when parsing
errors occur
|
2025-07-07 15:04:23 +02:00 |
|
Karma Riuk
|
bbac513aa9
|
checkign that the casting of the let statement
doesn't throw
|
2025-07-07 15:01:46 +02:00 |
|
Karma Riuk
|
de465b6122
|
very basic parser of let statements
|
2025-07-03 13:30:56 +02:00 |
|
Karma Riuk
|
4da5313db5
|
using require instead of check to fail fast
|
2025-07-02 23:12:28 +02:00 |
|
Karma Riuk
|
aee7a741b1
|
added EQ and NEQ
|
2025-07-01 18:01:45 +02:00 |
|
Karma Riuk
|
7973f7522c
|
extended lexer to new keywords
|
2025-06-30 00:36:31 +02:00 |
|
Karma Riuk
|
5cc7147909
|
extended single char tokens
|
2025-06-30 00:27:30 +02:00 |
|
Karma Riuk
|
69217fdf90
|
added test for full lexer (missing impl)
|
2025-06-29 20:28:53 +02:00 |
|
Karma Riuk
|
ffff13b2e0
|
lexer can now read single character tokens
|
2025-06-29 12:33:37 +02:00 |
|
Karma Riuk
|
ca05c3577a
|
renamed EOF_ to END_OF_FILE
|
2025-06-29 12:33:09 +02:00 |
|
Karma Riuk
|
1c928616a4
|
written structure and tests for lexer, missing
implementation
|
2025-06-29 10:56:51 +02:00 |
|