Files
DiceCloud/app/imports/parser
Stefan Zermatten 78cd8ffc8d Creatures are now cached in memory for computation
Also removed dependency group calculation because the optimisation isn't
as useful to reduce DB calls if the creature is in memory anyway
2022-05-11 13:30:33 +02:00
..
2021-10-09 12:36:06 +02:00
2021-10-09 12:36:06 +02:00

The grammer.js file is built separately from the rest of the build process to rebuild the grammar after changing grammar.ne:

make sure Nearley in installed

npm install -g nearley

compile

nearleyc grammar.ne -o grammar.js

To make this happen as part of the build process, a Meteor build plugin needs to created that can compile .ne files to .js and include them where ever they need to be imported.