Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
require 'web/gethttp xml/sax/x2j regex'
|
||||
|
||||
x2jclass 'rcPopLang'
|
||||
|
||||
rx =: (<0 1) {:: (2#a:) ,~ rxmatches rxfrom ]
|
||||
|
||||
'Popular Languages' x2jDefn
|
||||
/ := langs : langs =: 0 2 $ a:
|
||||
html/body/div/div/div/ul/li := langs =: langs ,^:(a:~:{.@[)~ lang ; ' \((\d+) members?\)' rx y
|
||||
html/body/div/div/div/ul/li/a := lang =: '^\s*((?:.(?!User|Tasks|Omit|attention|operations|by))+)\s*$' rx y
|
||||
)
|
||||
|
||||
cocurrent'base'
|
||||
|
||||
sortTab =. \: __ ". [: ;:^:_1: {:"1
|
||||
formatTab =: [: ;:^:_1: [: (20 A. (<'-') , |. , [: ('.' <"1@:,.~ ":) 1 + 1 i.@,~ 1{$)&.|: sortTab f.
|
||||
|
||||
rcPopLangs =: formatTab@:process_rcPopLang_@:gethttp
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
10 {. rcPopLangs 'http://www.rosettacode.org/w/index.php?title=Special:Categories&limit=2000'
|
||||
1. 687 - Tcl
|
||||
2. 646 - Python
|
||||
3. 637 - C
|
||||
4. 626 - PicoLisp
|
||||
5. 612 - J
|
||||
6. 587 - Go
|
||||
7. 556 - Ada
|
||||
8. 550 - D
|
||||
9. 549 - Mathematica
|
||||
10. 526 - Perl
|
||||
Loading…
Add table
Add a link
Reference in a new issue