Projects / Kouprey

Kouprey

Kouprey is a library that can be used to build and run parsers based on the Parsing Expression Grammar (PEG) formalism. It does not have any special requirements beyond standard ECMAScript/JavaScript, and can be used to parse arbitrarily complex languages inside a Web browser or other JavaScript runtime. It has been used to parse complex general purpose programming languages, and comes with numerous examples.

Tags
Licenses
Implementation

RSS Recent releases

  •  12 Oct 2009 02:28

Release Notes: A new parser combinator that checks for balanced delimiters is included. There are documentation updates.

Release Notes: It is now much easier to declare Unicode terminals in grammars. Unicode support in general was improved. Documentation has been cleaned up and edited for readability.

  •  20 Aug 2009 05:23

    Release Notes: This is the first stable, release version. Minor documentation updates were made.

    Release Notes: The documentation was completely rewritten. The "Consume" combinator was removed, as it was redundant and slow. This is the final beta; if there are no bugs present, this version will become 1.0.

    Release Notes: A bug that prevented the "End" combinator from working properly was fixed. Several bugs in the various examples were fixed. Minor documentation updates were made. Versioning is now done according to release date.

    Screenshot

    Project Spotlight

    Javascript VirtualKeyboard

    A highly customizable Web-based virtual keyboard.

    Screenshot

    Project Spotlight

    Netzob

    Support for reverse engineering, evaluation, and simulation of communication protocols.