Assembly library started

This commit is contained in:
Jordi Baylina
2020-01-14 22:43:58 +01:00
parent da969a5e16
commit 63fd72cdc7
40 changed files with 8392 additions and 5 deletions

4
cli.js
View File

@@ -35,6 +35,7 @@ const argv = require("yargs")
.alias("c", "csource")
.alias("s", "sym")
.alias("r", "r1cs")
.alias("n", "newThreadTemplates")
.help("h")
.alias("h", "help")
.option("verbose", {
@@ -83,6 +84,9 @@ if (argv.r1cs) {
if (argv.sym) {
options.symWriteStream = fs.createWriteStream(symName);
}
if (argv.newThreadTemplates) {
options.newThreadTemplates = new RegExp(argv.newThreadTemplates);
}
compiler(fullFileName, options).then( () => {
let cSourceDone = false;