package
1.9.1
Repository: https://github.com/wangjuelong/expr.git
Documentation: pkg.go.dev

# README

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