Lisp but typed and it compiles to LLVM
  • OCaml 98.8%
  • Dune 1.2%
Find a file
2023-02-11 01:10:18 +00:00
lib Compiler done! Typechecker improved 2023-02-11 01:10:18 +00:00
src Compiler done! Typechecker improved 2023-02-11 01:10:18 +00:00
tests Compiler done! Typechecker improved 2023-02-11 01:10:18 +00:00
.gitignore Compiler done! Typechecker improved 2023-02-11 01:10:18 +00:00
.ocamlformat Parsing lisp like language 2023-02-08 23:48:06 +00:00
a.out Compiler done! Typechecker improved 2023-02-11 01:10:18 +00:00
dune-project Parsing lisp like language 2023-02-08 23:48:06 +00:00
main.tl Compiler done! Typechecker improved 2023-02-11 01:10:18 +00:00
README.md Compiler done! Typechecker improved 2023-02-11 01:10:18 +00:00

Typed Lisp

Typed lisp that compiles to LLVM.

It supports higher order functions:

(defun add [x y] (+ x y))

(defun app [f z] (f z 1))
(app add 10)

Built-in

  • "+" function to add integers
  • Integers
  • Function declaration
  • Function application
  • Variable declaration

Type-System

Hindley-Milner-Damas? Or at least a try of it!

Next

  • Partial application
  • Create more tests