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,5 @@
......
S$=" World!"
S$="Hello"+S$
PRINT(S$)
......

View file

@ -0,0 +1,10 @@
define-syntax-rule
(set!-string-prepend a before)
(set! a (string-append before a)))
→ #syntax:set!-string-prepend
(define name "Presley")
→ name
(set!-string-prepend name "Elvis ")
name
→ "Elvis Presley"

View file

@ -0,0 +1,6 @@
' FB 1.05.0 Win64
Var s = "prepend"
s = "String " + s
Print s
Sleep

View file

@ -0,0 +1,4 @@
> (set s "world")
"world"
> (++ "hello " s)
"hello world"

View file

@ -0,0 +1,4 @@
> (set s "world")
"world"
> (string:concat "hello " s)
"hello world"

View file

@ -0,0 +1,3 @@
local(x = ', World!')
#x->merge(1,'Hello')
#x // Hello, World!

View file

@ -0,0 +1,4 @@
str = "world!"
put "Hello " before str
put str
-- "Hello world!"

View file

@ -0,0 +1,3 @@
put "world" into x
put "hello" before x
put x // hello world

View file

@ -0,0 +1,3 @@
var str = "12345678"
str = "0" & str
echo str

View file

@ -0,0 +1 @@
" World" "Hello" swap + println

View file

@ -0,0 +1,2 @@
string s = "World"
s = "Hello "&s

View file

@ -0,0 +1,3 @@
aString = "World!"
bString = "Hello, " + aString
see bString + nl

View file

@ -0,0 +1,3 @@
var str = 'llo!';
str.sub!(/^/, 'He');
say str;

View file

@ -0,0 +1,3 @@
var str = 'llo!';
str.prepend!('He');
say str;

View file

@ -0,0 +1,3 @@
var str = ", World"
str = "Hello \(str)"
println(str)

View file

@ -0,0 +1,10 @@
decl string s
# set s to "world"
set s "world"
# prepend "hello "
set s (+ "hello " s)
# outputs "hello world"
out s endl console

View file

@ -0,0 +1,2 @@
s <- "12345678"
s <- ("0" + s)

View file

@ -0,0 +1,2 @@
"world!" as $s
| "Hello " + $s