Skip to main content

Trick

Trick is an ongoing implementation of the Scheme programming language, targeting an SECD machine, and aiming for full R7RS-small compatibility. It's written in Python and, as of this moment, very very slow! It's mostly an educational project at the moment, though I might be able to write a faster implementation of the virtual machine in the future.

Completion Status

The core language primitives are all implemented, but the internal libraries are not complete yet. (scheme base) however is nearly complete however, as well as several others.

Requirements

Python 3.9 or later is required. There is no other dependency.

Running Trick

In order to get a REPL, simply run ./trick.py. In order to compile a source file named 'foo.scm' into a FASL file that can be run by the VM run ./trick.py -c foo.scm. This creates a files named foo.fasl. Now you can run the file by running ./trick.py run foo.fasl.

Metadata

Release files for trick-scheme 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trick-scheme 0.1.0
File Size Uploaded Provenance Actions
trick-scheme-0.1.0.tar.gz 92.7 kB Without provenance Details for trick-scheme-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trick-scheme 0.1.0
File Interpreter ABI Platform Actions
trick_scheme-0.1.0-py3-none-any.whl Python 3 none any Details for trick_scheme-0.1.0-py3-none-any.whl

Total release size: 187.9 kB

Release files / trick-scheme-0.1.0.tar.gz

Download URL trick-scheme-0.1.0.tar.gz
Size 92.7 kB
Tags Source
SHA-256 checksum
How to use checksums
42a215b28ceb2c1298aa8277aba065021d21869bf7fd96fdf1b0a97576d65bf0
BLAKE2b-256 checksum
How to use checksums
b74d3177298ee15c8129005191f7bd5be15b1453638f2708008a167c716166a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / trick_scheme-0.1.0-py3-none-any.whl

Download URL trick_scheme-0.1.0-py3-none-any.whl
Size 95.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34cd0ef6d6b39c61c312fd92a8485dd1cf9b2ebfbdbf8259a1e7cc3a5f50c1a7
BLAKE2b-256 checksum
How to use checksums
dffc1380877a31af860103847f51d18c1f32623b8644dfe0980cd44484a5cc63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for trick-scheme 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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