Skip to content

Commit ac8ab70

Browse files
committed
Add ece exports to index.ts
1 parent b672b81 commit ac8ab70

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/ec-evaluator/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import { RuntimeError } from "./errors";
55
import { evaluate } from "./interpreter";
66
import { Context, Error, Finished, Result } from "./types";
77

8+
export * from './components';
9+
export * from './errors';
10+
export * from './types';
11+
export { isInstr, isNode } from './utils';
12+
813
export const runECEvaluator = (
914
code: string,
1015
targetStep: number = STEP_LIMIT,

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import * as ECE from './ec-evaluator'
12
import * as JVM from './jvm'
23
import { typeCheck } from './types'
34
import { compile, compileFromSource} from './compiler'
45

5-
export { JVM, typeCheck, compile, compileFromSource }
6+
export { ECE, JVM, typeCheck, compile, compileFromSource }

0 commit comments

Comments
 (0)