19 unstable releases
0.10.0 | Jul 31, 2022 |
---|---|
0.9.0 | Jan 29, 2019 |
0.8.1 | Jan 29, 2019 |
0.3.0 | Dec 31, 2018 |
#391 in WebAssembly
48 downloads per month
130KB
3.5K
SLoC
parsley
what if scheme...but rust. still working on a backronym.
cargo install parsley
installs the interpreter - see the
docs if you want to use it as a library.
high-level goals
- a lightweight Scheme implementation...
- that compiles to WebAssembly...
- usable inside of a larger application without making too many sacrifices...
- that is modular and extensible...
- but includes enough definitions to be useful out of the box.
on the horizon
- improve test coverage
- More tests from SICP
- Better coverage of the standard library
- Example crates
- (eventually) R7RS compliance
Navigating this repo
- The source for the main library is in
src
. - The source for the
cargo install
-able binary is insrc/bin/parsley
. - The source for the (
gh-pages
) homepage is inexamples/www
.- To run (
serve
) or compile (build
) it,cd
into that directory and usetrunk
. Its output will be placed in./examples/www/dist
.
- To run (
- The source for the
npm
package is inexamples/npm
.- To compile it, use
wasm-pack
. Its output will be placed inexamples/npm/pkg
.
- To compile it, use
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0–13MB
~103K SLoC