Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maolonglong/bogoscheme
A subset of Scheme
https://github.com/maolonglong/bogoscheme
menhir ocaml ocamllex repl scheme scheme-interpreter
Last synced: 30 days ago
JSON representation
A subset of Scheme
- Host: GitHub
- URL: https://github.com/maolonglong/bogoscheme
- Owner: maolonglong
- License: unlicense
- Created: 2023-07-26T15:36:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-24T11:00:53.000Z (about 1 year ago)
- Last Synced: 2024-11-07T01:06:19.766Z (3 months ago)
- Topics: menhir, ocaml, ocamllex, repl, scheme, scheme-interpreter
- Language: OCaml
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bogoscheme
A subset of [Scheme](https://www.gnu.org/software/mit-scheme/)
## Examples
```bash
# Interprets a file
$ ./bs ./examples/fibonacci.scm
0
1
1
2
3
5
55
9227465
12586269025# REPL
$ ./bs
BogoScheme REPL (Press Ctrl-D to exit)
> (define x 10)
#u
> (print x)
10
#u
>
```## References
- [Ocaml track: assignment 5: Implementing Scheme, part 1](http://courses.cms.caltech.edu/cs11/material/ocaml/lab5/lab5.html)
- [Ocaml track: assignment 6: Implementing Scheme, part 2](http://courses.cms.caltech.edu/cs11/material/ocaml/lab6/lab6.html)