Commit Graph

16 Commits

Author SHA1 Message Date
Kartik K. Agaram
d17e8291ef 20 - relative addressing for jumps 2014-07-11 22:28:51 -07:00
Kartik K. Agaram
368e76cdf6 19 - example function with type-based dispatch
I imagined we could just push new clauses at the top, but that isn't realistic;
it would mess up all the jump locations.
Either we need to append clauses, or we need some sort of relative adddressing
for locations. Can't think of a third idea at the moment.
Appending clauses is fine as long as functions are restrictive about what they
accept.
2014-07-11 22:26:19 -07:00
Kartik K. Agaram
aa0ce16f8b 17 2014-07-11 21:55:26 -07:00
Kartik K. Agaram
b83c85c8a4 16 - conditional and unconditional jumps 2014-07-11 21:29:43 -07:00
Kartik K. Agaram
77f8e6cd25 15 2014-07-11 21:22:32 -07:00
Kartik K. Agaram
6264ac68cf 12 - more arithmetic ops 2014-07-11 21:04:38 -07:00
Kartik K. Agaram
f4bc8c3148 11 - enhance the language with types
The types aren't actually used yet. That comes later.
2014-07-10 22:08:08 -07:00
Kartik K. Agaram
a032f3e898 9 - rename 'return' to 'reply' 2014-07-06 20:13:15 -07:00
Kartik K. Agaram
40f0a658f0 7 2014-07-06 02:35:45 -07:00
Kartik K. Agaram
ceb4710530 6 - compound functions now return values 2014-07-06 02:34:03 -07:00
Kartik K. Agaram
4363daba1f 5 - compound functions now take args 2014-07-06 02:20:14 -07:00
Kartik K. Agaram
52cbb73992 4 - output args now optional 2014-07-06 02:06:42 -07:00
Kartik K. Agaram
8fafaf8982 3 - early return 2014-07-06 01:57:47 -07:00
Kartik K. Agaram
a1fe0ff3c7 2 - compound functions 2014-07-06 01:54:09 -07:00
Kartik K. Agaram
c72d831021 1 2014-07-06 01:44:32 -07:00
Kartik K. Agaram
e74ff41321 0 2014-07-06 00:07:03 -07:00