Skip to main content

Dustin Ingram's Very Special Programming Language.

Project description

divspl (Dustin Ingram’s Very Special Programming Language)

An implementation of a FizzBuzz DSL using rply.

Installation

$ pip install divspl

Or for local development:

$ virtualenv env
$ source env/bin/activate
$ python setup.py install

Usage

$ divspl [filename]

Where:

filename            A *.divspl filename to execute

Example

Use the interpreter to execute valid DIVSPL code:

$ divspl fizzbuzz.divspl

Or use it as a shebang:

#!env/bin/divspl
1...15
fizz=3
buzz=5

Then:

$ ./fizzbuzz.divspl

Description

divspl is an interpreter for the DIVSPL DSL (Dustin Ingram’s Very Special Programming Language Domain Specific Language), which is used for implementing FizzBuzz-like programs.

Contact

On PyPI:

http://pypi.python.org/pypi/divspl/

Souce:

https://github.com/di/divspl

Issues:

https://github.com/di/divspl/issues

Project details


Download files

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

Source Distribution

divspl-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

divspl-0.0.2-py2.7.egg (7.4 kB view details)

Uploaded Source

File details

Details for the file divspl-0.0.2.tar.gz.

File metadata

  • Download URL: divspl-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for divspl-0.0.2.tar.gz
Algorithm Hash digest
SHA256 963c7b5e2f4635509e623cb5b112335cdd5ed45c22f0de688a41a227f7f06498
MD5 9bfd7d006385354f69fad80350215b75
BLAKE2b-256 b5bf84bbf643d2ba1fa619fa0d596ef17de92fc8a17ba99c70db2e5f05c1cbe0

See more details on using hashes here.

Provenance

File details

Details for the file divspl-0.0.2-py2.7.egg.

File metadata

  • Download URL: divspl-0.0.2-py2.7.egg
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for divspl-0.0.2-py2.7.egg
Algorithm Hash digest
SHA256 57bd3b19c99fa5af8213c97e59cfc6c7a98c60ec10e91ab067c9ca3ed7061333
MD5 0285bf485217013449aaaa56c77a90ee
BLAKE2b-256 bdf91d04beae844f49a985f4e2dccfad0a3ee599e9afff747a9c024df8c4930c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page