Remove compiled hello and private samples and add source
author |
Mike Pavone <pavone@retrodev.com> |
date |
Fri, 13 Jul 2012 08:50:10 -0700 |
parents |
55572bb15623 |
children |
18ab96287c3a |
files |
samples/hello samples/hello.tp samples/private samples/private.tp |
diffstat |
4 files changed, 26 insertions(+), 0 deletions(-)
[+]
|
line diff
Binary file samples/hello has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/hello.tp Fri Jul 13 08:50:10 2012 -0700
@@ -0,0 +1,5 @@
+#{
+ main <- {
+ print: "Hello, world!"
+ }
+}
Binary file samples/private has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/private.tp Fri Jul 13 08:50:10 2012 -0700
@@ -0,0 +1,21 @@
+#{
+ makeobj <- {
+ foo <- 40
+ #{
+ bar <- {
+ foo
+ }
+ inc <- {
+ foo <- foo + 1
+ 1
+ }
+ }
+ }
+ main <- {
+ baz <- makeobj:
+ inc: baz
+ inc: baz
+ bar: baz
+ }
+}
+