From 68784da4634e6354aed7ac5dd21aad6a579b0b3d Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 10 May 2020 01:42:44 +0800 Subject: [PATCH] update README --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 53be8f3..a6dfdc7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,15 @@ Grass Mud Horse in Rust +compile: +```shell +$ cargo b + +OR + +$ cargo b --release +``` + help: ```shell $ ./target/debug/grassmudhorse -h @@ -37,3 +46,9 @@ $ cat print-110.gmh | ./target/debug/grassmudhorse 9 10 ``` + +compile and execute: +```shell +$ ./target/debug/grassmudhorse --compile plus1100.gmh.source | ./target/debug/grassmudhorse +5050 +```