|
|
92d142b9cf
|
It works, basic but works, need to move out logic to places, like ASTNode array shouldn't be on the lexer or future logic for fractions and error handling in the evaluator. Just the things at the top of my head
|
2026-03-25 11:30:12 -06:00 |
|
|
|
845673fb0e
|
FUCK YEAH, it works, it was the is_valid thing fo slices that was inverted, did the test by brute force and damn, is the expected AST
|
2026-03-25 10:22:54 -06:00 |
|
|
|
f11b6f8c12
|
print funtion added, not tested
|
2026-03-25 06:59:52 -06:00 |
|
|
|
7d28b69790
|
added parse, just need a few more helper funtions to start testing some things
|
2026-03-24 21:44:08 -06:00 |
|
|
|
0d883ae978
|
WOW, finally making some sense, i think i get it, finally got the skelleton, gonna keep reading for adding more interesting things and doing things right, for now i think i got the parse_expr
|
2026-03-24 21:36:14 -06:00 |
|
|
|
acd5e9781e
|
DAMN, i still don't get it, i really don't want to ask some AI to do it but damn, i'm finding it REALLY difficult, is like the 4th article i read, i hope this is the one and that i can get going for fucks sake
|
2026-03-24 21:04:36 -06:00 |
|
|
|
27787308f2
|
Read a pratt parsing article, i think i can do it, got nud and led the right way i think
|
2026-03-24 11:19:47 -06:00 |
|
|
|
6377515558
|
Starting with the lexer, i'm starting to comprehend better what pratt parsing is and how to apply it. For now just declaring basic structure and functions
|
2026-03-13 07:58:38 -06:00 |
|
|
|
317e9f3b6b
|
Jut setting all up for the calculator
|
2026-02-28 13:59:02 -06:00 |
|