-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jason Jackson
committed
Jun 14, 2011
1 parent
f8c4bdb
commit 1a4d025
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
|
||
|
||
* Toy Language | ||
#+BEGIN_SRC c | ||
func cos(Double) Double; | ||
func printf(...) Integer; | ||
|
||
func bar() Integer { | ||
printf("foo"); | ||
return 3; | ||
} | ||
|
||
func main() Integer { | ||
printf("hello %d", 3); | ||
printf("bar "); | ||
bar(); | ||
return 0; | ||
} | ||
#+END_SRC | ||
|
||
* Screenshot | ||
|
||
[[https://github.com/jasonjckn/llvm-clojure-bindings/raw/master/pic.png]] |