Letting us redefine functions, reactively
This commit is contained in:
parent
33f3b2cfc2
commit
60c8f74d50
4 changed files with 169 additions and 3 deletions
|
|
@ -22,6 +22,7 @@ try {
|
|||
const parser = new Parser(tokens, cgCode);
|
||||
const defs = parser.parse();
|
||||
const os = compileAndRun(defs);
|
||||
|
||||
runAppCompiled(
|
||||
{ init: os.init, update: os.update, view: os.view },
|
||||
canvas,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue