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 @@
"*" f:glob
' s:cmp a:sort
"\n" a:join .

View file

@ -0,0 +1,16 @@
;; ls of stores (kind of folders)
(for-each writeln (list-sort < (local-stores))) →
AGES
NEMESIS
info
objects.dat
reader
system
user
words
;; ls of "NEMESIS" store
(for-each writeln (local-keys "NEMESIS")) →
Alan
Glory
Jonah

View file

@ -0,0 +1,4 @@
import io.File
for f <- sort( list(File( "." ).list()).filterNot(s -> s.startsWith(".")) )
println( f )

View file

@ -0,0 +1,4 @@
set the defaultFolder to "/foo"
put the folders & the files
set the defaultFolder to "/foo/bar"
put the folders & the files

View file

@ -0,0 +1,4 @@
import os
for kind, path in walkDir(getCurrentDir(), true):
echo path

View file

@ -0,0 +1,9 @@
var content = [];
Dir.cwd.open.each { |file|
file ~~ < . .. > && next;
content.append(file);
}
content.sort.each { |file|
say file;
}

View file

@ -0,0 +1,3 @@
'*'.glob.each { |file|
say file;
}

View file

@ -0,0 +1,7 @@
decl file f
decl string<> fnames
set fnames (sort (f.listdir "."))
for (decl int i) (< i (size fnames)) (inc i)
out fnames<i> endl console
end for