Delta is a statically typed, imperative language that uses LLVM as its backend.
- Struct access
- String allocation / array of chars
- If statement early return function type matching
- Array slices?
- GC
Build source.
dune buildCompile and dump LLVM IR to llvm_bin/output.ll.
dune exec -- delta examples/example.dxCompile dynamically linked C library.
gcc -shared -fPIC -o libsocket.so socket.cGenerate executable from LLVM IR linked with a specified library.
clang-19 -target x86_64-pc-linux-gnu llvm_bin/output.ll -o llvm_bin/output -L. -lsocket -Wl,-rpath=.Generate executable from LLVM IR linked with libc.
clang-19 -target x86_64-pc-linux-gnu llvm_bin/output.ll -o llvm_bin/output -lc -Wl,-rpath=.Format all OCaml and dune files.
opam exec -- dune fmtLint opam file(s).
opam lintTBD - Not open for contributions until stable version is implemented.
Delta source code is released under the Apache License 2.0.