Scott Richmond
|
80eb81c6a8
|
things and stuff
|
2025-06-25 17:43:30 -04:00 |
|
Scott Richmond
|
3e84aa3f14
|
run is now String -> String, outputting a json result
|
2025-06-25 15:41:30 -04:00 |
|
Scott Richmond
|
d9f0b44bed
|
so many things: DRY out VM, fix repeat tail calls, etc.
|
2025-06-24 15:50:02 -04:00 |
|
Scott Richmond
|
987cc172c1
|
moar debugging: find issues with upvalues
|
2025-06-23 18:59:12 -04:00 |
|
Scott Richmond
|
86de66c4d2
|
keep grinding; quality of life improvements to aid in grinding
|
2025-06-22 17:03:50 -04:00 |
|
Scott Richmond
|
2f60de79a2
|
keep grinding on loop/recur/jif stack mismatch; add ast->code printer
|
2025-06-22 14:04:43 -04:00 |
|
Scott Richmond
|
25a0c62dcf
|
lots of bugs fixed--upvalues, bindings, stack manipulations, tail calls, etc.
|
2025-06-21 22:25:08 -04:00 |
|
Scott Richmond
|
ce11f1cd0f
|
start work on getting prelude working; discover closure bug
|
2025-06-21 17:43:47 -04:00 |
|
Scott Richmond
|
1af75bc516
|
fix upvalue resolution, start work on TCO
|
2025-06-19 20:29:15 -04:00 |
|
Scott Richmond
|
bf1e7e4072
|
rought draft of splatted fn args
|
2025-06-19 18:26:44 -04:00 |
|
Scott Richmond
|
ffe5d2ad61
|
panic on wrong number of args to functions
|
2025-06-18 16:47:53 -04:00 |
|
Scott Richmond
|
0347d10db7
|
first draft of complex string matching, discover jump mistake
|
2025-06-05 23:26:42 -04:00 |
|
Scott Richmond
|
f8adaa7971
|
first draft of partial application, is working in easy cases
|
2025-06-05 16:45:23 -04:00 |
|
Scott Richmond
|
dee9bcfc33
|
start work on partial application, fix/abstract binding resolution
|
2025-06-05 16:10:40 -04:00 |
|
Scott Richmond
|
2ce2e2c2d3
|
let as last expr in block now returns rhs; clean up some comment cruft
|
2025-06-04 18:27:17 -04:00 |
|
Scott Richmond
|
61b1b7bf90
|
closures work?!
|
2025-06-04 17:53:38 -04:00 |
|
Scott Richmond
|
fc245348b4
|
start pulling base fns into bytecode interpreter
|
2025-06-03 18:54:33 -04:00 |
|
Scott Richmond
|
86992078e9
|
keywords and interned strings use &'static str instead of indexes into vecs
|
2025-06-03 16:23:37 -04:00 |
|
Scott Richmond
|
cda217f6ef
|
add string interpolation
|
2025-05-30 11:44:32 -04:00 |
|
Scott Richmond
|
82ac6744ca
|
or and and are now reserved words
|
2025-05-28 16:37:25 -04:00 |
|
Scott Richmond
|
db7eb5965d
|
return register now an 8-member array
|
2025-05-26 09:16:47 -04:00 |
|
Scott Richmond
|
cfe0b83192
|
fix block compilation; compile & run repeat
|
2024-12-26 23:33:57 -05:00 |
|
Scott Richmond
|
4fa2ce5e78
|
separate compiler & chunk
|
2024-12-26 19:03:09 -05:00 |
|
Scott Richmond
|
40d4f48878
|
notes and comments
|
2024-12-26 18:41:54 -05:00 |
|
Scott Richmond
|
ef0ac40dbe
|
working & thinking
|
2024-12-24 12:35:44 -05:00 |
|
Scott Richmond
|
a4f12c8f7d
|
continue work on compiling functions
|
2024-12-23 10:55:28 -05:00 |
|
Scott Richmond
|
9f4e630544
|
get lifetime out of Chunk, thus out of Value
|
2024-12-22 19:51:02 -05:00 |
|
Scott Richmond
|
d943185db8
|
do lots of work
|
2024-12-22 19:07:42 -05:00 |
|
Scott Richmond
|
d4342b0623
|
get binding & pretty debugging working
|
2024-12-18 01:28:23 -05:00 |
|
Scott Richmond
|
35fc591c76
|
make some progress: atoms and ifs
|
2024-12-15 23:28:57 -05:00 |
|
Scott Richmond
|
eff2ed90d5
|
some simple bytecodes!
|
2024-12-15 17:54:40 -05:00 |
|
Scott Richmond
|
ac4bd0fb55
|
improve panic reports
|
2024-12-12 19:01:51 -05:00 |
|
Scott Richmond
|
273267f61d
|
a slow and brute-force approach to the problem of re-binding closed-over forward declarations
|
2024-12-12 01:19:39 -05:00 |
|
Scott Richmond
|
ecc7b26b66
|
process now uses spans, for to give panic locations
|
2024-12-11 18:58:59 -05:00 |
|
Scott Richmond
|
567d3da4be
|
get closing working?
|
2024-12-11 16:43:13 -05:00 |
|
Scott Richmond
|
f5a6facb1c
|
move patterns, clauses into AST
|
2024-12-10 22:26:52 -05:00 |
|
Scott Richmond
|
d48a787447
|
all the work trying to write a validator
|
2024-12-10 16:44:52 -05:00 |
|
Scott Richmond
|
6ba05f31e6
|
finish fighting with lifetimes: string pattern matching works!
|
2024-12-07 23:56:19 -05:00 |
|
Scott Richmond
|
5e10a87cbc
|
keep adding to base, pull type function from value to base
|
2024-12-06 13:21:25 -05:00 |
|
Scott Richmond
|
af14eaee72
|
add some functions, base fns return values, not results
|
2024-12-04 20:19:41 -05:00 |
|
Scott Richmond
|
c3408a56c1
|
ensure inlined and allocated strings are equal
|
2024-12-04 19:13:25 -05:00 |
|
Scott Richmond
|
c9038fd8fb
|
complete string interpolation
|
2024-12-04 19:07:03 -05:00 |
|
Scott Richmond
|
c5c1717e57
|
add ref-counted string type
|
2024-12-04 15:03:09 -05:00 |
|
Scott Richmond
|
b8f040c6ce
|
get right with clippy
|
2024-11-21 20:00:49 -05:00 |
|
Scott Richmond
|
e4954678f0
|
start looking into memory layout
|
2024-11-21 18:50:13 -05:00 |
|
Scott Richmond
|
0cd170bd83
|
clean up most warnings
|
2024-11-21 17:10:50 -05:00 |
|
Scott Richmond
|
ad076622aa
|
interpret loop & recur
|
2024-11-21 17:02:54 -05:00 |
|
Scott Richmond
|
423f43b7fd
|
parse loop and recur
|
2024-11-21 16:57:52 -05:00 |
|
Scott Richmond
|
10bc2e9b0c
|
get base functions working
|
2024-11-14 21:30:42 -05:00 |
|
Scott Richmond
|
26ff15cae8
|
lots of work, need to fix cloning closures in base
|
2024-11-11 17:50:58 -05:00 |
|