Dapar is a universal parsing library written in C. It will interpret any grammar you give it in a BNF-like format, and constructs a matching expression tree for any given input. This makes developing a new parser for any language simple and reliable.
Includes an ABNF parser, EBNF parser, XML parser and algebraic math parser.
Features
- Small and portable (all C code)
- Understands ASCII, Unicode, UTF-8, and UTF-32 input
- Automatic ambiguity detection and debugging
- Implements a superset of all common BNF features found in EBNF, ABNF and W3-BNF
- Example parser for ABNF: Augmented BNF for Syntax Specifications (RFC 5234)
- Example parser for EBNF: Extended BNF (ISO 14977)
- Example parser for mathematics (simple and algebraic)
- Example parser for XML 1.0 (Fifth Edition)
License
BSD LicenseFollow Dapar
You Might Also Like
AlternativeSoft is the preferred choice for many of the globe's leading institutional investors, and this is not solely due to our consistent recognition with the Best Risk Management Software Awards (Hedgeweek 2017, 2019, 2020, 2021, 2022). Renowned for being an alternative investment analytics platform, our portfolio risk management software, and portfolio analysis tool cater to the needs of discerning investors, providing unparalleled capabilities in optimizing investment strategies and ensuring robust risk management practices.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Dapar!