An r7rs-small compliant implementation of Scheme
Project description
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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for trick_scheme-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34cd0ef6d6b39c61c312fd92a8485dd1cf9b2ebfbdbf8259a1e7cc3a5f50c1a7 |
|
MD5 | 472b8c71ec914017b35d8ade45ecdf5c |
|
BLAKE2b-256 | dffc1380877a31af860103847f51d18c1f32623b8644dfe0980cd44484a5cc63 |