Add tasks for all the new languages

This commit is contained in:
Tina Müller 2016-12-05 23:44:36 +01:00
parent 9dc3c2bb62
commit bba7bfd280
13208 changed files with 134745 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# defined local ie. #mylocal will fail if not defined
$ defined variable ie. $myvar will fail if not defined
= assignment
:= assign as return assigned value
? ternary conditional true ? this
| ternary else false ? this | that
|| or
&& and
! negative operator
{ open capture
} close capture
=> specify givenblock / capture
-> invoke method: mytype->mymethod
& retarget: mytype->mymethod& // returns mytype
^ autocollect from capture: {^ 'this will be outputted' ^}
:: tag prefix, ie. ::mytype->gettype // returns myype
:: type constraint, ie. define mymethod(p::integer) => #i * 2
\ escape method: ie. \mymethod->invoke(2)
// comment
/* open comment
*/ close comment

View file

@ -0,0 +1,3 @@
str = "Hello " & QUOTE & "world!" & QUOTE
put str
-- "Hello "world!""

View file

@ -0,0 +1 @@
var f = openFile(r"C:\texts\text.txt") # a raw string, so ``\t`` is no tab

View file

@ -0,0 +1 @@
r"a""b"

View file

@ -0,0 +1 @@
a"b

View file

@ -0,0 +1 @@
^[a-zA-Z_][a-zA-Z_0-9]*$