From b478283e6f94388251bc90eccbfe435e50955c00 Mon Sep 17 00:00:00 2001 From: James Prevett Date: Fri, 13 Dec 2024 19:42:09 -0600 Subject: [PATCH] Organized inputs --- scripts/bnf.js | 2 +- test/asm.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/bnf.js b/scripts/bnf.js index 304b8bc..0fef8d0 100755 --- a/scripts/bnf.js +++ b/scripts/bnf.js @@ -1,8 +1,8 @@ #!/usr/bin/env node import { readFileSync, writeFileSync } from 'node:fs'; import { inspect, parseArgs } from 'node:util'; -import { stringifyNode } from '../dist/parser.js'; import * as bnf from '../dist/bnf.js'; +import { stringifyNode } from '../dist/parser.js'; const { positionals: [input], diff --git a/test/asm.ts b/test/asm.ts index ab3243f..030e6da 100644 --- a/test/asm.ts +++ b/test/asm.ts @@ -1,8 +1,7 @@ -import { readFileSync, writeFileSync } from 'node:fs'; +import { readFileSync } from 'node:fs'; import { parseArgs } from 'node:util'; import type { NodeDefinition } from '../src/parser'; import { parse, stringifyNode } from '../src/parser'; -import { tokenize } from '../src/tokens'; const { positionals: [input],