Commit Graph

32 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
a13dbcaa77 update README.md 2025-10-03 22:39: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
ec59b49c32 Update README.md to mention new library dependancy
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-02 18:20:04 +03:00
haxala1r
15176cdbf6 Change CMakeLists.txt to expect Catch2 in system path to speed up builds
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-02 18:08:22 +03:00
haxala1r
2dd10e08d9 Added toolchain file for sanitized builds
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
2025-10-02 17:56:30 +03:00
haxala1r
a40487f84d Change build code to be maximally pedantic
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-10-02 17:20:14 +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
d0eae97771 Update README.md
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-09-30 22:32:44 +03:00
haxala1r
e1580755e9 Use correct path for test executable
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-09-30 21:49:37 +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
34d35d6039 compile_commands.json should be generated per person
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-09-30 21:44:14 +03:00
haxala1r
a476d1b9e9 Updated README.md, added status badge for continuous integration 2025-09-30 21:39:59 +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
ea9c6a0144 Fixed workflow to use the correct path for the resulting binary
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2025-09-30 20:21:49 +03:00
haxala1r
c25197bab3 Change workflow to create a build directory
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
2025-09-30 20:20:32 +03:00
haxala1r
48a5bf6ee5 Added test workflow file
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
2025-09-30 20:17:47 +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
1fbbff68b9 Add lex.cpp to build target 2025-09-30 17:39:00 +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