瀏覽代碼

Update README

pull/5/head
mtardy 4 年之前
父節點
當前提交
00f5633247
共有 1 個文件被更改,包括 14 次插入3 次删除
  1. +14
    -3
      README.md

+ 14
- 3
README.md 查看文件

@ -2,11 +2,16 @@
## Requirements
Please install peg/leg manually or with Homebrew:
Please install [peg/leg](https://www.piumarta.com/software/peg/) manually or with Homebrew:
```bash
$ brew install peg
```
Please install [the Boehm-Demers-Weiser conservative garbage collector](https://www.hboehm.info/gc/) manually or with Homebrew:
```bash
$ brew install bdw-gc
```
## Build
```bash
@ -16,11 +21,17 @@ $ make
## Usage
```bash
$ echo "2+3" | ./calc
$ echo "a=2+3 a*2" | ./calc
```
## Test
## Tests
Simple tests:
```bash
$ ./test.sh
```
Custom test:
```bash
$ ./calc < test.txt
```

Loading…
取消
儲存