Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NADI Playground

NADI Playground is powered by webassembly. NADI was stripped of many of its desktop oriented features like file IO, plugins, etc and compiled into a version that can run in the web.

You can try to run different nadi codes to see how it behaves in the code block below.

# simple expressions
1 + 2 
true & false

# function definitions
func add(x, y=0) {x + y}
add(1)
add(1,20)

# load network
net.load_str("
a -> {b, c, d}
{c,d} -> e
e -> {f,g}
")