Commit graph

139 commits

Author SHA1 Message Date
8a50f99340
Reduce number of opcodes required for addition 2024-08-11 12:37:00 +01:00
74bff1a4c4
Implement writing of opcodes 2024-08-11 02:25:44 +01:00
3cb4869ed5
First proper code generation for addition 2024-08-10 21:47:07 +01:00
a195b8d0e3
More const qualifiers added 2024-08-10 18:56:42 +01:00
f1fd15171c
Add const qualifiers where necessary 2024-08-10 18:46:20 +01:00
db6ff8deba
Add "Opcode" type 2024-08-10 18:24:16 +01:00
935c629460
Add error location reporting 2024-08-10 11:17:20 +01:00
4c7b44ff01
Stop passing arena explicitly 2024-08-09 23:45:06 +01:00
b40f835bfb
Simplify the handling of OffPtr 2024-08-06 20:32:55 +01:00
92f546107e
Add compiler context 2024-08-04 20:38:56 +01:00
0924692d4b
Fix the name of symbol test 2024-08-04 01:03:34 +01:00
ae6f86e4f7
Add symbol comparison and test for it 2024-08-04 01:03:01 +01:00
7bcd6afeb2
Add simple array test 2024-08-04 00:33:17 +01:00
91280bc5aa
Add README.md 2024-08-04 00:01:46 +01:00
b0166cc7da
Add test for dictionary "get()" 2024-08-03 18:53:14 +01:00
a52e4d278c
Add empty dict test 2024-08-03 16:02:09 +01:00
07e2b44657
Reading back dicts 2024-08-03 13:43:59 +01:00
1f14624664
Garbage-collect dictionaries properly 2024-08-03 02:54:53 +01:00
737dc03054
Cleaner test setup 2024-08-02 23:27:36 +01:00
216fb486cd
Dictionary writing + insert 2024-08-01 22:45:16 +01:00
a3724e1c78
Add dicts and super primitive test suite 2024-08-01 18:56:38 +01:00
42a5b7da2b
Add arrays and boilerplate for the compiler 2024-07-30 23:52:23 +01:00
6e662ad6c4
Remove some of the commented out code 2024-07-30 22:57:03 +01:00
f87822933a
Make garbage collection work 2024-07-30 00:14:09 +01:00
426d3d7029
Add ASAN poisoning to the arena 2024-07-29 20:34:00 +01:00
2f59b0ba12
First successful read and write 2024-07-29 00:14:30 +01:00
4718780d9d
Make writer actually print something
This also fixes some of the GcRoot bugs
2024-07-28 23:37:43 +01:00
ba433dafe9
Implement basic writer 2024-07-28 17:54:04 +01:00
220adaace9
Add utf-8 conversion from string to byte array 2024-07-28 16:40:52 +01:00
cdcd111fb2
Add byte arrays 2024-07-28 15:42:18 +01:00
1c2f272c1d
Implement most of the reader 2024-07-27 23:13:59 +01:00
110a7c8433
Implement reading lists and bools 2024-07-27 19:40:13 +01:00
46381cccef
Beginnings of a reader 2024-07-27 16:25:44 +01:00
ded19f7962
Fix a few bugs with GC roots 2024-07-27 01:01:38 +01:00
db91d830af
Fix some of the Value initializations 2024-07-26 20:20:13 +01:00
7a6bdc8aad
Use GC roots in primitive types 2024-07-26 19:32:27 +01:00
5ca7630c8c
Make a simple gc root actually work 2024-07-20 22:56:45 +01:00
baa10bb56b
Initial implementation of arena with gc roots 2024-07-20 22:42:49 +01:00
8ff01726cc
Initial commit - add basic boilerplate for POD types 2024-07-19 02:29:30 +01:00