UNPKG

294 BJavaScriptView Raw
1import * as parser from "./grammar";
2import { tokenize } from "./tokenizer";
3export 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}
9export * from "@webassemblyjs/helper-numbers";
\No newline at end of file