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.4.0.tar.gz (99.0 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.4.0-py3.5.egg (50.8 kB view details)

Uploaded Egg

spark_parser-1.4.0-py3.4.egg (51.1 kB view details)

Uploaded Egg

spark_parser-1.4.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

spark_parser-1.4.0-py2.7.egg (49.8 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for spark_parser-1.4.0.tar.gz
Algorithm Hash digest
SHA256 282fe0d19de48d5fda6148032e47c822e2f088a5ff050cb7544f2bc2e701ede4
MD5 e3c8f2e41572075d9e08daabb5f24253
BLAKE2b-256 747b367b1f0fad193175b1a71a5cb8d6866e3888fcb2950dc4027a9f683a7492

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.4.0-py3.5.egg
Algorithm Hash digest
SHA256 82cde691b4a7b81e6c732b38b82eb3c8bf37ba07a05ff4a41acdf4a1ef98441d
MD5 de642cd7b6b075439dd73135ffed13eb
BLAKE2b-256 ad8ecee1526dcbdf6ba6d55896c0c6eb43a24b0b8883fe28354207ca518ef1e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.4.0-py3.4.egg
Algorithm Hash digest
SHA256 5e7a19b7d84332fc0329b7b1b657bcd591736795d2b001807b6273abdbb02d7f
MD5 1b36aa5ba4ed44e78c0262041aa0e715
BLAKE2b-256 275ddc2de875b9327c20af1ee10a806612daba382c3453f36018b0b7bef4413a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b4d5d8353c5e0692690755dcdf7a7957a519d00309e70857a53edc1b98c568
MD5 5c024219cc237f98601ba24446857a74
BLAKE2b-256 6a4a213c31570a1f8606c2c15e6c0cb2503f8f17f30e893ce9d368b3e91d2f68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.4.0-py2.7.egg
Algorithm Hash digest
SHA256 46a98fad828c8eed658c8d6c9c1cf638bf9dabd44fbffad78eeb120c43f6dcce
MD5 5caa78ca968543705e368e5bad395099
BLAKE2b-256 1c926671aecc969d56cdfb6268aa29c8705c2d4c4779926841c8bbf8e04af4bc

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

This release

1.4.0 This release

5 files

1.3.0

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