Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glittershark/spit
Some kind of Lisp interpreter in OCaml
https://github.com/glittershark/spit
Last synced: 2 days ago
JSON representation
Some kind of Lisp interpreter in OCaml
- Host: GitHub
- URL: https://github.com/glittershark/spit
- Owner: glittershark
- Created: 2024-01-29T17:09:36.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-08T22:07:41.000Z (11 months ago)
- Last Synced: 2024-11-10T02:48:49.081Z (about 2 months ago)
- Language: OCaml
- Size: 92.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+title: Spit
#+begin_src
Watch out, they spit!
- The genie
#+end_srcSome kind of Lisp interpreter in OCaml.
This repository contains literally the first lines of OCaml I've ever written
(ever!), so it might be truly awful. Let's see what happens here* Demo
#+begin_src
❯ dune exec bin/main.exe
spit -> (.def x 1)
nilspit -> x
1spit -> (+ x x)
2spit -> (+ x x 4)
6spit -> (defun* plus-1 (x) (+ x 1))
nilspit -> (plus-1 1)
2
#+end_src