From 00f563324725b670e7322d050c150e9219efddad Mon Sep 17 00:00:00 2001 From: mtardy Date: Thu, 9 Jul 2020 22:36:51 +0200 Subject: [PATCH] Update README --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8aae541..7dcb7fd 100644 --- a/README.md +++ b/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 +```