Commit Graph

8185 Commits

Author SHA1 Message Date
Kartik K. Agaram 29c2f5a398 4 - better name for loadi (thanks FMoS VI) 2014-07-26 12:27:47 -07:00
Kartik K. Agaram 1b9ca7b4d7 3 - don't rely too much on arc
I'm dismissing symbols as 'a simple matter of assembling'.
2014-07-26 12:26:43 -07:00
Kartik K. Agaram b163764948 2 - use literal syms instead of type codes 2014-07-26 12:25:40 -07:00
Kartik K. Agaram be34290180 31 - verified that continue generates correct code 2014-07-20 01:34:35 -07:00
Kartik K. Agaram 4e5cff3d4a 30 2014-07-18 19:08:38 -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 6134f36da8 24 2014-07-17 07:04:45 -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 baccb5d569 18 - 'read' renamed to 'arg' and can take an index 2014-07-11 21:58:33 -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 ff8b3afd09 14 - processor model now has a program counter 2014-07-11 21:13:26 -07:00
Kartik K. Agaram d00338ee4a 13 2014-07-11 21:04:43 -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 f9ff24be5a 10 2014-07-09 23:30:09 -07:00
Kartik K. Agaram a032f3e898 9 - rename 'return' to 'reply' 2014-07-06 20:13:15 -07:00
Kartik K. Agaram f4a6518ef7 8 2014-07-06 18:49:53 -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