This website requires JavaScript.
Explore
Help
Sign In
laentropia
/
Calculator
Watch
1
Star
0
Fork
0
You've already forked Calculator
Code
Issues
3
Pull Requests
Actions
Packages
Projects
1
Releases
Wiki
Activity
38
Commits
2
Branches
0
Tags
fee33ff1f090f6e718307ad5152b6f882bfea248
Commit Graph
8 Commits
Author
SHA1
Message
Date
laentropia
ac2e783ccc
fix: tests and implementation of lexer
...
Just a few details here and there, nothing wrong, everything else is going well.
2026-04-30 09:58:27 -06:00
laentropia
630d9f53e1
test: changed lexer tests
2026-04-24 09:36:03 -06:00
LaEntropiaa
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
LaEntropiaa
903fdbd6ff
I think i'm done, lexer works fine and errors work fine too, amazing actually, should be moving on to the parser so that i can construct the expression tree
2026-03-10 07:27:35 -06:00
LaEntropiaa
73451fcca9
Damn, it works, the lexer actually works, that's amazing, need to test the bad cases but at least i'm sure it can detect and process correct math expressions
2026-03-10 07:08:12 -06:00
LaEntropiaa
0de6cf5024
Modified the structure of the lexer, now is more easy to add types of numbers like fractions, like i could enev consider roots, irrationals, complex or imaginary, that would be dope. For now only support for integer, we need to get this shit running
2026-03-09 11:58:55 -06:00
LaEntropiaa
afae8fbe3a
Made the arrangements for the mentioned changes in the last commit, for now just integers but IT WILL be capable of handling doubles as fractions
2026-03-09 09:23:06 -06:00
LaEntropiaa
771069455d
First version for string_to_number, just one test, is working fine, i'm considering swithching to handling only integers for in the future to manage in special struct that manages doubles as fractions, obviously this will mean changing nodes for general numbers to integers/fractions and shit
2026-03-09 09:06:06 -06:00