about summary refs log tree commit diff stats
path: root/apps
ModeNameSize
-rw-r--r--Readme.md97log stats plain blame
-rwxr-xr-xassort40134log stats plain blame
-rw-r--r--assort.subx43172log stats plain blame
-rwxr-xr-xcalls44884log stats plain blame
-rw-r--r--calls.subx57974log stats plain blame
-rwxr-xr-xcrenshaw2-133868log stats plain blame
-rw-r--r--crenshaw2-1.subx30107log stats plain blame
-rwxr-xr-xcrenshaw2-1b34427log stats plain blame
-rw-r--r--crenshaw2-1b.subx40426log stats plain blame
-rwxr-xr-xdquotes45338log stats plain blame
-rw-r--r--dquotes.subx122320log stats plain blame
-rwxr-xr-xfactorial32880log stats plain blame
-rw-r--r--factorial.subx5730log stats plain blame
-rwxr-xr-xhandle33734log stats plain blame
-rw-r--r--handle.subx22597log stats plain blame
-rwxr-xr-xhex42527log stats plain blame
-rw-r--r--hex.subx76095log stats plain blame
-rw-r--r--mulisp.subx3301log stats plain blame
-rwxr-xr-xpack52820log stats plain blame
-rw-r--r--pack.subx289245log stats plain blame
-rwxr-xr-xrandom23597log stats plain blame
-rw-r--r--random.subx2352log stats plain blame
-rwxr-xr-xsigils52847log stats plain blame
-rw-r--r--sigils.subx246958log stats plain blame
-rw-r--r--subx-common.subx107027log stats plain blame
-rwxr-xr-xsurvey49417log stats plain blame
-rw-r--r--.steps.at(i); if (recipes_taking_literal_strings.find(inst.name) == recipes_taking_literal_strings.end()) { for (int j = 0; j < SIZE(inst.ingredients); ++j) { if (!is_literal_text(inst.ingredients.at(j))) continue; instruction def; ostringstream ingredient_name; ingredient_name << inst.name << '_' << i << '_' << j << ":text"; def.name = "new"; def.ingredients.push_back(inst.ingredients.at(j)); def.products.push_back(reagent(ingredient_name.str())); new_instructions.push_back(def); inst.ingredients.at(j).clear(); // reclaim old memory inst.ingredients.at(j) = reagent(ingredient_name.str()); } } new_instructions.push_back(inst); } caller.steps.swap(new_instructions); } bool contains_numeric_locations(const recipe& caller) { for (int i = 0; i < SIZE(caller.steps); ++i) { const instruction& inst = caller.steps.at(i); for (int in = 0; in < SIZE(inst.ingredients); ++in) if (is_numeric_location(inst.ingredients.at(in))) return true; for (int out = 0; out < SIZE(inst.products); ++out) if (is_numeric_location(inst.products.at(out))) return true; } return false; }