Skip to main content

SPL — a small custom programming language (interpreter in Python).

Project description

SPL (someProgrammingLanguage)

SPL is a small programming language with an interpreter written in Python. Programs are .spl files run on the machine where the package is installed.

Install and run

pip install someProgrammingLanguage
run-spl yourprogram.spl

Language reference

Guides and a searchable API table:

SPL Language Reference

Versioning and upgrade notes: MIGRATION.md (1.0+ syntax stability promise).

Conformance tests

python3 -m unittest tests.test_conformance

Bundled reference site (spl-web)

The package includes an HTML reference (under someProgrammingLanguage/spl_site/). To view it locally with Run and Practice enabled:

spl-web

Open the URL printed in the terminal (often http://127.0.0.1:8765/). If spl-web is missing from the shell, reinstall or ensure the package scripts are on PATH.

Alternate entrypoints:

python3 -m someProgrammingLanguage.web_server

Use SPL_PORT to change the port (e.g. SPL_PORT=8766 spl-web).


Development, hosting the site for others, and validating reference data: CONTRIBUTING.md.

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

someprogramminglanguage-1.0.0.tar.gz (98.9 kB view details)

Uploaded Source

Built Distribution

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

someprogramminglanguage-1.0.0-py3-none-any.whl (123.2 kB view details)

Uploaded Python 3

File details

Details for the file someprogramminglanguage-1.0.0.tar.gz.

File metadata

  • Download URL: someprogramminglanguage-1.0.0.tar.gz
  • Upload date:
  • Size: 98.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for someprogramminglanguage-1.0.0.tar.gz
Algorithm Hash digest
SHA256 496a928c5f3089bd217259970141dd4db29c3ba7b51c0228b77a8382eb6343d5
MD5 c8b65ddd33f170f9af449a9e7741166d
BLAKE2b-256 07e366ad2bdb357d59a56c7fd583fcc2df4b3e3f4cc092bfb148ce180a0847c9

See more details on using hashes here.

File details

Details for the file someprogramminglanguage-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for someprogramminglanguage-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16fffcdeb3e5a38a1981cefdc46fc52b0584a3882328ade42c88bf57e35afc97
MD5 602bc903157b8357bc884819c3871157
BLAKE2b-256 1ee953cc6ea6cd27622c8692d0c0ad68431f34060b9991fd5ec61c3deb056d48

See more details on using hashes here.

Supported by

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