X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/4e9a4a380d4bc5fc523ef5db79ace506934b9846..ce93e984084764f24f25324e8033c405b7e768f5:/apl.plp?ds=sidebyside diff --git a/apl.plp b/apl.plp index 6fc7cad..9ca9970 100644 --- a/apl.plp +++ b/apl.plp @@ -2,13 +2,27 @@ Html({ title => 'APL', - version => 'v1.0', + version => '1.0', description => [ ], keywords => [qw' '], stylesheet => [qw'light circus dark red'], data => [qw'apl.inc.pl'], + raw => <<'EOT', + +EOT }); use Shiar_Sheet::FormatChar; @@ -21,7 +35,7 @@ my @ops = do 'apl.inc.pl';
op @@ -32,44 +46,40 @@ my @ops = do 'apl.inc.pl'; | di | html | monadic | dyadic - | |
%s', $chr, EscapeHTML($name || '?'), $class; printf ' | %s', @{$_} for ( [$ascii ? 'l5' : defined $altkey ? 'l4' : 'l3', $altkey], [defined $mnem ? $class =~ /\bu-di\b/ ? 'l4' : 'l3' : $ascii ? 'l5' : 'l1', EscapeHTML($mnem) // sprintf('%s%0*X', $codepoint < 256 ? (x => 2) : (u => 4), $codepoint)], - [defined $html ? 'l4' : $ascii ? 'l5' : 'l1', $html // "#$codepoint"], + [defined $entity ? 'l4' : $ascii ? 'l5' : 'l1', $entity // "#$codepoint"], ); printf( - defined $_ ? ' | %s' : ' | ', - map { EscapeHTML($_) } split /\n/, $_, 2 + defined $_ ? ' | %s' : ' | ', + map { !!$_->[1] && qq( title="$_->[1]"), $_->[0] } + [map { EscapeHTML($_) } split /\n/, $_, 2] ) for $monad, $dyad; - print "\n"; + say ' | '; } :>
---|
unicode 1.1 - | 20th century - | in 6.0 (2010) - | recent assignments - | proposed - | irregular - |