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,3 @@
PROGRAM:MYPROGRM
:.HELLO
:Disp "HELLO, WORLD!",i

View file

@ -0,0 +1,7 @@
;; This is a comment
;; Type in the following -uncommented- line in the input text area, and press [RETURN]
;; or click onto the "Eval" button
;; Auto-completion : You will notice that after "(di" , EchoLisp proposes "(display" :
;; Press the [TAB] key to accept
(display "Hello, World" "color:blue")

View file

@ -0,0 +1,21 @@
;; usage give the syntax(es) for a function call
;; "usage" abbreviation is "us"
(us display) → 📗 (display object css-style-string) (display object)
;; help opens the reference manual at the right place, in a browser tab
;; "help" abbreviation is "?"
(? display) → [http://www.echolalie.org/echolisp/help.html#display]
;; searching
;; (apropos name) displays the list of functions about 'name'
;; "apropos" abbreviation is "ap"
;; 'special' forms (you will learn that later) are flagged with 👀
;; 1:2 is the number or arguments. min 1, max 2
(ap list) → #(👀 for*/list:2:n 👀 for/list:2:n alist?:1 circular-list:1:n list->stack:2
list->vector:1 list-index:2 list-ref:2 list-sort:2 list-tail:2 list:1:n list?:1
maplist:2 set-plist!:2 stack->list:1 stream->list:1:2 string->list:1 sublist:3
symbol-plist:1 vector->list:1 )
;; Or you can press the "Help" button.
;; Lost in the reference manual ?
;; Just type-in a letter, and you will go to the alphabetical index.

View file

@ -0,0 +1,3 @@
include "ConsoleWindow
print"Goodbye, World!"

View file

@ -0,0 +1,3 @@
def sayHello():
traceln("Hello World")
sayHello()

View file

@ -0,0 +1 @@
"Hello world!" println

View file

@ -0,0 +1 @@
oforth hello.of

View file

@ -0,0 +1 @@
oforth --P"\"Hello world!\n\" println"

View file

@ -0,0 +1 @@
(print "hello world")

View file

@ -0,0 +1 @@
perl pare hello.l

View file

@ -0,0 +1,6 @@
class HelloWorld
**Prints "Goodbye, World!"**
on start
print "Goodbye, World!"

View file

@ -0,0 +1,4 @@
sayHello()
func sayHello
see "Hello World" + nl

View file

@ -0,0 +1,2 @@
* "Hello world!"
end

View file

@ -0,0 +1,7 @@
PROGRAM:HELLO
:AsmPrgm
:219F9D
:EF0A45
:EF2E45
:C9
:48656C6C6F2C20576F726C642100

View file

@ -0,0 +1,3 @@
$ echo '"Hello world!"' | jq .
C:\ echo "Hello world!" | jq .

View file

@ -0,0 +1 @@
curl -Ss http://hello.world.com | jq .

View file

@ -0,0 +1,5 @@
$ echo '"Hello world!"' > hello.txt
$ jq . hello.txt
C:\ echo "Hello world!" > hello.txt
C:\ jq . hello.txt

View file

@ -0,0 +1,3 @@
$ jq -n '"Hello world!"'
C:\ jq -n "Hello world!

View file

@ -0,0 +1 @@
jq -n -f hello.txt .

View file

@ -0,0 +1,7 @@
def binary_digits:
if . == 0 then 0
else [recurse( if . == 0 then empty else ./2 | floor end ) % 2 | tostring]
| reverse
| .[1:] # remove the leading 0
| join("")
end ;