Commit graph

15 commits

Author SHA1 Message Date
b967aa6768
Implement "set" function in the stdlib 2024-09-18 19:53:12 +01:00
6ff2084d09
Increment pc register before doing function call, not after return 2024-09-16 22:27:24 +01:00
1733b0e433
Fix stdlib value returns 2024-09-15 20:09:11 +01:00
049aeef62f
Implement a map function that works on lists 2024-09-15 16:21:58 +01:00
06149c3d61
Make stdlib functions use normal VM stack for parameter passing 2024-09-15 15:39:12 +01:00
d280c34e66
Make errors in REPL more human-readable 2024-09-11 01:35:38 +01:00
2bad87d0b0
Implement "size" function in stdlib 2024-09-10 03:18:00 +01:00
021f645fbf
Extract a common interface for Value::size() to get object sizes 2024-09-10 02:12:49 +01:00
aa1d8d7fa9
Expose the source location class to the compiler/vm 2024-09-05 23:22:45 +01:00
09693768f8
Implement input of dicts and arrays in REPL 2024-09-01 23:02:21 +01:00
8816c62a9e
Allow creating arrays from code 2024-09-01 16:13:28 +01:00
2e62a67490
Implement "let" construct in the compiler 2024-08-28 23:57:01 +01:00
f78b6e67cd
Allow creating dicts with "dict" function 2024-08-28 21:51:25 +01:00
781b3865c0
Add assert function to stdlib. Useful for tests 2024-08-27 20:19:47 +01:00
c7a3e820e0
Implement basic stdlib and a simple "println" function callable from lisp 2024-08-25 00:55:11 +01:00