Hacker News new | ask | show | jobs
by corysama 4072 days ago
Have you seen http://terralang.org ? With a little work, your DSL could be generating stand-alone, statically compiled executables and c-linkable libs :D
1 comments

Oh, I hadn't heard of that. Sounds interesting... I've also considered at some point switching to an LLVM backend, which would let me JIT on the fly or build executables.
You just exactly described Terra :)

You run Lua to construct sequences of code in the language Terra. The Terra functions can be jitted or AOT compiled through LLVM.