Filewatcher File Search File Search
Content Search
» » » » »


Lex and Yacc implementation for Python (documentation)

PLY is yet another implementation of lex and yacc for Python.

This package contains the documentation for Ply.

Package version:3.4-3


PLY (Python Lex-Yacc)                   Version 3.4

Copyright (C) 2001-2011,
David M. Beazley (Dabeaz LLC)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are

* Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaime


Inspired by a September 14, 2006 Salon article "Why Johnny Can't Code" by
David Brin (,
I thought that a fully working BASIC interpreter might be an interesting,
if not questionable, PLY example.  Uh, okay, so maybe it's just a bad idea,
but in any case, here it is.

In this example, you'll find a rough implementation of 1964 Dartmouth 


This example is Andrew Dalke's GardenSnake language. It shows how to process an
indentation-like language like Python.   Further details can be found here:


Simple examples:
   calc       - Simple calculator
   classcalc  - Simple calculate defined as a cla


This example is incomplete.  Was going to specify an ANSI C parser.
This is part of it.


An example showing how to use Python optimized mode.
To run:

  - First run 'python'

  - Th


This example implements a program that converts a UNIX-yacc
specification file into


ply (3.4-3) unstable; urgency=low

  * debian/control: bump Standards-Version to 3.9.3. No changes n

Browse inside python-ply-doc_3.4-3_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download python-ply-doc_3.4-3_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017