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)

Project Activity

See All Activity >

License

BSD License

Follow Dapar

Dapar Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Dapar!

Additional Project Details

Operating Systems

Linux, BSD, Windows

Intended Audience

Developers

Programming Language

C

Related Categories

C Software Development Software, C Compilers, C Interpreters, C XML Parsers

Registered

2011-11-29