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 @@
Returnʳ

View file

@ -0,0 +1,11 @@
'FB 1.05.0 Win64 'endprog.bas'
Dim isError As Boolean = True
If isError Then
End 1
End If
' The following code won't be executed
Print
Print "Press any key to quit"
Sleep

View file

@ -0,0 +1,12 @@
#!/usr/bin/lasso9
//[
handle => {
stdoutnl('The end is here')
}
stdoutnl('Starting execution')
abort
stdoutnl('Ending execution')

View file

@ -0,0 +1,12 @@
#!/usr/bin/lasso9
handle_error => {
stdoutnl('There was an error ' + error_msg)
abort
}
stdoutnl('Starting execution')
0/0
stdoutnl('Ending execution')

View file

@ -0,0 +1,2 @@
if problem:
quit(QuitFailure)

View file

@ -0,0 +1,3 @@
import: os
some_condition ifTrue: [ 0 OS.exit ]

View file

@ -0,0 +1,3 @@
if error_code!=NO_ERROR then
abort(0)
end if

View file

@ -0,0 +1,3 @@
if error_code!=NO_ERROR then
exit_thread(0)
end if

View file

@ -0,0 +1,4 @@
for n = 1 to 10
see n + nl
if n = 5 exit ok
next

View file

@ -0,0 +1,2 @@
00000000000000110000000000000000 Test
00000000000001110000000000000000 Stop

View file

@ -0,0 +1,3 @@
if (problem) {
Sys.exit(code);
}

View file

@ -0,0 +1 @@
stop

View file

@ -0,0 +1,2 @@
$ jq -n '"Hello", if 1 then error else 2 end'
"Hello"

View file

@ -0,0 +1,2 @@
$ jq -n '"Hello" | if 1 then error else 2 end'
jq: error: Hello