Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Sep 6, 2011
1 parent 7624510 commit 64f920b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/TestML/Base.pm
Expand Up @@ -7,7 +7,9 @@ use 5.008003;
use strict;
use warnings;

our $VERSION = '0.16';
our $VERSION = '0.17';

use constant XXX_skip => 1;

sub import {
my ($class, $flag) = @_;
Expand Down
1 change: 1 addition & 0 deletions lib/TestML/Runtime.pm
Expand Up @@ -10,6 +10,7 @@ our $self;
has 'base', -init => '$0 =~ m!(.*)/! ? $1 : "."'; # Base directory
has 'testml'; # TestML document filename, handle or text
has 'bridge'; # Bridge transform module

# XXX Add TestML.pm support for -library keyword.
has 'library' => []; # Transform library modules

Expand Down
31 changes: 31 additions & 0 deletions notes/Syntax
@@ -0,0 +1,31 @@
%Foo bar

Foo = bar;

foo = (x, y) {};

foo(a, b);

x == y;
x ~~ y;
x != y;
x !~ y;

foo(c, d).bar;

#-----------------------------------
# New Ideas
#-----------------------------------

# Need a function return

(){}; # a lambda
(){}(); # a lambda call
{};

x ? y : z;
(

Print("hello\n");
Say("hello");

0 comments on commit 64f920b

Please sign in to comment.