Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -0,0 +1,7 @@
|
|||
#import system.
|
||||
|
||||
#symbol program =
|
||||
[
|
||||
#var s := "Mary had a @@x lamb." replace &literal:"@@x" &literal:"little".
|
||||
console writeLine:s.
|
||||
].
|
||||
|
|
@ -3,3 +3,5 @@ say "Mary had a $extra lamb"; # variable interpolation
|
|||
say "Mary had a { $extra } lamb"; # expression interpolation
|
||||
printf "Mary had a %s lamb.\n", $extra; # standard printf
|
||||
say $extra.fmt("Mary had a %s lamb"); # inside-out printf
|
||||
my @lambs = <Jimmy Bobby Tommy>;
|
||||
say Q :array { $$$ The lambs are called @lambs[]\\\.} # only @-sigiled containers are interpolated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue