←back to thread

jank is C++

(jank-lang.org)
257 points Jeaye | 1 comments | | HN request time: 0.25s | source
1. Mathnerd314 ◴[] No.44535591[source]
Ok so jank is Clojure but with C++/LLVM runtime rather than JVM. So already all of its types are C++ types, that presumably makes things a lot easier. Basically it just uses libclang / CppInterOp to get the corresponding LLVM types and then emits a function call. https://github.com/jank-lang/jank/blob/interop/compiler%2Bru...