pull/79/merge
Edaz 3 years ago committed by GitHub
commit 159024b9d7
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.js';
import assert from 'assert/strict';
const input = '(add 2 (subtract 4 2))';
const output = 'add(2, subtract(4, 2));';

@ -1,5 +1,3 @@
'use strict';
/**
* TTTTTTTTTTTTTTTTTTTTTTTHHHHHHHHH HHHHHHHHHEEEEEEEEEEEEEEEEEEEEEE
* T:::::::::::::::::::::TH:::::::H H:::::::HE::::::::::::::::::::E
@ -1043,7 +1041,7 @@ function compiler(input) {
*/
// Now I'm just exporting everything...
module.exports = {
export {
tokenizer,
parser,
traverser,

Loading…
Cancel
Save