No description
lib | ||
analyze.js | ||
chain.js | ||
demo.js | ||
example.nv | ||
gen-conditional-match-check-funcs.js | ||
greek-salad.nv | ||
myteParse.js | ||
nova-analyze.js | ||
printNova.js | ||
README.md | ||
standalone.js |
Flow analysis for Nova. This repo is very rough right now, so here's a summary of what each file is:
- nova-analyze.js
- a cleaned up version of analyze.js useable as a library
- demo.js
- analysis demo using nova-analyze.js
- analyze.js
- the most up to date progress at the moment
- example.nv
- small, simple nova program for testing
- greek-salad.nv
- a more interesting nova program, courtesy of wryl
- myteParse.js
- uses myte's parser.js and compiler.js to parse nova into my ast format (i didn't want to write a parser)
- printNova.js
- utility library for printing an AST (aka. list of Rules and initial stacks) as valid Nova syntax
- gen-conditional-match-check-funcs.js
- experiment with generating functions to test if rules match (probably not worth it tbh), otherwise the same as analyze.js
- standalone.js
- an older version of the analyze.js code so I could have a standalone demo. out of date now tho
- chain.js
- oldest file so a bit unrelated, sketch of combining a "chain" of rules that trigger in sequence into a single rule
- this would be a compiler optimization