Permalink
Browse files

readme

  • Loading branch information...
1 parent dcb3c8c commit 9060cb152e2994ee661c8f39c4c6631c28534f43 @rsms committed May 31, 2012
Showing with 9 additions and 2 deletions.
  1. +9 −2 README.md
View
@@ -48,10 +48,17 @@ Should give you some stuff in the `build` subdirectory.
## bin/hue
-The `hue` program is a all-in-one tool which is essentially a JIT dynamic compiler.
+The `hue` program is a all-in-one tool which is essentially a REPL-able, JIT dynamic compiler.
$ make hue
$ build/bin/hue --help
+ ...
+ $ build/bin/hue
+ → 42
+ 42
+ → 42 * 8
+ 336
+ → ^C
$ build/bin/hue test/test_lang_data_literals.hue
Hello World
Hello World
@@ -60,7 +67,7 @@ The `hue` program is a all-in-one tool which is essentially a JIT dynamic compil
$ build/bin/hue -parse-only test/test_lang_data_literals.hue
# AST repr here...
-You could chain hue with llvm tools to compile a machine image:
+You can chain hue with llvm tools in order to produce a machine-native program:
$ build/bin/hue -output-ir=- -compile-only test/test_lang_data_literals.hue \
| llvm-as -o=- | llvm-ld -native -Lbuild/lib -lhuert -o=program -

0 comments on commit 9060cb1

Please sign in to comment.