Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
2
Task/Unicode-strings/LFE/unicode-strings-1.lfe
Normal file
2
Task/Unicode-strings/LFE/unicode-strings-1.lfe
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
> (set encoded (binary ("åäö ð" utf8)))
|
||||
#B(195 165 195 164 195 182 32 195 176)
|
||||
2
Task/Unicode-strings/LFE/unicode-strings-2.lfe
Normal file
2
Task/Unicode-strings/LFE/unicode-strings-2.lfe
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
> (io:format "~tp~n" (list encoded))
|
||||
<<"åäö ð"/utf8>>
|
||||
2
Task/Unicode-strings/LFE/unicode-strings-3.lfe
Normal file
2
Task/Unicode-strings/LFE/unicode-strings-3.lfe
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
> (unicode:characters_to_list encoded 'utf8)
|
||||
"åäö ð"
|
||||
7
Task/Unicode-strings/Lasso/unicode-strings.lasso
Normal file
7
Task/Unicode-strings/Lasso/unicode-strings.lasso
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
local(unicode = '♥♦♣♠')
|
||||
#unicode -> append('\u9830')
|
||||
#unicode
|
||||
'<br />'
|
||||
#unicode -> get (2)
|
||||
'<br />'
|
||||
#unicode -> get (4) -> integer
|
||||
10
Task/Unicode-strings/Lingo/unicode-strings.lingo
Normal file
10
Task/Unicode-strings/Lingo/unicode-strings.lingo
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
put _system.getInstalledCharSets()
|
||||
-- ["big5", "cp1026", "cp866", "ebcdic-cp-us", "gb2312", "ibm437", "ibm737",
|
||||
"ibm775", "ibm850", "ibm852", "ibm857", "ibm861", "ibm869", "iso-8859-1",
|
||||
"iso-8859-15", "iso-8859-2", "iso-8859-4", "iso-8859-5", "iso-8859-7",
|
||||
"iso-8859-9", "johab", "koi8-r", "koi8-u", "ks_c_5601-1987", "macintosh",
|
||||
"shift_jis", "us-ascii", "utf-16", "utf-16be", "utf-7", "utf-8", "windows-1250",
|
||||
"windows-1251", "windows-1252", "windows-1253", "windows-1254", "windows-1255",
|
||||
"windows-1256", "windows-1257", "windows-1258", "windows-874",
|
||||
"x-ebcdic-greekmodern", "x-mac-ce", "x-mac-cyrillic", "x-mac-greek",
|
||||
"x-mac-icelandic", "x-mac-turkish"]
|
||||
4
Task/Unicode-strings/Nim/unicode-strings.nim
Normal file
4
Task/Unicode-strings/Nim/unicode-strings.nim
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
let c = "abcdé"
|
||||
let Δ = 12
|
||||
let e = "$abcde¢£¤¥©ÇßçIJijŁłʒλπ•₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₵←→⇒∙⌘☺☻ア字文𪚥"
|
||||
echo e
|
||||
19
Task/Unicode-strings/Sidef/unicode-strings.sidef
Normal file
19
Task/Unicode-strings/Sidef/unicode-strings.sidef
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# International class; name and street
|
||||
class 国際( なまえ, Straße ) {
|
||||
|
||||
# Say who am I!
|
||||
method 言え {
|
||||
say "I am #{self.なまえ} from #{self.Straße}";
|
||||
}
|
||||
}
|
||||
|
||||
# all the people of the world!
|
||||
var 民族 = [
|
||||
国際( "高田 Friederich", "台湾" ),
|
||||
国際( "Smith Σωκράτης", "Cantù" ),
|
||||
国際( "Stanisław Lec", "południow" ),
|
||||
];
|
||||
|
||||
民族.each { |garçon|
|
||||
garçon.言え;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue