Softpedia
 

MAC CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Reason 7.0.1 Build 3510
  • Apple iTunes 11.0.3
  • CrossOver Mac 12.2.1 Bu...
  • Skype 6.4.60.833
  • Mozilla Firefox 21.0 / ...
  • Skitch 2.5.2 Build 262792
  • Apple iMovie 9.0.9
  • Tunnelblick 3.2.9 / 3.3...
  • Sublime Text 2.0.1 Buil...
  • Avidemux 2.6.4
  • Home > Mac > Development > Libraries
     Report malware

    PEGTL 0.32

    Download button

    No screenshots available
    Downloads: 121  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Size / OS:

    Binary Format:

    Last Updated:

    Category:
    Colin Hirsch | More programs
    MIT License / FREE
    41 KB / Mac OS X
    -
    January 12th, 2013, 13:19 UTC [view history]
    Home / Development / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    PEGTL description

    A parsing expression grammar template library

    PEGTL (The Parsing Expression Grammar Template Library) is a C++0x library that allows for creating parsers according to a PEG (Parsing Expression Grammar).

    Grammars are embedded as regular C++ code, created with template programming (not template meta programming).

    These hierarchies naturally correspond to the inductive definition of PEGs. The library extends on the subject of PEGs with new expression types, actions that can be attached to grammar rules, and mechanisms to ensure helpful diagnostics in case of parsing errors.

    PEGs are superficially similar to Context-Free Grammars (CFGs); for a description see Wikipedia page on PEGs or this paper on PEGs by Bryan Ford.

    Detailed instructions on how to install and use the PEGTL utility on your Mac are available HERE.

    Here are some key features of "PEGTL":

    · Comprehensive set of parsing rules.
    · Grammars and actions embedded in C++.
    · C++ compiler-optimised parsing grammars.
    · Some generic actions, like sub-expression capturing.
    · Some trivial automatic optimisations, to be extended.
    · Diagnostics with readable printing of grammar rules.
    · Examples that show how to use the features of the library.

    User-defined input abstractions, supplied:
    · files via mmap(2),
    · strings (and files via strings),
    · ranges of forward iterators, and
    · input iterators w/automatic minimal buffering.

    User-defined debug abstractions, supplied:
    · 'full speed, bool result',
    · 'less speed, readable error messages',
    · 'try full-speed, re-parse w/less-speed on error',
    · plus optionally full trace of all invoked rules.

    User-defined logging abstractions, supplied:
    · simple logging to std::cerr.

    What's New in This Release: [ read full changelog ]

    · Removed superfluous includes ( issue 5 ).
    · Fixed bug in not_at rule regarding wrong propagation of errors ( issue 3 ).

     


    TAGS:

    Parsing Expression Grammar | Template Library | C++0x library | Parsing Expression | grammar | Template

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM