Commit Graph

19 Commits

Author SHA1 Message Date
haxala1r
75eb879993 Added extra test cases for parsing quotes and symbols, also change symbols to always be uppercase
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-03 22:57:28 +03:00
haxala1r
01246cc0e1 Added lexing and parsing for single quote
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-03 22:51:46 +03:00
haxala1r
ed791d96f2 Added nested lists test
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-03 22:29:40 +03:00
haxala1r
8a9655cdd5 Added tests for the parser
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-03 22:22:38 +03:00
haxala1r
b6c095caf1 Changed List value to deque for easier testing and use, 2025-10-03 22:22:25 +03:00
haxala1r
7746fdda6f Initial parser attempt added - seems to parse correctly
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-03 22:07:20 +03:00
haxala1r
561c76b6d7 fix tests to obey new rules
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-03 22:06:10 +03:00
haxala1r
00fdc84d22 Minor changes - change vector to deque in lexer as this needs to behave like a queue 2025-10-03 21:08:43 +03:00
haxala1r
47f33f3dc0 Change lexer code to use an option instead of ignoring the variant when no value is needed 2025-10-02 17:19:51 +03:00
haxala1r
8fc3e82173 Added testing with Catch2
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
2025-09-30 21:46:26 +03:00
haxala1r
acc9b94c1f Fixed an error in double parsing logic
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-09-30 21:32:02 +03:00
haxala1r
8d3cc2181e Added equality operator to Token, will be useful for testing. 2025-09-30 20:58:56 +03:00
haxala1r
f93b2deda2 Added lexing logic for doubles
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-09-30 20:30:05 +03:00
haxala1r
6f58051284 Add new lex() function to streamline lexing, change main to reflect this 2025-09-30 17:52:53 +03:00
haxala1r
08136c6492 Change main to read a single token and print 2025-09-30 17:41:53 +03:00
haxala1r
5eadf0b643 Add operator<< implementation for Token for debugging purposes 2025-09-30 17:41:31 +03:00
haxala1r
de08276b53 Untested additions to lexer - almost complete now 2025-09-30 17:26:29 +03:00
haxala1r
19b0eb48bb Added a skeleton for the lexer 2025-09-30 16:50:33 +03:00
haxala1r
43e05597ac Initial commit (simple build skeleton) 2025-09-30 15:04:54 +03:00