Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)