Yapps

Yapps - Easy to use parser generator that is written in Python and generates Python code
Download

Yapps Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Amit Patel
  • Publisher web site:
  • http://theory.stanford.edu/~amitp/yapps/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 69 KB

Yapps Tags


Yapps Description

Yapps - Easy to use parser generator that is written in Python and generates Python code Yapps (Yet Another Python Parser System) is an easy to use parser generator that is written in Python and generates Python code. Yapps is simple, is easy to use, and produces human-readable parsers. It is not fast, powerful, or particularly flexible. Yapps is designed to be used when regular expressions are not enough and other parser systems are too much: situations where you may write your own recursive descent parser. On this page you can find both Yapps 1 and Yapps 2. Yapps 1 is more like a functional language (concise grammars of the form when you see this, return this), while Yapps 2 is more like an imperative language (more verbose grammars of the form if/while you see this, do this). Both are completely free.Here are some key features of "Yapps":· Yapps produces human-readable recursive descent parsers. There are several heuristics used to keep the generated code simple.· Yapps will produce context-sensitive scanners that picks tokens based on the type of tokens accepted by the parser. In some situations, token matching will be ambiguous unless the context is taken into account.· Yapps rules can pass arguments down to subrules, so subrules can use information (such as declarations) that was parsed at higher levels in the parsing process. These are sometimes called attribute grammars.


Yapps Related Software