Employment of TR7, Tiny R7RS small Scheme interpreter.
- C 72%
- Scheme 20.1%
- Tree-sitter Query 4.5%
- WebAssembly 3.1%
- Shell 0.3%
| c | move to tr7-2.0.19 | |
| joy | wasm.scm ;; iprint fac fib | |
| libs | ddx.scm ;; minor corrections | |
| scm | iro.scm ;; translate iro -> wasm | |
| wasm | iro.scm ;; cond -> if | |
| work | Employing vis-parkour.lua: structured editing. | |
| .gitignore | .gitignore add | |
| now | move to tr7-2.0.19 | |
| README.md | move to tr7-2.0.19 | |
TR7
TR7 is the Tiny R7RS-Small Scheme interpreter for embedding in C programs.
TR7 is written by (c) Jose Bollo and others.
https://small.r7rs.org/attachment/r7rs.pdf
Here
This repo holds an employment of TR7 by sts-q.
If you are new to TR7, please start with the original repository.
System requirements here
-
gcc
-
The two files tr7.h and tr7.c are taken unchanged from the original repository.
-
Runs here on x86_64 and aarch64 with Linux, with limitations on Beaglebone Black (32-bit armv7) with NetBSD and on android with Termux. (?? On the 32-bit Beagle TR7 integer size is as of now limited to 29 bit signed ints.)
Usage now here:
./now # Print now usage.
./now -mo # Compile new seven binary.
./now qtest # Run quick test.
./now repl # Start scheme repl.
./seven # Print help message.
./seven -v # Print version info.
./seven - # Start inbuild C-repl.
./seven ascii-table # Print ascii table.
./seven test-more # Run more and verbose tests.
License
Copyright 2021-2026 the TR7 team
Copyright 2023-2026 sts-q
Zero-Clause BSD
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Contact
Ping sts-q at libera.chat #oberon.
This repository was first published at codeberg at 2023年09月18日.