Commit Graph

25 Commits

Author SHA1 Message Date
Kartik K. Agaram
be34290180 31 - verified that continue generates correct code 2014-07-20 01:34:35 -07:00
Kartik K. Agaram
c82603cafb 29 2014-07-18 19:04:43 -07:00
Kartik K. Agaram
b794da7fe9 28 - support 'continue'
We still haven't verified that the generated code is correct.
Also, time to fix that bug in arc's continue.
2014-07-17 09:21:27 -07:00
Kartik K. Agaram
6215fec225 27 - a simple assembler for turning else/break/continue into jumps 2014-07-17 09:03:47 -07:00
Kartik K. Agaram
8ccc6ebf0f 26 - cleanup tests 2014-07-17 08:16:54 -07:00
Kartik K. Agaram
72406d197b 25 2014-07-17 08:13:52 -07:00
Kartik K. Agaram
c8d7559adb 23 - more comparison ops 2014-07-13 21:27:23 -07:00
Kartik K. Agaram
96ebe1423b 22 - better org'n for fn clauses 2014-07-11 22:53:51 -07:00
Kartik K. Agaram
a5e757e1ab 21 - new boolean type 2014-07-11 22:50:55 -07:00
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