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 @@
load["script.ant"]

View file

@ -0,0 +1 @@
prgmOTHER

View file

@ -0,0 +1 @@
Machine.add(me.dir() + "/MyOwnClassesDefinitions.ck");

View file

@ -0,0 +1,10 @@
' person.bi file
Type Person
name As String
age As UInteger
Declare Operator Cast() As String
End Type
Operator Person.Cast() As String
Return "[" + This.name + ", " + Str(This.age) + "]"
End Operator

View file

@ -0,0 +1,12 @@
' FB 1.05.0 Win 64
' main.bas file
#include "person.bi"
Dim person1 As Person
person1.name = "Methuselah"
person1.age = 969
Print person1
Print
Print "Press any key to quit"
Sleep

View file

@ -0,0 +1,5 @@
include resources "SomeImage.png"
include resources "SomeMovie.mpeg"
include resources "SomeSound.aiff"
include resources "SomeIcon.icns"
include resources "Info.plist" //Custom preference file to replace FB's generic app preferences

View file

@ -0,0 +1 @@
#include "inkey.ch"

View file

@ -0,0 +1 @@
include('myfile.lasso')

View file

@ -0,0 +1,13 @@
-- load Lingo code from file
fp = xtra("fileIO").new()
fp.openFile(_movie.path&"someinclude.ls", 1)
code = fp.readFile()
fp.closeFile()
-- create new script member, assign loaded code
m = new(#script)
m.name = "someinclude"
m.scriptText = code
-- use it instantly in the current script (i.e. the script that contained the above include code)
script("someinclude").foo()

View file

@ -0,0 +1,4 @@
import someModule
import strutils except parseInt
import strutils as su, sequtils as qu # su.x works
import lib.pure.strutils, lib/pure/os, "lib/pure/times" # still strutils.x

View file

@ -0,0 +1 @@
"filename" load

View file

@ -0,0 +1 @@
import: pack

View file

@ -0,0 +1 @@
include arwen.ew

View file

@ -0,0 +1 @@
Load 'file.ring'

View file

@ -0,0 +1 @@
include 'file.sf';

View file

@ -0,0 +1,2 @@
include Some::Name;
# variables are available here as: Some::Name::var_name

View file

@ -0,0 +1 @@
import "filename.u"

View file

@ -0,0 +1,3 @@
include "gort";
hello

View file

@ -0,0 +1 @@
def hello: "Klaatu barada nikto";

View file

@ -0,0 +1,2 @@
$ jq -n -c -f Include_a_file.jq
Klaatu barada nikto.