ESM Imports

pull/79/head
Edaz 3 years ago committed by GitHub
parent badcf30386
commit c0e27baa1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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));';

Loading…
Cancel
Save