Commit Graph

28 Commits

Author SHA1 Message Date
9f2c5ad9e3
Type check pointer dereferencing 2024-05-16 21:01:11 +02:00
68264016ce
Add scripts to build a toolchain for running VM tests 2024-05-14 22:09:05 +02:00
51fa3efc32
Run tests and check expectations in 2 loops 2024-05-05 01:52:08 +02:00
4d399e10db
Split result into symboltable and types 2024-05-01 10:39:18 +02:00
f48fae4878
Generate code for loops 2024-04-18 12:15:26 +02:00
159a3a4f38
Parse reference and dereference operators 2024-04-10 22:43:12 +02:00
60acf3b9a3
Parse pointer types 2024-04-07 23:39:56 +02:00
aa3df7f4d3
Tokenize the input with flex 2024-04-06 16:10:07 +02:00
4251c361c7
Implement comparison operators 2024-04-02 09:07:26 +02:00
3c19bf1504
Include the filename in the error messages 2024-03-30 00:21:58 +01:00
e04a816024
Support multiple function arguments 2024-03-29 11:01:19 +01:00
07521f2b58
Parse parameter list 2024-03-28 00:55:13 +01:00
44e32760ca
Support procedure calls without arguments 2024-03-26 23:04:20 +01:00
f2a20c2825
Support failure tests 2024-03-23 14:53:26 +01:00
7e5f7f492d Implement first intrinsics for output 2024-03-20 17:56:38 +01:00
263b868a45
Replace ! with a function call writei 2024-03-19 09:35:50 +01:00
bfabdb1d08
Write parts of generated code directly to objects 2024-03-18 09:55:25 +01:00
17b0650f77
Implement simple if conditions 2024-03-17 01:00:44 +01:00
8240443cd1
Assign variables 2024-03-14 08:52:45 +01:00
42d2038c4d
Support compound statements 2024-03-11 10:43:26 +01:00
1af995eafd
Implement division 2024-03-09 08:36:07 +01:00
4ac29669ad
Split code generation from the ui 2024-03-07 09:15:11 +01:00
f84fd91426
Get rid of the raw pointers in the parser 2024-03-06 07:51:56 +01:00
632dc53b53
Implement multiplication 2024-03-03 13:11:39 +01:00
223f54d38d
Remove the IR for know for simplicity 2024-03-01 10:13:55 +01:00
4d46fc6b4d
Print test summary 2024-02-28 16:18:39 +01:00
03a72fc583
Extend the tester to compile sources 2024-02-25 15:16:19 +01:00
ad29dbdc14
Create a minimal interactive shell 2024-02-22 21:29:25 +01:00