No description
Find a file
2025-08-04 17:48:28 -05:00
lib handle includes 2025-08-04 11:43:37 -05:00
analyze.js update analyze.js and add to printNova 2025-08-03 22:22:14 -05:00
chain.js repo start 2025-07-23 04:52:03 -05:00
demo.js handle includes 2025-08-04 11:43:37 -05:00
example.nv repo start 2025-07-23 04:52:03 -05:00
gen-conditional-match-check-funcs.js combined latest changes 2025-08-03 18:46:15 -05:00
greek-salad.nv first usable version, yay 2025-08-03 22:56:55 -05:00
myteParse.js comment out debugger statements 2025-08-04 17:06:22 -05:00
nova-analyze.js only propagate after all causes of a rule have been triggered 2025-08-04 17:48:28 -05:00
printNova.js update analyze.js and add to printNova 2025-08-03 22:22:14 -05:00
README.md first usable version, yay 2025-08-03 22:56:55 -05:00
standalone.js repo start 2025-07-23 04:52:03 -05:00

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