1 | import * as parser from "./grammar";
|
2 | import { tokenize } from "./tokenizer";
|
3 | export function parse(source) {
|
4 | var tokens = tokenize(source); // We pass the source here to show code frames
|
5 |
|
6 | var ast = parser.parse(tokens, source);
|
7 | return ast;
|
8 | }
|
9 | export * from "@webassemblyjs/helper-numbers"; |
\ | No newline at end of file |