From 49758958de611b0f6a32c4d3d943153ec060d7e9 Mon Sep 17 00:00:00 2001 From: Peter Dahlberg Date: Sun, 2 Jun 2013 09:16:39 +0200 Subject: [PATCH] reaqdme --- doc/README | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/README b/doc/README index 5496574..e2c3472 100644 --- a/doc/README +++ b/doc/README @@ -1,3 +1,5 @@ +scully - a simple Programming Language with some randonmness implemented using LLVM + # Requirements - LLVM 3.2 - A recent C and C++ compiler @@ -25,6 +27,11 @@ and type in your program, you can use for more input awesomeness. (http://utopia.knoware.nl/~hlub/rlwrap/#rlwrap) +# Interpreter output (for each line) + First you see a textual Representation of the AST (Generated from class PrintVisitor) + if you called a function this is followed by "Evaluated to: $(stdout (e.g. from put_char())$(return value of function) + After that the optimized LLVM representation of the code is printed out + # Examples see doc/ directory, you can directly pipe them into the interpreter