Skip to content

Commit

Permalink
ast
Browse files Browse the repository at this point in the history
  • Loading branch information
slince committed Dec 28, 2021
1 parent c8fc75e commit 66aa276
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default {
"/node_modules/",
"/dist/",
"/tests/",
"/scripts/",
],

// Indicates which provider should be used to instrument code for coverage
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
"lexer",
"parser",
"ast",
"eval",
"evaluator",
"expression",
"expression-language"
"expression-language",
"typescript"
],
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion eval.js → scripts/eval.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import {Evaluator} from "./dist/expression.mjs";
import {Evaluator} from "../dist/expression.mjs";


// const code = `!!+--a`;
Expand Down
4 changes: 2 additions & 2 deletions lexer.js → scripts/lexer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Lexer from "./src/lexer.js";
import Parser from "./src/parser.js";
import Lexer from "../src/lexer.js";
import Parser from "../src/parser.js";

const code = `
Expand Down

0 comments on commit 66aa276

Please sign in to comment.