Overview
Complete, runnable Nebra programs, from a first script to a three-package project that spans Nebra and plain Lua.
Hello, Typed World
The smallest useful Nebra program: type annotations, doc comments, nil handling and what the compiler strips from the output.
Classes and Interfaces
Modelling behaviour with interfaces, abstract classes, inheritance, default methods and instanceof, and seeing what each one costs in the output.
Modules and Packages
Local imports, folder modules, sub-modules and file dependencies, worked through a project that spans three packages.
Typing Existing Lua
Wrap a plain .lua library in a .d.neb declaration so Nebra callers get full type checking without rewriting a line of it.
Compile-Time Annotations
Write an annotation that rewrites the compiler's IR before codegen, and see exactly what it produces.