nitcc_runtime

package nitcc_runtime
Runtime library required by parsers and lexers generated by nitcc

Concerns

  • nitcc_runtime: Runtime library required by parsers and lexers generated by nitcc
    • nitcc_runtime: Runtime library required by parsers and lexers generated by nitcc

nitcc_runtime::nitcc_runtime

module nitcc_runtime

Runtime library required by parsers and lexers generated by nitcc

Introduces
  • Parser: A abstract parser engine generated by nitcc
  • LRState: A state in a parser LR automaton generated by nitcc
  • LRGoto: A concrete production in a parser LR automation generated by nitcc
  • Lexer: A abstract lexer engine generated by nitcc
  • DFAState: A state in a lexer automaton generated by nitcc
  • Visitor: A abstract visitor on syntactic trees generated by nitcc
  • Node: A node of a syntactic tree
  • TestParser: All-in-one abstract class to test generated parsers on a given
  • TreePrinterVisitor: Print a node (using to_s) on a line and recustively each children indented (with two spaces)
  • NToken: A token produced by the lexer and used in a syntactic tree
  • Nodes: A hogeneous sequence of node, used to represent unbounded lists (and + modifier)
  • NProd: A production with a specific, named and statically typed children
  • Position: A position into a input stream
  • NEof: The special token for the end of stream
  • NError: A special token used to represent a parser or lexer error
  • NLexerError: A lexer error as a token for the unexpected characted
  • NParserError: A parser error linked to a unexpected token