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

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

Serving Software Downloads in 956 Categories, Downloaded 50.476.307 Times

pyPEG 1.2.1

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

pyPEG

Report Broken Link
Printer Friendly Version


Product Homepage
Download (40 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  -  EasyEDA PCB Designer for MacOS 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Macintosh Software  -  VideoSolo Video to GIF Converter (Mac) 1.0.12
How to make a GIF? VideoSolo Free Video to GIF Converter for Mac supports all popular video files including MP4, AVI, MOV, WMV, FLV, M4V, etc. You can easily turn MP4/AVI/MOV/WMV/FLV/M4V to GIF animation on Mac and share your GIFs with your...
46.51 MB  
Macintosh Software  -  VideoSolo Free Video Converter (Mac) 1.0.18
VideoSolo Free Video Converter for Mac is a fast, powerful and easy-to-master video converter. Its main purpose is to convert video files from one format into another. It is able to convert video and audio files in 300+ formats on Mac for totally...
75.29 MB  
Macintosh Software  -  ManyCam for Mac 6
ManyCam is a free Webcam software and a screen recorder for anyone to use. Several feature enhancements are included within ManyCam to produce a professional quality live video production. It can connect a desktop, smartphone, tablet and live...
90.49 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  
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  -  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  
Education  -  BEAGLE/BEAGLECALL Scripts Package 1.0
These scripts are for importing and exporting files from the BEAGLE and BEAGLECALL Genetic Analysis Software Packages
317.44 KB