exe

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2019 License: MIT Imports: 19 Imported by: 0

README

EXpr Executor

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL