Skip to content

Milestone 1

VladD2 edited this page Apr 2, 2016 · 2 revisions

This milestone is completed

Parser

The goal of this phase is to build a structured text recognition framework, a little bit like ANTLR, but with extensible grammars.

Core parsing technology (milestone 1)

  • Grammar syntax
  • Extensible parser
  • Error messages
  • Error recovering
  • Automatic Parse Tree (PT) generation
  • Quasiquotation (constructing and matching a code by patterns)
  • Serializing PT back to document
    • PrettyPrint based on marker tegs in grammar
    • HTML PrettyPrint
    • ToString based on PrettyPrint
  • Testing framework
  • Documentation, samples, SDK

IDE support

  • Syntax highlighting (coloring)
  • Outlining (aka folding)
  • Parse errors highlighting and error list
  • Matching constructs (braces, etc)

Language Grammars

  • Nitra (bootstrapping)
  • C#
  • JSON
  • URI
  • Markdown like syntax

Completing this phase means we can do the following:

  • Express language grammar in a concise form, without heavy-lifting on complexities of EBNF and such.
  • Generate fast parser and PT builder