{"id":16088615,"url":"https://github.com/stonks3141/blueprint","last_synced_at":"2026-01-27T03:04:55.460Z","repository":{"id":134376034,"uuid":"584583370","full_name":"Stonks3141/blueprint","owner":"Stonks3141","description":"A tiny R7RS Scheme interpreter.","archived":false,"fork":false,"pushed_at":"2024-06-19T00:24:53.000Z","size":116,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-10T13:43:47.341Z","etag":null,"topics":["cli","interpreter","r7rs-small","repl","rust","scheme","scheme-interpreter"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stonks3141.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-03T01:32:02.000Z","updated_at":"2024-09-02T18:26:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"6cf96fd2-0eb6-4230-9a10-75a49466e1a6","html_url":"https://github.com/Stonks3141/blueprint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stonks3141%2Fblueprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stonks3141%2Fblueprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stonks3141%2Fblueprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stonks3141%2Fblueprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stonks3141","download_url":"https://codeload.github.com/Stonks3141/blueprint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222376568,"owners_count":16974322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","interpreter","r7rs-small","repl","rust","scheme","scheme-interpreter"],"created_at":"2024-10-09T13:43:52.772Z","updated_at":"2026-01-27T03:04:50.441Z","avatar_url":"https://github.com/Stonks3141.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blueprint\n\n[![CI](https://github.com/Stonks3141/blueprint/actions/workflows/ci.yml/badge.svg)](https://github.com/Stonks3141/blueprint/actions/workflows/ci.yml)\n[![license](https://img.shields.io/github/license/Stonks3141/blueprint)](https://www.mozilla.org/en-US/MPL/2.0/)\n\nA tiny R7RS Scheme interpreter.\n\nBlueprint intends to be mostly R7RS-small compliant and implement a few SRFIs. It\nis and always will be a single-threaded interpreter, but hopefully I will find the\ntime to make proper GC and a stack-based bytecode VM.\n\n## Installation\n\n### With Cargo\n\nInstall the [Rust toolchain](https://www.rust-lang.org/tools/install).\nRun `cargo install --git https://github.com/Stonks3141/blueprint blueprint` to\ndownload, build, and install the program.\n\n### Building from Source\n\nInstall the [Rust toolchain](https://www.rust-lang.org/tools/install) and clone\nthe repository. Run `cargo install --path .` in the base directory to build and\ninstall the program.\n\n## Usage\n\nThe CLI takes one positional argument: a path to the Scheme file to run.\nIf you want to use the REPL, run with no arguments. A full list of command-line\narguments can be obtained by running with the `--help` flag.\n\n### Example\n\n```scheme\n; main.scm\n\n(define (fib n)\n  (if (or (= n 1) (= n 2))\n    1\n    (+ (fib (- n 1)) (fib (- n 2)))))\n\n(display (fib 10))\n```\n\n```sh\n$ blueprint ./main.scm\n55\n```\n\n## Features\n\n- [x] Parser\n- [x] Lexical scoping and closures\n- [x] Recursion\n- [x] Proper tail-call optimization\n- [x] Reference-counted garbage collection\n- [x] REPL\n- [ ] Descriptive syntax errors\n- [ ] Error locations\n- [x] Proper number type with ints, rationals, and complex numbers\n- [ ] All basic expressions\n- [ ] All standard procedures\n- [ ] Quasiquotation\n- [ ] Promises\n- [ ] Exceptions\n- [ ] Libraries\n- [ ] Macros\n\n## Contributing\n\nClone the repository and install the [Rust toolchain](https://www.rust-lang.org/tools/install).\nRun `cargo run` in the root directory to build and run the program, or `cargo test` to run tests.\nCheck out the above list of features that need implementing. Write tests for any new functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstonks3141%2Fblueprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstonks3141%2Fblueprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstonks3141%2Fblueprint/lists"}