Commit Graph

22 Commits

Author SHA1 Message Date
Pasha Bibko
0a7c2c0145 Organized project files 2025-04-22 11:17:34 +01:00
Pasha Bibko
c95d91b867 Changed how tokens are represented in memory
Also made string-literal tokens now include the quotes as part of their contents.
2025-04-22 10:55:35 +01:00
Pasha Bibko
4b47e803ce Improved logging
Small errors with logging parser unexpected token errors. Tokens need to be re-written with how they store memory as it can be halved.
2025-04-22 00:16:20 +01:00
Pasha Bibko
a1e812efc2 Removed files that did not need to be on github 2025-04-21 15:57:49 +01:00
Pasha Bibko
c8001a3a58 Made the process actually output to the file 2025-04-21 15:56:10 +01:00
Pasha Bibko
feea149cc1 Made lexer support floating point numbers
Wow I didn't think the lexer could get worse
2025-04-21 15:40:46 +01:00
Pasha Bibko
9f05d42945 Changed how undefined errors work 2025-04-21 15:00:09 +01:00
Pasha Bibko
73eefca6db Improved readability of errors in the console 2025-04-21 14:57:50 +01:00
Pasha Bibko
49e4bba510 Improved lexer debugging 2025-04-21 14:23:47 +01:00
Pasha Bibko
a560c53c58 Fixed previous commit
Also allows multiple things to be added together
2025-04-21 09:50:29 +01:00
Pasha Bibko
934f287b7f Merge branch 'LLVM-Test' 2025-04-20 19:32:56 +01:00
Pasha Bibko
6ba9f8e596 Improved compile times
Added A LOT of comments
2025-04-20 19:32:25 +01:00
Pasha Bibko
680a3d1323 LLVM-Works 2025-04-20 13:49:43 +01:00
Pasha Bibko
b3373a858c Removed LLVM 2025-04-19 11:41:52 +01:00
Pasha Bibko
14b2b36748 IT CRASHES
WHYYYYYYYYYYYYYYYYYYYYYY
2025-04-17 18:34:56 +01:00
Pasha Bibko
3017e70631 Parser is held together by duck-tape and a wish 2025-04-17 14:47:19 +01:00
Pasha Bibko
e1fce699da Added number literals to Lexer
Also fixed bugs. I really should refactor the mess that is this Lexer.
2025-04-17 13:46:10 +01:00
Pasha Bibko
2f34a23ba2 Fixed bugs in Lexer
Also added basic math operators
2025-04-17 13:04:28 +01:00
Pasha Bibko
84f2a4cc5e Added token class
Also added a couple of foward declarations for faster compiles
2025-04-17 11:40:00 +01:00
Pasha Bibko
f28b81ab87 Started adding Parser 2025-04-16 20:00:28 +01:00
Pasha Bibko
4ac5061f03 Added lexer from previous project 2025-04-16 19:32:26 +01:00
Pasha Bibko
753c72c653 Inital commit 2025-04-16 15:27:43 +01:00