diff --git a/README.md b/README.md index 78b761a..5120be3 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,13 @@ infix Simple interpreter for infix syntax. Uses a concurrent lexer/parser to create a binary tree from infix statements and then evaluate them recursively. + +```sh +$ clang++ -g main.cc -std=c++11 +$ ./a.out +8 * 8 +prefix: * 8 8 +postfix: 8 8 * +infix: (8 * 8) +=> 64 +```