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,36 @@
PROGRAM 3D_NAME
DIM TBL$[17,1]
BEGIN
FOR I=0 TO 17 DO
READ(TBL$[I,0],TBL$[I,1])
END FOR
PRINT(CHR$(12);) ! CLS
FOR I=0 TO 17 DO
PRINT(TBL$[I,1];TBL$[I,0];TBL$[I,0];TBL$[I,1])
END FOR
DATA("_________________ ","_____________ ")
DATA("|\ \ ","|\ \ ")
DATA("|\\_______________\ ","|\\___________\ ")
DATA("|\\| \ ","|\\| | ")
DATA("|\\| ________ | ","|\\| ________| ")
DATA("|\\| | |\| | ","|\\| | ")
DATA("|\\| |______|\| | ","|\\| |____ ")
DATA("|\\| | \| | ","|\\| | \ ")
DATA("|\\| |________| | ","|\\| |_____\ ")
DATA("|\\| | ","|\\| | ")
DATA("|\\| ___ ____/ ","|\\| _____| ")
DATA("|\\| | \\\ \ ","|\\| | ")
DATA("|\\| | \\\ \ ","|\\| | ")
DATA("|\\| | \\\ \ ","|\\| |______ ")
DATA("|\\| | \\\ \ ","|\\| | \ ")
DATA("|\\| | \\\ \ ","|\\| |_______\ ")
DATA(" \\| | \\\ \ "," \\| | ")
DATA(" \|___| \\\___\"," \|___________| ")
END PROGRAM

View file

@ -0,0 +1,20 @@
local(lasso = "
---------------------------------------------------------------
| ,--, |
| ,---.'| ,----.. |
| | | : ,---, .--.--. .--.--. / / \\ |
| : : | ' .' \\ / / '. / / '. / . : |
| | ' : / ; '. | : /`. /| : /`. / . / ;. \\ |
| ; ; ' : : \\ ; | |--` ; | |--` . ; / ` ; |
| ' | |__ : | /\\ \\| : ;_ | : ;_ ; | ; \\ ; | |
| | | :.'|| : ' ;. :\\ \\ `. \\ \\ `. | : | ; | ' |
| ' : ;| | ;/ \\ \\`----. \\ `----. \\. | ' ' ' : |
| | | ./ ' : | \\ \\ ,'__ \\ \\ | __ \\ \\ |' ; \\; / | |
| ; : ; | | ' '--' / /`--' // /`--' / \\ \\ ', / |
| | ,/ | : : '--'. /'--'. / ; : / |
| '---' | | ,' `--'---' `--'---' \\ \\ .' |
| `--'' `---` |
----------------------------------------------------------------
")
stdoutnl(#lasso)

View file

@ -0,0 +1,13 @@
import strutils
const nim = """
# # ##### # # #### #### ####
## # # ## ## # # # # # #
# # # # # ## # # # # # # #
# # # # # # #### # # # #
# ## # # # # # # # # #
# # ##### # # # # #### ####"""
let lines = nim.replace("#", "<<<").replace(" ", "X").replace("X", " ").replace("\n", " Y").replace("< ", "<>").split('Y')
for i, l in lines:
echo repeatChar((lines.len - i) * 3), l

View file

@ -0,0 +1,9 @@
constant s =
"------*** * \n"&
"-----* * * \n"&
"----* * * * \n"&
"---*** * \n"&
"--* *** * * * \n"&
"-* * * * * \n"&
"* * * * * * \n"
puts(1,substitute(substitute(s,"*","_/")," "," "))

View file

@ -0,0 +1,21 @@
var text = <<'EOT';
***
* * * **
* * *
* * * *** **
*** * **** * * *
* * * * ***** *
* * * * * *
* * * * * *
*** * **** *** *
EOT
func banner3D(text, shift=-1) {
var txt = text.lines.map{|line| line.gsub('*','__/').gsub(' ',' ')};
var offset = txt.len.of {|i| " " * (shift.abs * i)};
shift < 0 && offset.reverse!;
(offset »+« txt).join("\n");
};
say banner3D(text);