Skip to main content

buildstatus

SPARK

SPARK stands for Scanning, Parsing, and Rewriting Kit. It uses Jay Early’s algorithm for parsing context free grammars, and comes with some generic Abstract Syntax Tree routines. There is also a prototype scanner which does its job by combining Python regular expressions.

The original version of this was written by John Aycock and was described in his 1998 paper: “Compiling Little Languages in Python” at the 7th International Python Conference.

Note: Early algorithm parsers are almost linear when given an LR grammar. These are grammars which are left-recursive.

Installation

This uses setup.py, so it follows the standard Python routine:

 python setup.py install # may need sudo
 # or if you have pyenv:
python setup.py develop

Example

The github example directory has a worked-out examples; Package uncompyle6 uses this and contains a much larger example.

See Also

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spark_parser-1.3.0.tar.gz (79.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

spark_parser-1.3.0-py3.5.egg (49.3 kB view details)

Uploaded Egg

spark_parser-1.3.0-py3.4.egg (49.6 kB view details)

Uploaded Egg

spark_parser-1.3.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

spark_parser-1.3.0-py2.7.egg (48.2 kB view details)

Uploaded Egg

spark_parser-1.3.0-py2.6.egg (48.4 kB view details)

Uploaded Egg

File details

Details for the file spark_parser-1.3.0.tar.gz.

File metadata

  • Download URL: spark_parser-1.3.0.tar.gz
  • Upload date:
  • Size: 79.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for spark_parser-1.3.0.tar.gz
Algorithm Hash digest
SHA256 012a46b8b68db6508a4e675b69dda964c5a279c54a78d995c0d88a8541daf93b
MD5 f9279caf827f5f63f5aa965265d160e7
BLAKE2b-256 b4730a417c3f43c0acf6f578b46c2855037b65c25c8fbd411d25bc8fd91b72af

See more details on using hashes here.

File details

Details for the file spark_parser-1.3.0-py3.5.egg.

File metadata

File hashes

Hashes for spark_parser-1.3.0-py3.5.egg
Algorithm Hash digest
SHA256 f8c1c05c0073c1a529bb5f7f62a1ff3fb828297e35a987729374a59b3d77b47b
MD5 de150103cb9dbf46ef69b2c8baaac9ee
BLAKE2b-256 31542aa5987b2b7f8d9c20128dc254a1f4076826dda87e134116ccbbf5a1a8c4

See more details on using hashes here.

File details

Details for the file spark_parser-1.3.0-py3.4.egg.

File metadata

File hashes

Hashes for spark_parser-1.3.0-py3.4.egg
Algorithm Hash digest
SHA256 ce66f1c53b6e620ac67ba398410dce39c431570411598cecb15d2c06a95d9eb2
MD5 38a1dcb92003f869a988fb697d1b5740
BLAKE2b-256 dab414b3718b1c190f845b9771a16bafc9c18eda64e9075cf4eabfb4043778b3

See more details on using hashes here.

File details

Details for the file spark_parser-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spark_parser-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a629c2870025afb55a05221db4384bd22829191874df7c5d0bf598cc64e4f12e
MD5 0b30f7e8f3e50d15a074f5428044facd
BLAKE2b-256 c3b2b2cbc1da11cc6325cd6b2af4e636a8cd5d38b738347567eea42050ee7526

See more details on using hashes here.

File details

Details for the file spark_parser-1.3.0-py2.7.egg.

File metadata

File hashes

Hashes for spark_parser-1.3.0-py2.7.egg
Algorithm Hash digest
SHA256 f64f961ac9dfd3cc17b92301e128cea4ce055a091257cc44fc64f75d81d383f1
MD5 5b7a1eb702a44f7a937ee441e2f502b1
BLAKE2b-256 ba0f255dd7b3813c598bf7fa8cdd10ff63f3917d09be847439c8dd1c2d8f1f5a

See more details on using hashes here.

File details

Details for the file spark_parser-1.3.0-py2.6.egg.

File metadata

File hashes

Hashes for spark_parser-1.3.0-py2.6.egg
Algorithm Hash digest
SHA256 6b85cdd6a160af5104c2a7d35b647d13258758001f9924c0d3d92981a3f49e8b
MD5 6cc4c5e445962d02dcb9aa8513ab0882
BLAKE2b-256 869375f7623c32f4f3816d4662d4768f250de12335b06f528345fb82dde27acf

See more details on using hashes here.

Release history Release notifications | RSS feed

1.9.0

6 files

1.8.9

7 files

1.8.8

3 files

1.8.7

9 files

1.8.6

10 files

1.8.5

12 files

1.8.4

9 files

1.8.3

9 files

1.8.2

9 files

1.8.1

9 files

1.8.0

9 files

1.7.2

9 files

1.7.1

10 files

1.7.0

10 files

1.6.1

9 files

1.6.0

11 files

1.5.2

11 files

1.5.1

11 files

1.5.0

11 files

1.4.3

12 files

1.4.2

10 files

1.4.0

5 files

This release

1.3.0 This release

6 files

1.2.1

6 files

1.1.1

6 files

1.1.0

6 files

1.0.2

6 files

1.0.1

6 files

1.0.0

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page