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.2.0.tar.gz (120.8 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.2.0-py3-none-any.whl (144.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for someprogramminglanguage-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d93a88097e11ae398928c1d9376e72aebe0a7758569ab7f881780e27ddf787de
MD5 b32e7aa59ccc5c9d7b25ad61a99f437a
BLAKE2b-256 0dab1da6ac188e1cf416e0747be5e3aec308f9d448d8f94d8077b3b0a3c80d88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for someprogramminglanguage-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7c8d876f27de84db4148da03a7332e501739b2f3a670d7bc47eaa811150c53
MD5 d622b841ed1477604d48a74427a64ec0
BLAKE2b-256 191deeb17851237091327b09240d241d6e105ea9c52d9fc9a9d715133457866c

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