Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.988.017 Times

pyPEG 1.2.1

Company: Volker Birk
Date Added: August 23, 2013  |  Visits: 167

pyPEG

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)

Python is a nice scripting language. It even gives you access to it's own parser and compiler. It also gives you access to different other parsers for special purposes like XML and string templates.<br /><br />But sometimes you may want to have your own parser. This is what's pyPEG for.<br /><br />To get a quick view on what's happening, please read this article on how to parse an arbitrary language to XML with pyPEG on my blog.<br />What is PEG?<br /><br />PEG means Parsing Expression Grammar. It's something like the idea of Regular Expressions for context free languages; a very clear explanation you'll find in the Wikipedia article about PEG.<br /><br />With PEGs you can describe the same languages like with BNF (and they're even similar).<br />What is a Parser-Interpreter?<br /><br />Common parsers are not using PEGs and top-down parsing, but LR(n) or LL(n) and bottom-up parsing. This results in the idea of implementing parser generators.<br /><br />Because with LR(n) or LL(n) parsers you need to calculate out a DFA first, usually you let the parser generator do this for you. The result is a parser implementation for your BNF grammar, which was the input. One could call a parser generator a compiler from BNF to a parser implementation.<br /><br />A Parser-Interpreter does work as an interpreter instead of being such a compiler. Just give your grammar as input, and it parses the described language out of text. There will be no program generated.<br />Using pyPEG<br /><br />That means: using pyPEG is very easy ;-) If you know regular expressions already, you will learn to use pyPEG quickly.

Requirements: No special requirements
Platforms: Mac, Mac OSX
Keyword: Access Article Compiler Generator Grammar Implementation Input Language Languages Learn Means Parser Parsers Parsing Pypeg What039s
Users rating: 0/10

License: Freeware Size: 10.24 KB
PYPEG RELATED
Programming  -  Voodoo Compiler 0.6.2
Voodoo Compiler is an implementation of the Voodoo programming language. The Voodoo programming language is a low-level programming language, abstracting over the platform's instruction set and calling conventions, but otherwise leaving the...
40.96 KB  
Programming  -  octavia 0.25
octavia is a compiler for a music description language that compiles to MIDI data. octavia music source files can also use Python code to perform generic programming tasks that a composer might wish to accomplish. Whats New in This Release: -...
276.48 KB  
Multimedia & Graphics  -  FlashPascal 0.8 PreAlpha
FlashPascal is an easy to use compiler for a Pascal like language which builds Flash animation (SWF). The application can be used from the Command Line Interface found on your system.
 
Programming  -  GNU Bison 2.4.3
Bison is a general-purpose parser generator that converts an annotated context-free grammar into an LALR(1) or GLR parser for that grammar. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those...
2.16 MB  
Utilities  -  Chaos MD5 1.0
Chaos MD5 is a free MD5 generator for Windows, input any file into the program and it will generate an MD5 checksum unique signature for that file which can be used for file identification or integrity checks. Chaos MD5 does not require...
80 KB  
Programming  -  ascript 2006.07.05.1600
a delegate compiler and a numerical scripting language (like syscalls). the compiler is done in concept but the backend is still in the brainstorming phase.
3.21 KB  
Programming  -  HTPL - PHP 5 HTML Template System 1.0.beta
HTPL is a PHP 5 HTML template system with the following features: hierarchical structure with inheritance, direct database access, application and session wide caching, multiple language support, extendable by user defined functions.
272.6 KB  
Programming  -  Jawk 1.02
Jawk is an interpreter/compiler for the AWK programming language for Java. Unlike prior versions, Jawk provides an efficient execution environment for AWK with minimal enhancements to the language.
215.11 KB  
Programming  -  OpenDaoGen 0.5
A quick and easy open source Data Access Object code generator. Generates PHP4 code currently.
33.44 KB  
Programming  -  Translate SWF for Java 1.2.0.5
Translate SWF is Java-based compiler for Macromedia's ActionScript language. Translate currently supports Actionscript 1. As of 25/11/2010 this project can now be found at GitHub, https://github.com/StuartMacKay/translate-swf.
2.33 MB  
NEW DOWNLOADS IN MACINTOSH SOFTWARE, EDUCATION
Macintosh Software  -  MacX Free DVD to MP4 Converter for Mac 4.2.3
MacX Free DVD to MP4 Converter for Mac is an innovative yet free DVD to MP4 ripper software for Mac users without any functional limitation or watermark. It is able to convert DVDs including copy protected DVD movies to MP4, FLV, MP3 music on Mac...
36.23 MB  
Macintosh Software  -  MacX Free Rip DVD to QuickTime for Mac 4.1.9
MacX Free Rip DVD to QuickTime for Mac is totally free yet versatile DVD to QuickTime ripper software for Mac users to free rip both normal and copy-protected DVDs to QuickTime MOV, MP4 on Mac with excellent image quality. Besides the powerful...
36.3 MB  
Macintosh Software  -  MacX QuickTime Video Converter Free 4.1.9
MacX QuickTime Video Converter Free Edition is the best program designed for Mac users to free convert almost all HD videos and SD videos to QuickTime accepted formats on Mac with first rate quality.The input file formats covered by this powerful...
23.11 MB  
Macintosh Software  -  MacX Free Apple TV Video Converter 4.1.9
MacX Free Apple TV Video Converter is a 100% free video to Apple TV converter software which enables you to free convert most popular videos like AVCHD, MKV, M2TS, AVI, MPEG, WMV, FLV etc to Apple TV compatible format like MP4 format on Mac OS. In...
22.89 MB  
Macintosh Software  -  MacX Free DVD to PSP Converter for Mac 4.1.7
Looking for a solution to convert DVD to PSP for free? MacX Free DVD to PSP Converter for Mac is a 100% free DVD to PSP converter software which can assist you convert any DVD including copy protected DVDs to PSP supported MP4, H.264/MPEG-4 AVC...
36.26 MB  
Education  -  Sliding Down an Incline Plane Model 1.0
This interactive simulation shows a stone block lying at rest on an inclined plane. Initially, the component of gravity along the plane surface is exceeded by the force of static friction. The slope of the ramp can be increased or decreased,...
51.2 KB  
Education  -  MrAIC 1.4.4
MrAIC.pl is a Perl script for calculating AIC, AICc, BIC, and Akaike weights (for a review, see Burnham and Anderson, 2002) for nucleotide substitution models. Likelihood scores under different models are estimated using PHYML (Guindon and...
10.24 KB  
Education  -  HapEvolution 1.0
Complex diseases involve multiple genes with low penetration which may be distributed over the genome. Most of the current haplotype association methods are typically restricted in length and consist of alleles from contiguous SNPs. These...
1.61 MB  
Education  -  Three Charges 1.0
In this simulation, you can investigate the idea of the force between charged objects. Initially, the simulation sets up three charged objects, one at each corner of an equilateral triangle. The charges have different magnitudes - your job is to...
1.36 MB  
Education  -  AWclust 3.0
AWclust is easy to use non-parametric population structure analysis software written for R with a GUI interface. Just point and click and you will be on your way to discovering the important cluster information in your SNP data sets.
20.48 KB