Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@
<div class="dropdown-item" data-lang="kap">
<img src="assets/kap.png" alt="Kap">
<span class="lang-name">Kap</span>
<span class="lang-version">2026-07-22</span>
<span class="lang-version">2026-07-28</span>
</div>
<div class="dropdown-item" data-lang="tinyapl">
<img src="assets/tinyapl.svg" alt="TinyAPL">
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-og-languages.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const LANGS = [
{ name: 'Uiua', version: '0.19.0-dev.4', file: 'uiua.png' },
// Row 2
{ name: 'J', version: 'J9.8.0-beta6', file: 'j_logo.svg' },
{ name: 'Kap', version: '2026-07-22', file: 'kap.png' },
{ name: 'Kap', version: '2026-07-28', file: 'kap.png' },
{ name: 'TinyAPL', version: '0.13-beta', file: 'tinyapl.svg' },
];

Expand Down
2 changes: 1 addition & 1 deletion scripts/known-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"cbqn": "v0.12.0",
"uiua": "0.19.0-dev.4",
"j": "9.8.0-beta6",
"kap": "20260722-1",
"kap": "20260728-1",
"tinyapl": "0.12.0"
}
2 changes: 1 addition & 1 deletion wasm/kap/standalonejs.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions wasm/kap/standard-lib/output3.kap
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ replaceChars ⇐ {
renderString ⇐ {
s ← ⍵
adjusted ← if ((+/maxStringLength)≥≢s) { s } else { ((↑maxStringLength)↑s) , "[...]" , ((-↑↓maxStringLength)↑s) }
res ← zSpc ⊃ (@\n≠)⍛⊂ @",(replaceChars adjusted),@"
res ← (⊃ int:proto @\s) (@\n≠)⍛⊂ @",(replaceChars adjusted),@"
⍝ Assign information about the underlying string to the top-left corner of the string.
⍝ The display function in the UI can use this information to allow the user to see
⍝ the whole string by selecting it in some way.
Expand Down Expand Up @@ -76,7 +76,7 @@ renderString ⇐ {
colWidths ← ⌈⌿ (↑↓⍴)¨ v
rowHeights ← ⌈/ ≢¨ v
⍝ Pad each cell with spaces to align the sizes
(rowHeights ,⌻ -1+colWidths) (zSpc↑)¨ v
(rowHeights ,⌻ -1+colWidths) (↑ int:proto @\s)¨ v
}

trimVert ⇐ {
Expand Down Expand Up @@ -210,7 +210,7 @@ withBorder ⇐ {
∇ withBorderAndTitle (a ; header ; syms) {
width ← (≢header) ⌈ (↑↓⍴a)
top ← syms[0] , header , ((width-≢header) ⍴ syms[4]) , syms[1]
middle ← syms[5] , (zSpc (≢a) width a) , syms[5]
middle ← syms[5] , ((≢a) width (↑ int:proto @\s) a) , syms[5]
bottom ← syms[2] , (width ⍴ syms[4]) , syms[3]
top ⍪ middle ⍪ bottom
}
Expand Down
Loading