Child pages
  • Use Cases
Skip to end of metadata
Go to start of metadata

Parsing

Language parsing

This is primary task, parsing text written by human.

  • Use in compilers
  • Use in IDEs
    • Language Service for Visual Studio
    • ReSharper
    • Sublime Text support (generated right from grammar)

Unix-style text streams

“Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface”. This the widely accepted Unix Philosophy.

from blog
Develop parsers for Mercurial output formats (or Git, or find something else)

  • Regular languages (Mercurial log output)
  • Composite languages (Mercurial commands output, embedding log)
  • Extensible languages (Mercurial with plugins)
  • ... add

Textual data transfers

Similar to parsing program text output, but could be bi-directional (e.g. JSON)

Partially structured languages

  • wiki markup
  • form extraction
  • ReSharper's tests - caret and highlighting markup

Specific languages

  • Flow-based programming, like Nile
  • No labels