UNPKG

thaw-grammar

Version:

Implementations of the grammars of several programming languages, including LISP, Scheme, Prolog, and the Lambda Calculus.

9 lines 494 B
import { GrammarSymbol, IToken, SemanticStackType } from 'thaw-interpreter-types'; import { GrammarBase } from 'thaw-interpreter-core'; export declare class Chapter1Grammar extends GrammarBase { constructor(); get languageName(): string; executeSemanticAction(semanticStack: SemanticStackType, action: string): void; pushTokenOntoSemanticStack(semanticStack: SemanticStackType, tokenAsSymbol: GrammarSymbol, token: IToken): void; } //# sourceMappingURL=chapter1-grammar.d.ts.map