git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sc: ghost upgrades
[sheet.git]
/
apl.plp
diff --git
a/apl.plp
b/apl.plp
index 929c4243cc7d40cf7044c8056275ef0ed59b8a03..395cf202d2eea6424e9e9bab0944459307f2c451 100644
(file)
--- a/
apl.plp
+++ b/
apl.plp
@@
-27,9
+27,7
@@
EOT
use Shiar_Sheet::FormatChar;
my $glyphs = Shiar_Sheet::FormatChar->new;
use Shiar_Sheet::FormatChar;
my $glyphs = Shiar_Sheet::FormatChar->new;
-
-my @ops = do 'apl.inc.pl';
-@ops > 1 or Abort("cannot open operator include", 500, $@ // $!);
+my $ops = Data('apl');
:>
<h1>APL Symbols</h1>
:>
<h1>APL Symbols</h1>
@@
-49,7
+47,7
@@
my @ops = do 'apl.inc.pl';
<tbody>
<:
<tbody>
<:
-for my $op (@
ops
) {
+for my $op (@
{$ops}
) {
$op or do {
say '<tbody>';
next;
$op or do {
say '<tbody>';
next;
@@
-70,8
+68,8
@@
for my $op (@ops) {
[defined $entity ? 'l4' : $ascii ? 'l5' : 'l1', $entity // "#$codepoint"],
);
printf(
[defined $entity ? 'l4' : $ascii ? 'l5' : 'l1', $entity // "#$codepoint"],
);
printf(
-
defined $_ ? '<td%s>%s' : '<td class=Xi>
',
- map {
!!$_->[1] && qq( title="$_->[1]"), $_->[0]
}
+
'<td%s>%s
',
+ map {
defined ? (!!$_->[1] && qq( title="$_->[1]"), $_->[0]) : (' class=Xi', '')
}
[map { EscapeHTML($_) } split /\n/, $_, 2]
) for $monad, $dyad;
say '</td>';
[map { EscapeHTML($_) } split /\n/, $_, 2]
) for $monad, $dyad;
say '</td>';