[wip] Add grammar-level parser for Rockstar

This commit is contained in:
Nilay Majorwar
2022-02-13 19:21:32 +05:30
parent fb331e1194
commit a7b7879fb3
11 changed files with 7021 additions and 4 deletions

View File

@ -1,4 +1,13 @@
import { DocumentRange } from "../../types";
import { Line } from "../parser/grammar-types";
/** Type of props passed to renderer */
export type RS = {
value: number;
};
/** A single step of the Rockstar AST */
export type ASTStep = {
op: Line;
range: DocumentRange;
};