about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 2494Kartik K. Agaram2015-11-289-24/+39
| | | | | Some more structure to transforms, and flattening of dependencies between them.
* 2493 - eliminate a couple of dependenciesKartik K. Agaram2015-11-283-5/+5
| | | | | | | In general you only want to specify one transform in terms of (before/after) another if the other direction wouldn't work. Otherwise try to make it work by just pushing transforms at the start/end of the list.
* 2492 - summarize current transformsKartik K. Agaram2015-11-281-0/+23
|
* 2491Kartik K. Agaram2015-11-281-2/+12
|
* 2490Kartik K. Agaram2015-11-281-1/+1
|
* 2489 - another ambiguous specializationKartik K. Agaram2015-11-281-5/+49
|
* 2488 - fix memory leaks from 2484Kartik K. Agaram2015-11-282-2/+0
|
* 2487Kartik K. Agaram2015-11-272-32/+17
| | | | | | | | | | | | | | | Ok, now I'm a little happier about our type checking. Type checking lies in three layers: layer 21: checking types, usually at run-time in the VM or just before layer 57: checking type names layer 59: checking type names It's taken me the process of writing this commit to convince myself that all three layers check mappings for literal values in a consistent manner. Layer 21 uses sizes, and layers 57/59 have whitelists, but either way the goal is that number != character != boolean unless mediated through a literal.
* 2486Kartik K. Agaram2015-11-272-15/+14
| | | | | More cleanup. Haven't bothered to figure out why the trace for specialize_with_literal_4 is repeatedly perturbed.
* 2485Kartik K. Agaram2015-11-271-2/+0
|
* 2484Kartik K. Agaram2015-11-274-38/+23
| | | | | Eliminate one of several hacky type-check helpers; they've been proliferating lately.
* 2483 - to-text can now handle listsKartik K. Agaram2015-11-277-19/+148
| | | | | 'append' also implicitly calls 'to-text' unless there's a better variant.
* 2482 - better choice between valid variantsKartik K. Agaram2015-11-273-5/+38
| | | | Literal '0' ingredients should map to numbers before addresses.
* 2481Kartik K. Agaram2015-11-271-2/+1
|
* 2480Kartik K. Agaram2015-11-272-6/+13
| | | | | | | A long-standing question resolved: why specializations sometimes skipped some names. Turns out cleanup is incomplete if Recipe_ordinal and Recipe aren't exactly lined up with each other, and the early exit in new_variant was breaking that constraint.
* 2479 - bugfix: recursive shape-shifting recipesKartik K. Agaram2015-11-271-6/+24
|
* 2478Kartik K. Agaram2015-11-272-4/+4
|
* 2477Kartik K. Agaram2015-11-274-10/+9
|
* 2476Kartik K. Agaram2015-11-274-13/+13
|
* 2475 - allow addresses to be converted to numbersKartik K. Agaram2015-11-275-13/+32
| | | | It's just the other direction we want to avoid.
* 2474 - overload 'copy' and 'equal' for textKartik K. Agaram2015-11-224-18/+16
| | | | 2473 was the final bugfix holding this back.
* 2473 - bad idea to use /raw with multiple intentionsKartik K. Agaram2015-11-2210-30/+34
| | | | | /raw is to express absolute addresses /unsafe is to sidestep type-checking in test setup
* 2472Kartik K. Agaram2015-11-222-14/+0
|
* 2471Kartik K. Agaram2015-11-222-8/+0
|
* 2470 - allow overloading primitive operationsKartik K. Agaram2015-11-221-3/+28
| | | | | | | | | This turned out to be surprisingly easy: rather than try to specify the types expected by each operation, just have primitive instructions go through any other variants and only remain unnamed if no variants pass. All I had to do was stop using contains_key() anywhere on Recipe_variants, so that I could use get_or_insert() rather than get().
* 2469 - start logging all warnings againKartik K. Agaram2015-11-211-4/+2
| | | | | | | | | Since we switched to end() for terminating trace lines, there's a lot less reason to avoid this. We don't nest trace statements either anymore. I'd like to not hide warnings and still be able to make assertions on their absence so that printed warnings also express as failed tests.
* 2468 - overload print-character as just 'print'Kartik K. Agaram2015-11-2119-103/+103
|
* 2467 - rename 'string' to 'text' everywhereKartik K. Agaram2015-11-2118-152/+153
| | | | | | | | 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.
* 2466 - eliminate ':string' from scenariosKartik K. Agaram2015-11-215-37/+40
|
* 2465 - improve an error messageKartik K. Agaram2015-11-201-4/+4
| | | | Thanks Caleb Couch.
* 2464: edit/: update errors in shape-shifting recipesKartik K. Agaram2015-11-193-2/+81
| | | | | Requires carefully deleting specializations so that they can be reintroduced each time.
* 2463 - make edit/ robust to errors in client codeKartik K. Agaram2015-11-192-33/+38
|
* 2461Kartik K. Agaram2015-11-191-4/+2
|
* 2460 - headers for remaining recipesKartik K. Agaram2015-11-189-387/+283
|
* 2459Kartik K. Agaram2015-11-182-10/+12
|
* 2458 - edit/: recipe side free of sandbox errorsKartik K. Agaram2015-11-184-2/+48
| | | | | | | | | This is happening because of our recent generic changes, which trigger some post-processing transforms on all recipes even if we processed them before. We could clear 'interactive' inside 'reload' to avoid this, but random 'run' blocks in scenarios can still pick up errors from sandboxes earlier in a scenario. The right place to clear the 'interactive' recipe is right after we use it, in run_code_end().
* 2457Kartik K. Agaram2015-11-173-11/+6
|
* 2456Kartik K. Agaram2015-11-172-4/+27
|
* 2455 - first fix of another batch of crashesKartik K. Agaram2015-11-171-14/+37
|
* 2454Kartik K. Agaram2015-11-1710-29/+36
| | | | | | Another gotcha uncovered in the process of sorting out the previous commit: I keep using eof() but forgetting that there are two other states an istream can get into. Just never use eof().
* 2453 - bugfix: trailing space after curly bracketKartik K. Agaram2015-11-171-3/+9
| | | | | | | I ran into this when edit/ couldn't handle spaces after curly brackets, even though .mu files could. Turns out edit/ loads code using istringstreams rather than ifstreams, and you can't putback a different character than you read from an istringstream. Craptastic gotcha..
* 2452Kartik K. Agaram2015-11-162-11/+11
|
* 2451 - drop zoom/maximize featureKartik K. Agaram2015-11-151-125/+0
| | | | | | | | | I notice that it isn't working perfectly; after maximize/unmaximize the editor stops wrapping text, like it still thinks the editor is maximized. We don't even use this feature anymore, do we? Just delete it rather than bother debugging.
* 2450 - another pesky bugKartik K. Agaram2015-11-152-0/+23
|
* 2449Kartik K. Agaram2015-11-151-0/+1
|
* 2448Kartik K. Agaram2015-11-151-0/+2
|
* 2447Kartik K. Agaram2015-11-1517-313/+523
|
* 2446 - drop '-duplex' namespacing in recipesKartik K. Agaram2015-11-1513-308/+308
| | | | Great that it just worked after the previous commit.
* 2445 - dispatch between shape-shifting variantsKartik K. Agaram2015-11-155-10/+115
| | | | | Starting to leave debug prints around once again, just in case one of them is worth promoting to the trace..
* 2444Kartik K. Agaram2015-11-152-2/+21
| | | | Yet another bugfix as I trace through the last session with Caleb.