about summary refs log tree commit diff stats
path: root/translate
Commit message (Expand)AuthorAgeFilesLines
* start hacky experiment to support combining charsKartik K. Agaram2021-08-311-1/+13
* .Kartik K. Agaram2021-08-311-1/+1
* .Kartik K. Agaram2021-08-291-4/+4
* .Kartik K. Agaram2021-08-291-2/+2
* load Font in a non-contiguous area of memoryKartik K. Agaram2021-08-291-4/+17
* improve translation scriptsKartik K. Agaram2021-08-291-4/+19
* inline SubX translationKartik K. Agaram2021-08-291-2/+49
* reorganize font before adding non-ASCIIKartik K. Agaram2021-08-271-1/+1
* rename boot.hex to boot.subxKartik K. Agaram2021-03-141-1/+1
* treat boot.hex as a SubX fileKartik K. Agaram2021-03-141-1/+1
* 7842 - new directory organizationKartik K. Agaram2021-03-031-0/+8
* 5851Kartik Agaram2020-01-011-50/+0
* 5680Kartik Agaram2019-09-201-1/+4
* 5636Kartik Agaram2019-09-071-1/+2
* 5635Kartik Agaram2019-09-071-5/+9
* 5631 - syntax for calls starting to work!Kartik Agaram2019-09-061-1/+4
* 5619Kartik Agaram2019-09-041-0/+2
* 5594 - rename 'desugar' to 'sigils'Kartik Agaram2019-08-311-3/+3
* 5588 - always include desugar in buildKartik Agaram2019-08-251-1/+4
* 5585Kartik Agaram2019-08-251-5/+6
* 5584Kartik Agaram2019-08-251-1/+1
* 5512 - don't rebuild apps by defaultKartik Agaram2019-08-141-1/+1
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+33
ass="p">(101, "transform") << "--- compute instruction operations for recipe " << get(Recipe, r).name << end(); recipe& caller = get(Recipe, r); //? cerr << "--- compute instruction operations for recipe " << caller.name << '\n'; for (int index = 0; index < SIZE(caller.steps); ++index) { instruction& inst = caller.steps.at(index); if (inst.is_label) continue; if (!contains_key(Recipe_ordinal, inst.name)) { raise << maybe(caller.name) << "instruction '" << inst.name << "' has no recipe in '" << to_original_string(inst) << "'\n" << end(); continue; } inst.operation = get(Recipe_ordinal, inst.name); // End Instruction Operation Checks } } // hook to suppress inserting recipe name into errors string maybe(string recipe_name) { // End maybe(recipe_name) Special-cases return recipe_name + ": "; } void test_missing_arrow() { Hide_errors = true; transform( "def main [\n" " 1:number , copy 0\n" // typo: ',' instead of '<-' "]\n" ); CHECK_TRACE_CONTENTS( "error: main: instruction '1:number' has no recipe in '1:number copy, 0'\n" ); }