Howard Mao
|
8347a1b4bc
make source-file optionally included by ImportEval
|
9 年之前 |
cholland
|
9b1f3d5a84
refactor a bit so there is less duplicate code on parsing files
|
9 年之前 |
cholland
|
1a838a574c
support include at code gen time
|
9 年之前 |
cholland
|
b5cf8203fb
support source file
|
9 年之前 |
Howard Mao
|
c7fb4260d1
fix 'eval' function
|
9 年之前 |
Howard Mao
|
0b84b83d1f
keep a stack of stacks so scope hierarchy is correct
|
9 年之前 |
Chris Holland
|
0b30e6710d
Support closures, also ran go fmt on things
|
9 年之前 |
Howard Mao
|
0b5c52b64e
add AddGlobal method
|
10 年之前 |
Howard Mao
|
461aec3d71
add pre and post function hooks
|
10 年之前 |
Howard Mao
|
a53d21bbab
implement coroutines and channel support
|
10 年之前 |
Howard Mao
|
a4ae890067
fix issue in env Duplicate
|
10 年之前 |
Howard Mao
|
bbc793a80f
implement optional arguments
|
10 年之前 |
Howard Mao
|
a159767749
add a PrintStack method to datastack to aid debugging
|
10 年之前 |
Howard Mao
|
90e8b9a8e5
Main function instructions should not be copied in Duplicate env
|
10 年之前 |
Howard Mao
|
44eaf7496e
implement very basic macro system
|
10 年之前 |
Howard Mao
|
1f7f434a5b
fix Apply function per recommendation by chrhlnd
|
10 年之前 |
Howard Mao
|
e61fc9e2bc
experiment with changing intial stack size
|
10 年之前 |
Howard Mao
|
5c6fb6e82b
not all functions should be builtins
|
10 年之前 |
Howard Mao
|
6f392bd29e
rename ufunctions to builtins
|
10 年之前 |
Howard Mao
|
53b7feed6f
optimizations to make interpreter run faster
|
10 年之前 |
Howard Mao
|
ec5f1a05dd
return stack trace as a string instead of printing it
|
10 年之前 |
Howard Mao
|
8bda7fd1bf
fix formatting
|
10 年之前 |
Howard Mao
|
ab646362e5
Clear should get rid of all instructions in main
|
10 年之前 |
Howard Mao
|
bd59716b4e
add pop instruction if loading into env which hasn't reached end
|
10 年之前 |
Howard Mao
|
c3bad11d1f
make sure repl works right even after error
|
10 年之前 |
Howard Mao
|
c3c28ad312
change the behavior of Load* instructions to tack onto end
|
10 年之前 |
Howard Mao
|
789690694f
add apply function
|
10 年之前 |
Howard Mao
|
c2cf59f945
add a way to dump function disassembly
|
10 年之前 |
Howard Mao
|
74f97709d5
the great reformatting
|
10 年之前 |
Howard Mao
|
0adff12cf1
give anonymous functions distinct names
|
10 年之前 |