Commit Graph

225 Commits

Author SHA1 Message Date
9bc5cac2c2 Merge pull request #4 from dbidwell94/logic_expressions
Logic expressions
2025-11-25 01:48:10 -07:00
81f412453b continue statements now working 2025-11-25 01:47:49 -07:00
05b16d59a4 loops 2025-11-25 01:30:12 -07:00
b5bf9a94a6 Working logic and if / else / else if statements 2025-11-25 01:22:54 -07:00
31ca798e55 Add support for the 'while' keyword 2025-11-25 00:49:12 -07:00
dd433e1746 Basic support for logical expressions 2025-11-25 00:26:17 -07:00
4e87b57961 Merge pull request #3 from dbidwell94/compiler-v2-refactor
Compiler v2 refactor
2025-11-24 23:57:12 -07:00
543ec5532a rename v2 -> v1 2025-11-24 23:56:49 -07:00
30b67fec54 compiler now on par with where it was in the v1 version 2025-11-24 23:55:33 -07:00
37d5643615 Added support for the mod operator 2025-11-24 22:53:00 -07:00
56f0e292b7 wip -- still working on binary expressions 2025-11-24 22:13:49 -07:00
ae8199fa8c Somewhat working binary expressions 2025-11-24 22:03:50 -07:00
c019b093d2 wip 2025-11-24 16:52:59 -07:00
ad9178bc31 Change return values of compiler functions to return optional variableLocations 2025-11-24 00:37:35 -07:00
b3c64a8e17 Added loadBatch and loadBatchNamed to the parser 2025-11-23 00:24:15 -07:00
92c1047ef8 Various parser fixes 2025-11-23 00:10:48 -07:00
c3adcf57f5 More support for negative numbers 2025-11-22 23:02:49 -07:00
6e7e5ba9f1 Removed weirdly added '2' file 2025-11-22 22:44:59 -07:00
17089b53e1 emit negated declarations 2025-11-22 22:44:25 -07:00
1706698ffa basic support for return values 2025-11-22 20:53:49 -07:00
4f837ee974 Cleanup dead code 2025-11-22 20:18:56 -07:00
fd9964ea5a Add README.md 2025-11-22 17:54:06 -07:00
4703f9d24a Removed lots of dead code 2025-11-22 16:20:35 -07:00
0c4ebedacf moar tests 2025-11-22 13:49:39 -07:00
2ad1eef3e8 wip refactor 2025-11-22 13:44:50 -07:00
df127af3d8 wip 2025-11-18 22:35:00 -07:00
e068539ea1 Extraction of function arguments from stack 2025-11-18 19:36:08 -07:00
4e6096fd3f Rename error variants 2025-11-18 18:30:56 -07:00
5a78e25469 Fixed exponent expression not being in right-first order of operations 2025-11-17 21:20:32 -07:00
f0a3bbe739 Update build chain, more build tooling 2025-11-17 15:28:11 -07:00
0687da9d99 Merge pull request #2 from dbidwell94/modularize
Modularize
2025-06-17 10:07:13 -07:00
006e3cdf02 wip 2025-06-17 10:06:55 -07:00
94dfd5ec83 wip 2025-06-16 15:32:04 -07:00
e32e941e14 break out the parser and compiler into their own libraries 2025-06-15 22:24:30 -07:00
8280d45366 update cargo dependencies 2025-06-15 22:12:58 -07:00
a28c70add7 wip 2025-06-12 21:22:58 -07:00
245567c354 workspace libs 2025-06-12 20:52:39 -07:00
0f7dd6fb1c wip 2025-03-17 11:12:25 -07:00
b7f72e7ea4 WIP - Syscalls. Binary expressions also not working all the time 2024-12-01 23:57:55 -07:00
8132241eb3 First pass with syscalls in the AST 2024-12-01 22:18:09 -07:00
bce9a55721 Auto convert temp units to kelvin before sending to the AST parser 2024-12-01 20:55:10 -07:00
4ec3278296 WIP - temperature literals 2024-12-01 20:33:54 -07:00
e56ff02742 changed gitignore 2024-12-01 18:46:26 -07:00
3902b5ca76 wip 2024-12-01 18:45:48 -07:00
548d826078 Add support for device declaration expressions 2024-11-29 19:57:44 -07:00
1e0f986cf1 wip 2024-11-29 09:16:39 -07:00
0bda3fb60d Function invocations working, stack unwinding correctly 2024-11-29 01:17:12 -07:00
2200df4977 compiler wip: 2024-11-29 00:11:59 -07:00
9aaaa2935f compiler wip 2024-11-27 21:36:17 -07:00
e06d2ed006 wip 2024-11-27 00:24:02 -07:00