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,2 @@
(js-eval "window.location.href")
→ "http://www.echolalie.org/echolisp/"

View file

@ -0,0 +1,5 @@
' FB 1.05.0 Win64
Print "The program was invoked like this => "; Command(0) + " " + Command(-1)
Print "Press any key to quit"
Sleep

View file

@ -0,0 +1,3 @@
#!/usr/bin/lasso9
stdoutnl("Program: " + $argv->first)

View file

@ -0,0 +1,2 @@
$ lasso9 script_name.lasso
Program: script_name.lasso

View file

@ -0,0 +1,4 @@
put _player.applicationName
-- "lsw.exe"
put _movie.name
-- "lsw_win_d11.dir"

View file

@ -0,0 +1,3 @@
import os
echo getAppFilename() # Prints the full path of the executed file
echo paramStr(0) # Prints argv[0]

View file

@ -0,0 +1 @@
puts(1,command_line()[2])

View file

@ -0,0 +1 @@
see "Active Source File Name : " + filename() + nl

View file

@ -0,0 +1 @@
Active Source File Name : tests\filename.ring

View file

@ -0,0 +1,6 @@
if sysargv[2] = filename()
see "I'm the main program file!" + nl
# we can run tests here!
else
see "I'm a sub file in a program" + nl
ok

View file

@ -0,0 +1,4 @@
say __MAIN__;
if (__MAIN__ != __FILE__) {
say "This file has been included!";
}