diff samples/stringops.tp @ 43:27a2167663dd

Improve compiler error reporting. Fix operator associativity. Add some more string operations and a string ops sample
author Mike Pavone <pavone@retrodev.com>
date Thu, 12 Jul 2012 22:10:58 -0700
parents
children 7dfa4481deb0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/stringops.tp	Thu Jul 12 22:10:58 2012 -0700
@@ -0,0 +1,6 @@
+#{
+	main <- {
+		print: "foo: " . 42 . "\n"
+		print: (string: (length: "foo" . "bar")) . "\n"
+	}
+}