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

Debugging

NOTE: Currently, debugging is still nearly impossible in Antimony.

This document will give you some hints on debugging the Antimony compiler.

Viewing the generated source code

Programs can be compiled to stdout. Use the -o - flag in combination with the target backend:

cargo run -- -t js build -o - examples/fib.sb

Or, if Antimony is installed in your path:

sb -t js build -o - examples/fib.sb