You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 282B

123456789
  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. var ast = parser.parse(tokens, source);
  6. return ast;
  7. }
  8. export * from "./number-literals";