Skip to content

Instantly share code, notes, and snippets.

@aurora
Forked from arcusfelis/gist:1171281
Created October 15, 2012 13:08
Show Gist options
  • Save aurora/3892372 to your computer and use it in GitHub Desktop.
Save aurora/3892372 to your computer and use it in GitHub Desktop.
CLDR Collation Erlsom Model
{type,collation,sequence,
[{el,[{alt,suppress_contractions,'collation/SEQ1',[],1,1,false,
undefined},
{alt,special,'collation/SEQ1',[],1,1,false,undefined},
{alt,settings,'collation/SEQ1',[],1,1,false,undefined},
{alt,rules,'collation/SEQ1',[],1,1,false,undefined},
{alt,optimize,'collation/SEQ1',[],1,1,false,undefined},
{alt,base,'collation/SEQ1',[],1,1,false,undefined},
{alt,alias,alias,[],1,1,true,undefined}],
1,1,7}],
[{att,type,1,true,char},
{att,draft,2,true,char},
{att,standard,3,true,char},
{att,references,4,true,char},
{att,alt,5,true,char},
{att,validSubLocales,6,true,char}],
undefined,undefined,8,1,1,undefined,undefined},
{type,'collation/SEQ1',sequence,
[{el,[{alt,base,base,[],1,1,true,undefined}],0,1,1},
{el,[{alt,settings,settings,[],1,1,true,undefined}],0,1,2},
{el,[{alt,suppress_contractions,suppress_contractions,[],1,1,
true,undefined}],
0,1,3},
{el,[{alt,optimize,optimize,[],1,1,true,undefined}],0,1,4},
{el,[{alt,rules,rules,[],1,1,true,undefined}],0,1,5},
{el,[{alt,special,any,[],1,1,true,undefined}],0,unbound,6}],
[],undefined,undefined,7,1,1,undefined,undefined},
{type,collations,sequence,
[{el,[{alt,special,'collations/SEQ1',[],1,1,false,undefined},
{alt,default,'collations/SEQ1',[],1,1,false,undefined},
{alt,collation,'collations/SEQ1',[],1,1,false,undefined},
{alt,alias,alias,[],1,1,true,undefined}],
1,1,4}],
[{att,version,1,true,char},
{att,draft,2,true,char},
{att,validSubLocales,3,true,char}],
undefined,undefined,5,1,1,undefined,undefined},
{type,'collations/SEQ1',sequence,
[{el,[{alt,default,default,[],1,1,true,undefined}],0,unbound,1},
{el,[{alt,collation,collation,[],1,1,true,undefined}],
0,unbound,2},
{el,[{alt,special,any,[],1,1,true,undefined}],0,unbound,3}],
[],undefined,undefined,4,1,1,undefined,undefined},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment