Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > [ANN] Parsing Tutorial and YARD 1.0: A C++ Parsing Framework

Thread Tools

[ANN] Parsing Tutorial and YARD 1.0: A C++ Parsing Framework

Christopher Diggins
Posts: n/a
Version 1.0 of the YARD parsing framework for C++ was posted to
SourceForge recently (
) along with a tutorial, written with the help of Max Lybbert,
introducing the topic of parsing programming languages and basic usage
of YARD (

The YARD framework constructs efficient recursive-descent parsers at
compile-time using template meta-programming. YARD grammars are
expressed as PEG (parsing expression grammar) grammars expressed using
C++ templates, in a form resembling an extended BNF (Backus-Naur
form). Parsers constructed using YARD combine lexing and parsing
phases, and can automatically generation abstract syntax trees,
without requiring a separate code-generation phase.

The YARD framework has been under development on and off for three
years and has spawned other related projects (e.g. the Biscuit parsing
library, ). YARD has
been used in commercial tools (
antenna/linux/ReadMe.txt) and various open-source projects (e.g. YARD is designed to be less of an end-to-
end parsing solution, but an open-ended framework that can be easily
extended and modified to fit a user's particular needs.

The YARD library is public domain (
) but for those who require a release with a specific open-source
license, can request one on the discussion group ( ).

Christopher Diggins

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] Parsing Tutorial and YARD 1.0: A C++ Parsing Framework Christopher Diggins C++ 0 07-09-2007 08:58 PM
New releases: Stomp The Yard, Night At The Museum & Catch And Release: Updated complete downloadable R1 DVD DB & info lists Doug MacLean DVD Video 1 02-27-2007 12:46 PM
DVD Verdict reviews: THE LONGEST YARD (1974): LOCKDOWN EDITION and more! DVD Verdict DVD Video 0 05-10-2005 08:13 AM
[ANN] YARD Parsing Library version 0.4 christopher diggins C++ 0 03-28-2005 09:41 PM
[ANN] YARD Parsing Library Release 2.1 at christopher diggins C++ 2 03-02-2005 08:51 PM