Permalink
Browse files

moved yapsi -> bin/yapsi

After discussion with tadzik++ on #perl6.
  • Loading branch information...
1 parent d5ed674 commit e4ed4abbc98c71c85c97c27d714744ce8079465a @masak committed Aug 8, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 README
  2. 0 { → bin}/yapsi
View
10 README
@@ -10,23 +10,23 @@ $ ufo && make
Right now you can do things like this:
-$ ./yapsi -e 'say 42'
+$ bin/yapsi -e 'say 42'
42
-$ ./yapsi -e 'my $a; { $a = 5 }; say $a'
+$ bin/yapsi -e 'my $a; { $a = 5 }; say $a'
5
-$ ./yapsi -e 'my $a = 5; my $b := $a; $b = 41; ++$b; say $a'
+$ bin/yapsi -e 'my $a = 5; my $b := $a; $b = 41; ++$b; say $a'
42
-$ ./yapsi -e 'my $a = 42; while --$a { say $a }'
+$ bin/yapsi -e 'my $a = 42; while --$a { say $a }'
In other words, Yapsi currently handles declaration, immediate blocks,
assignment, binding, prefix increment/decrement, if/while, and say.
The compiler also detects syntax errors.
-$ ./yapsi -e 'say say'
+$ bin/yapsi -e 'say say'
Could not parse
== Near-future directions
View
File renamed without changes.

0 comments on commit e4ed4ab

Please sign in to comment.