about summary refs log tree commit diff stats
path: root/028call_reply.cc
Commit message (Collapse)AuthorAgeFilesLines
* 3136Kartik K. Agaram2016-07-221-2/+0
|
* 3133Kartik K. Agaram2016-07-221-1/+1
| | | | Don't die if an instruction accidentally has too many products.
* 2990Kartik K. Agaram2016-05-201-7/+7
| | | | | | | | | | Standardize quotes around reagents in error messages. I'm still sure there's issues. For example, the messages when type-checking 'copy'. I'm not putting quotes around them because in layer 60 I end up creating dilated reagents, and then it's a bit much to have quotes and (two kinds of) brackets. But I'm sure I'm doing that somewhere..
* 2931 - be explicit about making copiesKartik K. Agaram2016-05-061-2/+2
|
* 2874Kartik K. Agaram2016-04-271-11/+11
| | | | | | Be more consistent that 'return' is the name of the instruction, and 'reply' just a synonym. Maybe I should take it out. It wouldn't affect the recipe/ingredient terminology while I teach..
* 2873 - fix a bug in converting conditional returnsKartik K. Agaram2016-04-271-70/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was an interaction between two transforms. The first turned: return-if ... into: jump-unless ..., 1:offset # skip next instruction return ... The second added an unconditional return at the end of the recipe if it didn't already exist (so that functions always end with a return). However, it was getting confused by the return instructions generated above, which look unconditional but sometimes get skipped. To fix this, conditional returns are now transformed into this: { break-unless ... return ... } Since the final instruction is now no longer a reply (but rather the '}' label), the second transform triggers and adds the unconditional return after it. This commit removes the final place marked 'BUG:' in the codebase yesterday (see commit 2870).
* 2862Kartik K. Agaram2016-04-241-0/+230
Layers 0-29 are now a complete rudimentary platform except for pointers and indirection.