alexk7 / ipg Goto Github PK
View Code? Open in Web Editor NEWIncremental Parser Generator
License: MIT License
Incremental Parser Generator
License: MIT License
IPG - The Incremental Parser Generator --- Description --- IPG is, like Yacc or Bison, a parser generator. However, it is not based on LALR grammars but instead on Parsing Expression Grammars, or PEGs. This is a more intuitive way to write grammars and generates parsers that are human readable. It is also different because its aim is to provide good support for incremental parsing. This is useful for applications like an IDE that always provides features based on an up-to-date analysis of the program being written. IPG consumes two input: one is the PEG grammar describing the language to recognized. The other is a list of actions to execute when it is confirmed that a given non-terminal is part of a complete phrase from the language. The two input are separated, which leave a much cleaner grammar to read and edit. --- Current Status --- For now, IPG only generates a recognizing parser for a PEG given in the ASCII syntax given at http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf. Instead of a special syntax for semantic actions, IPG generates C++ iterators classes to traverse the parse tree directly from the memoized structures. This part is not yet functional. --- Dependencies --- IPG requires: - Boost, version 1.46.1 or later --- Directories --- build: IDE projects to build IPG xcode src cpp: C++ source files sh: Shell scripts man: Man page definitions peg: Parsing Expression Grammer (PEG) files tpl: Google CTemplate files
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.