From e5fb53a29e2eae419a9c0f7ecfa22ea662bb56d8 Mon Sep 17 00:00:00 2001 From: Connor Taffe Date: Sun, 26 Oct 2014 03:48:14 -0500 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +```