Quick Start#

Installation#

Requirements:

  • Lua 5.4+ with Teal

  • GCC or Clang

  • Make

Build the compiler:

make build

Your First Model#

Create a file called hello.eb:

# Simple counter
li counter := counter + 1

obs_r final := counter

run() {100, 5}
:print("Final values:", :mean(final))

Compile and run:

cd build
lua ebc.lua hello.eb
./hello

Next Steps#

  • See Examples for more complete models

  • Read the language reference (coming soon)