An (on going) implementation of a Scheme based language.
import { exec } from "cid-lang";
exec(`
(define a 100)
(define b 5)
(* a b)
`); // "500"
npm run build && npm run cli -- spec/test.scm
npm run build && npm run repl
CID> (+ 10 25)
35
npm run build
apps/cidlang/dist/bins/cidlang-{linux|macos|windows.exe} spec/test.scm
# .....
apps/cidrepl/dist/bins/cidrep-{linux|macos|windows.exe}
CID> (+ 10 25)
35
Language spec tests are found in ./spec and can be ran:
npm run build
dist/lib/cidlang.js spec/test.scm
- Quoting lists is not required
- Case sensitive identifiers
- Lots of stuff!
- Most built-in functions
- Macros