yapb: Yet Another Parser Builder (YAPB)

[ bsd3, library, parser-builder, program ] [ Propose Tags ]

A programmable LALR(1) parser builder system. Please see the README on GitHub at https://github.com/kwanghoon/yapb#readme


[Skip to Readme]
Versions [faq] 0.1.0, 0.1.1
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), bytestring (>=0.10.8 && <0.11), directory (>=1.3.3 && <1.4), hashable (>=1.3.0 && <1.4), network (>=3.1.1 && <3.2), process (>=1.6.5 && <1.7), regex-tdfa (>=1.3.1 && <1.4), yapb [details]
License BSD-3-Clause
Copyright 2020 Kwanghoon Choi
Author Kwanghoon Choi
Maintainer lazyswamp@gmail.com
Category parser builder
Home page https://github.com/kwanghoon/yapb#readme
Bug tracker https://github.com/kwanghoon/yapb/issues
Source repo head: git clone https://github.com/kwanghoon/yapb
Uploaded by lazyswamp at 2020-07-30T11:02:36Z
Distributions NixOS:0.1.0
Executables yapb-exe, syncomp-exe, parser-exe, conv-exe
Downloads 78 total (45 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-07-30 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for yapb-0.1.1

[back to package description]

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
    • (polyrpc)[https://github.com/kwanghoon/polyrpc]: a polyrpc programming language system including a parser, a poly rpc type checker, a slicing compiler, a poly cs type checker, and a poly cs interpter.

Download and build

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

Tutorial

Reference