@hackage yapb0.2.2

Yet Another Parser Builder (YAPB)

YAPB: Yet Another Parser Builder

A programmable parser builder system

  • Allows to write LALR(1) parser specifications in Haskell
  • Provides an automatic syntax completion method

Library, tools, and examples

  • yapb: a library for a programmable parser builder system
  • yapb-exe: a wrapper interface to YAPB
  • conv-exe: a grammar format utility for conversion of a readable grammar (.lgrm) format into the Haskell data format (.grm)
  • Examples:
    • parser-exe: an arithmetic parser
    • syncomp-exe: a syntax completion server for Emacs

Download, build, and test

  $ git clone https://github.com/kwanghoon/yapb
  $ cd yapb
  $ stack build
  $ stack test

Tutorial

Reference