diff --git a/test.js b/test.js index 20d7c5f..6cab1b9 100755 --- a/test.js +++ b/test.js @@ -1,11 +1,11 @@ -const { +import { tokenizer, parser, transformer, codeGenerator, compiler, -} = require('./the-super-tiny-compiler'); -const assert = require('assert'); +} from './the-super-tiny-compiler.ja'; +import assert from 'assert/strict'; const input = '(add 2 (subtract 4 2))'; const output = 'add(2, subtract(4, 2));';