about summary refs log tree commit diff stats
path: root/081print.mu
Commit message (Collapse)AuthorAgeFilesLines
* 2600 - teach 'print' about addressesKartik K. Agaram2016-01-231-0/+20
| | | | Unfortunate that our type system requires this to be explicit..
* 2586 - show first sandbox with error in statusKartik K. Agaram2016-01-221-0/+1
|
* 2585 - label sandboxes with a numberKartik K. Agaram2016-01-221-1/+13
| | | | | | | | | It also seems useful that the number maps to the name of the file the sandbox is saved in. However this mapping is currently a happy accident and not actually tested. I'm starting to switch gears and help make the editor useable with many many sandboxes. This is just the first step of several.
* 2576 - distinguish allocated addresses from othersKartik K. Agaram2016-01-191-92/+92
| | | | | | | | | | | | | | | | This is the one major refinement on the C programming model I'm planning to introduce in mu. Instead of Rust's menagerie of pointer types and static checking, I want to introduce just one new type, and use it to perform ref-counting at runtime. So far all we're doing is updating new's interface. The actual ref-counting implementation is next. One implication: I might sometimes need duplicate implementations for a recipe with allocated vs vanilla addresses of the same type. So far it seems I can get away with just always passing in allocated addresses; the situations when you want to pass an unallocated address to a recipe should be few and far between.
* 2559 - stop using 'next-ingredient' explicitlyKartik K. Agaram2016-01-121-1/+1
| | | | | I still need it in some situations because I have no way to set a non-zero default for an optional ingredient. Open question..
* 2548 - teach 'print' to print integersKartik K. Agaram2015-12-281-50/+76
| | | | | | | | | | Still can't print non-integer numbers, so this is a bit hacky. The big consequence is that you can't print literal characters anymore because of our rules about how we pick which variant to statically dispatch to. You have to save to a character variable first. Maybe I can add an annotation to literals..
* 2477Kartik K. Agaram2015-11-271-1/+1
|
* 2468 - overload print-character as just 'print'Kartik K. Agaram2015-11-211-28/+28
|
* 2467 - rename 'string' to 'text' everywhereKartik K. Agaram2015-11-211-5/+5
| | | | | | | | Not entirely happy with this. Maybe we'll find a better name. But at least it's an improvement. One part I *am* happy with is renaming string-replace to replace, string-append to append, etc. Overdue, now that we have static dispatch.
* 2460 - headers for remaining recipesKartik K. Agaram2015-11-181-133/+110
|
* 2430 - make room for more transformsKartik K. Agaram2015-11-131-0/+684