lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> So, as I understand it, programming in "Terra" environment means really
> writing a LLVM-based compiler, only instead of LLVM you use Terra (which,
> reportedly, seems to actually translate to LLVM underneath?), and instead
> of C++ you use Lua.

My simpler idea of this (for people who are not looking to build a
compiler) is
that you can use Terra as some kind of C (since it generates .o files that
ABI-compatible with C) and Lua as an overpowered preprocessor.

Generating code compatible with C (meaning you can link it or make it a
dynamic library) is an awesome feature IMO.

I have yet to play more with the language but this looks really good.

Pierre Chapuis