Skip to content

Latest commit

 

History

History
 
 

exe

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Expr Debugger

Install

go get github.com/antonmedv/expr/cmd/exe

Usage

Print ast of program.

echo '1 + 2' | exe -ast

Disassemble bytecode to human readable format.

echo 'map(0..9, {# * 2})' | exe -bytecode

Run expression.

echo '2**8' | exe -run

Start interactive debugger.

echo 'all(1..3, {# > 0})' | exe -debug