Skip to content

Alpacius/Wraith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wraith

Coverage Status

Wraith is a simple parser combinator library (not monadic nor memoized) inspired by Boost.Spirit. It is not complete as Spirit but the fundamental operators are implemented.

Features

  • Basic operators - epsilon and failure for building high-level operators.
  • Lexical operators - token operator based on Perl regex.
  • Basic combinators - alternative, sequence and kleene star operators.
  • Semantic action support.
  • Combinators as overloaded perl operators - BNF-like usage.

TODO

  • Profile.
  • Non-greedy many for better performance.

Further work

  • First-class object parsing.

About

Parser Combinator in Perl.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages