Skip to content

Commit fb71ce1

Browse files
committed
Rename exp to ecc
1 parent c223cd5 commit fb71ce1

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ out, err := expr.Run(program, &Env{"world"})
108108

109109
**Expr** consist of a few packages for parsing source code to AST, type checking AST, compiling to bytecode and VM for running bytecode program.
110110

111-
Also expr provides powerful tool [exp](cmd/exp) for debugging. It has interactive terminal debugger for our bytecode virtual machine.
111+
Also expr provides powerful tool [ecc](cmd/ecc) for debugging. It has interactive terminal debugger for our bytecode virtual machine.
112112

113113
<p align="center">
114114
<img src="docs/images/debug.gif" alt="debugger" width="605">
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
# exp
1+
# ecc
22

33
## Install
44

55
```bash
6-
go get github.com/antonmedv/expr/cmd/exp
6+
go get github.com/antonmedv/expr/cmd/ecc
77
```
88

99
## Usage
1010

1111
Print ast of program.
1212

1313
```bash
14-
echo '1 + 2' | exp -ast
14+
echo '1 + 2' | ecc -ast
1515
```
1616

1717
Disassemble bytecode to human readable format.
1818

1919
```bash
20-
echo 'map(0..9, {# * 2})' | exp -bytecode
20+
echo 'map(0..9, {# * 2})' | ecc -bytecode
2121
```
2222

2323
Run expression.
2424

2525
```bash
26-
echo '2**8' | exp -run
26+
echo '2**8' | ecc -run
2727
```
2828

2929
Start interactive debugger.
3030

3131
```bash
32-
echo 'all(1..3, {# > 0})' | exp -debug
32+
echo 'all(1..3, {# > 0})' | ecc -debug
3333
```
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)