Began writing a custom parser for calculations

This commit is contained in:
Stefan Zermatten
2019-03-26 16:32:24 +02:00
parent 5bb5f047f4
commit ffa98d76fc
6 changed files with 268 additions and 0 deletions

14
parser/package.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "dicecloud-parser",
"version": "0.1.0",
"scripts": {
"build": "nearleyc grammar.ne -o grammar.js",
"test": "nearley-test grammar.js",
"unparse": "nearley-unparse grammar.js"
},
"author": "Stefan Zermatten",
"devDependencies": {
"moo": "^0.5.0",
"nearley": "^2.16.0"
}
}