KappaTools icon indicating copy to clipboard operation
KappaTools copied to clipboard

KaJaSim feature idea: perturbation builder

Open hmedina opened this issue 8 years ago • 0 comments

The kappa perturbation language is defined in the KaSim Manual. It would be useful to have a builder utility for such perturbations and modifications. An example could be a pop-up that constructs the proper statements using a series of drop-down menus and text fields, and inserts the correct kappa code into the file at the cursor's position. I.e.

condition to trigger: ""
repeated? [y|n] if "y" : condition to stop repetition ""
%mod: [condition to trigger] do [effect list drop down] ['filename' | 'var name'] [...]
if [flux | stories] : condition to stop tracking ""

For example, when one requests stories, this popup would insert both lines required for story tracking:

%mod: [T] >0 do $TRACK 'r' [true]
%mod: [T] >9 do $TRACK 'r' [false]

hmedina avatar May 05 '16 23:05 hmedina