Displaying 1 to 20 from 31 results

pegjs - PEG.js: Parser generator for JavaScript

  •    Javascript

PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily.Online version is the easiest way to generate a parser. Just enter your grammar, try parsing few inputs, and download generated parser code.

pest - The Elegant Parser

  •    Rust

pest is a PEG parser with simplicity and speed in mind. This is then saved in a .pest grammar file and is never mixed up with Rust code which results in an always up-to-date formal definition of the grammar which is very easy to maintain.

PEGTL - Parsing Expression Grammar Template Library

  •    C++

The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency C++ header-only parser combinator library for creating parsers according to a Parsing Expression Grammar (PEG). Grammars are written as regular C++ code, created with template programming (not template meta programming), i.e. nested template instantiations that naturally correspond to the inductive definition of PEGs (and other parser-combinator approaches).

language - A fast PEG parser written in JavaScript with first class errors

  •    Objective-J

Language.js is an experimental new parser based on PEG (Parsing Expression Grammar), with the special addition of the "naughty OR" operator to handle errors in a unique new way. It makes use of memoization to achieve linear time parsing speed, and support for automatic cut placement is coming to maintain mostly constant space as well (for a discussion of cut operators see: www.ialab.cs.tsukuba.ac.jp/~mizusima/publications/paste513-mizushima.pdf). The most unique addition Language.js makes to PEG is how it handles errors. No parse ever fails in Language.js, instead SyntaxErrorNodes are placed into the resultant tree. This makes it trivial to do things like write syntax highlighters that have live error reporting. This also means that Language.js is very competent at handling multiple errors (as opposed to aborting on the first one that is reached).

rust-peg - Parsing Expression Grammar (PEG) parser generator for Rust

  •    Rust

This is a simple parser generator based on Parsing Expression Grammars. Please see the release notes for updates.

pigeon - Command pigeon generates parsers in Go from a PEG grammar.

  •    Go

The pigeon command generates parsers based on a parsing expression grammar (PEG). Its grammar and syntax is inspired by the PEG.js project, while the implementation is loosely based on the parsing expression grammar for C# 3.0 article. It parses Unicode text encoded in UTF-8. See the godoc page for detailed usage. Also have a look at the Pigeon Wiki for additional information about Pigeon and PEG in general.

canopy - A parser compiler for Java, JavaScript, Python, Ruby

  •    Javascript

Canopy is a parser compiler targeting Java, JavaScript, Python and Ruby. It takes a file describing a parsing expression grammar and compiles it into a parser module in the target language. The generated parsers have no runtime dependency on Canopy itself. For usage documentation see canopy.jcoglan.com.

Foundatio.Parsers - A lucene style query parser that is extensible and allows modifying the query.

  •    CSharp

A lucene style query parser that is extensible and allows additional syntax features. Also includes an Elasticsearch query_string query replacement that greatly enhances its capabilities for dynamic queries.In the sample below we will parse a query and output it's structure using the DebugQueryVisitor and then generate the same exact query using the parse result.

cpp-peglib - C++ header-only PEG (Parsing Expression Grammars) library

  •    C++

C++11 header-only PEG (Parsing Expression Grammars) library. cpp-peglib tries to provide more expressive parsing experience in a simple way. This library depends on only one header file. So, you can start using it right away just by including peglib.h in your project.

lucene - Node.js lib to transform lucene query => AST => lucene query

  •    Javascript

Parse, modify and stringify lucene queries. The parser is auto-generated from a PEG implementation in JavaScript called PEG.js.

EPEG.js - A top down parser that can handle left recursion by using a stack and backtracking

  •    Javascript

A top down parser that can handle left recursion by using a stack and backtracking. Indirect recursion is not implemented yet.

solid - Liquid template engine in Elixir

  •    Elixir

Solid is an implementation in Elixir of the template engine Liquid. It uses neotoma to generate the parser.

dice.js - Generic RPG dice string parser and roller

  •    Javascript

A Generic Dice syntax parser and evaluator for javascript. Node's npm can be used to fetch the build and test dependencies. There are no run-time dependencies.

latex2unicode - Convert LaTeX markup to Unicode (in Scala and Java)

  •    Scala

Hundreds of other symbols and special characters are supported, too. For example, \spadesuit, \aleph, \OE, \downdownarrows and \o are translated to ♠, ℵ, Œ, ⇊, ø, respectively. LaTeX2Unicode is written in Scala, thus can serve as a 3rd party library in any JVM application that needs to extract information from LaTeX texts (e.g. BibTeX).

3bmd - markdown processor in CL using esrap parser

  •    Common

Common Lisp Markdown -> html converter, using esrap for parsing, and grammar based on peg-markdown. Currently a bit slow and uses lots of RAM for large documents (particularly when using the top-level doc parser instead of reading documents as a sequence of blocks), but seems to handle the tests from peg-markdown reasonably well.

ham-script - An altJS language for the web

  •    Javascript

Ham is another altJS language, similar to CoffeeScript. What makes Ham different is that it is written as a PEG, and does not have significant whitespace. Ham looks very similar to Javascript at first, but offers (hopefully) many useful features. Ham was written using the Canopy PEG Parser Generator, and Javascript. I am currently working towards self-hosting Ham but it is not quite there yet.

sh-parser - Parser of POSIX Shell Command Language

  •    Lua

This project is licensed under MIT License. For the full text of the license, see the LICENSE file.


  •    Javascript

[WARN]https://github.com/steveyen/sqld3 seems just a toy, so do not use both projects of us. This project is a SQL parser based on PEG(parsing expression grammar).

pom - PEG parser combinators using operator overloading without macros.

  •    Rust

PEG parser combinators created using operator overloading without macros. Read more on Wikipedia.

peg - Import of Ian Piumarta's peg/leg recursive-descent parser generators for C

  •    C

peg and leg are tools for generating recursive-descent parsers: programs that perform pattern matching on text. They processes a Parsing Expression Grammar (PEG)[Ford 2004] to produce a program that recognises legal sentences of that grammar. peg processes PEGs written using the original syntax described by Ford.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.