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 1988 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.2.1.tar.gz (17.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.2.1-py3.5.egg (47.9 kB view details)

Uploaded Egg

spark_parser-1.2.1-py3.4.egg (48.2 kB view details)

Uploaded Egg

spark_parser-1.2.1-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

spark_parser-1.2.1-py2.7.egg (46.9 kB view details)

Uploaded Egg

spark_parser-1.2.1-py2.6.egg (47.1 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for spark_parser-1.2.1.tar.gz
Algorithm Hash digest
SHA256 9e706bf5e1965a9ab902667c5f9335f3711838adc906d4a585065c23e8ed9a83
MD5 e511d1f1ab69f61c59eaa6a5e99f3113
BLAKE2b-256 8e071d809c7fb75dc9b28a5a3127582c4ccb65989466d8b9644c73702bc1b237

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.2.1-py3.5.egg
Algorithm Hash digest
SHA256 bea97b768d533955b08aa7d50b6d73e282415d18baef59554d7bd6137c89b633
MD5 30bea18376982e2ce4508969404838d4
BLAKE2b-256 4aa331fe343ef44ce12477c172d769932b0d2ebab786f8c34c41c8affdd77ef7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.2.1-py3.4.egg
Algorithm Hash digest
SHA256 0549b571f6b998c227605d304d1419ea217b388cfb312a6e784011d8841eb8bb
MD5 31829e74d358e8c728d05a37943016a0
BLAKE2b-256 44d0bd29e6bb11b467240492b332d7a97e835fef45a0f09c3997d33a4aac5a83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8089c62314d949c47ac54976afbebb0d19bdddf7561d4b57cbed209587a130f6
MD5 f871a95e372bffd7a7426dcb7ae80120
BLAKE2b-256 7fbed833b3a1c57920fbbf99665a116ea9f3bc03ee24b803fb28d49fe6206e85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.2.1-py2.7.egg
Algorithm Hash digest
SHA256 cee6f883391208018fd6dcf0ec16deda45f0fe756df2777da333f1e735630b9c
MD5 d3d45506c0257f4684315e1023e7e311
BLAKE2b-256 c1a8afabe339c2cf8cd08d0819713ca70b2d9a890b562b16c74121d6fe0c2eee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spark_parser-1.2.1-py2.6.egg
Algorithm Hash digest
SHA256 862eb8c2db3c1c2d8120b4eebe01cc2d5752fbe772ee7fbf21da2f35765327dc
MD5 cf740f6a27a2c3883fbe327840ee7d42
BLAKE2b-256 5d2f42d62a4021fb955f0bdf5045a62d041ee00e146d1f4b386dd2c9482db911

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

1.3.0

6 files

This release

1.2.1 This release

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