UNPKG

@scinorandex/sparse

Version:

Yet another parser generator

10 lines (9 loc) 183 B
import { GrammarToken } from "src/grammarParser"; export type Result<T> = { success: true; value: T; } | { success: false; reason: string; token: GrammarToken; };