Commit graph

18 commits

Author SHA1 Message Date
66502cac69
Implement enough of function call support to make "factorial" function 2024-08-24 00:28:29 +01:00
7a36787bd8
Initial support for compiling named functions 2024-08-23 22:08:02 +01:00
fdf38c71bf
Read and compile full toplevel multiline program 2024-08-18 22:08:47 +01:00
3a117c9b1f
Enable execution of primitive arithmetic bytecode 2024-08-13 01:11:23 +01:00
040eb540b1
Implement reading and writing from stack 2024-08-12 23:05:40 +01:00
f305901121
Return compiled function from the compile() 2024-08-11 21:37:37 +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
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
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
2f59b0ba12
First successful read and write 2024-07-29 00:14:30 +01:00
ba433dafe9
Implement basic writer 2024-07-28 17:54:04 +01:00