Terra and Lua
Posted on Thu 27 March 2025 in programming • Tagged with lua, terra, c, lowlevel, uefi • 3 min read
Let's write some code that uses the services provided by the (U)EFI (modern BIOS) environment and we gonna use Terra, as is says in their website, a counterpart to Lua. I'll assume that you know some C for Part 1.
"Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language". This means you can write some typed code that looks like Lua, embed some Lua code, and compile the whole thing to machine code.
To install Terra you should have a …
Continue reading