annotate samples/hello.tp @ 58:7b454d100dc8

Add length method to array. Pass array of arguments to main method. Initialize parent field of environment struct for closures
author Mike Pavone <pavone@retrodev.com>
date Sat, 14 Jul 2012 00:35:50 -0700
parents cd41f7c22fcd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
cd41f7c22fcd Remove compiled hello and private samples and add source
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
1 #{
cd41f7c22fcd Remove compiled hello and private samples and add source
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
2 main <- {
cd41f7c22fcd Remove compiled hello and private samples and add source
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
3 print: "Hello, world!"
cd41f7c22fcd Remove compiled hello and private samples and add source
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
4 }
cd41f7c22fcd Remove compiled hello and private samples and add source
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
5 }