Skip to content

Commit 90c406f

Browse files
committed
More misc. improvements, and update xml and csv sources.
1 parent 0618e8a commit 90c406f

10 files changed

+32
-17
lines changed

TI-84_Plus_CE_catalog-tokens.json

+13-8
Original file line numberDiff line numberDiff line change
@@ -2828,8 +2828,8 @@
28282828
}
28292829
},
28302830
"0xEF12": {
2831-
"name": "ExecLib",
2832-
"type": "action",
2831+
"name": "ExecLib ",
2832+
"type": "execlib",
28332833
"categories": [
28342834
"Libraries"
28352835
],
@@ -2845,7 +2845,7 @@
28452845
}
28462846
],
28472847
"localizations": {
2848-
"FR": "ExécBiblio"
2848+
"FR": "ExécBiblio "
28492849
},
28502850
"since": {
28512851
"TI-84+": "0.01"
@@ -11948,6 +11948,7 @@
1194811948
},
1194911949
"0xEF40": {
1195011950
"name": "STATWIZARD OFF",
11951+
"accessibleName": "[STATWIZARD OFF]",
1195111952
"type": "action",
1195211953
"categories": [],
1195311954
"syntaxes": [
@@ -11965,10 +11966,14 @@
1196511966
],
1196611967
"localizations": {
1196711968
"FR": "STATWIZARD OFF"
11969+
},
11970+
"since": {
11971+
"TI-84+": "2.55"
1196811972
}
1196911973
},
1197011974
"0xEF3F": {
1197111975
"name": "STATWIZARD ON",
11976+
"accessibleName": "[STATWIZARD ON]",
1197211977
"type": "action",
1197311978
"categories": [],
1197411979
"syntaxes": [
@@ -11986,6 +11991,9 @@
1198611991
],
1198711992
"localizations": {
1198811993
"FR": "STATWIZARD ON"
11994+
},
11995+
"since": {
11996+
"TI-84+": "2.55"
1198911997
}
1199011998
},
1199111999
"0xBB0D": {
@@ -22174,8 +22182,8 @@
2217422182
},
2217522183
"0xBB9B": {
2217622184
"name": "`",
22185+
"accessibleName": "|`",
2217722186
"nameVariants": [
22178-
"|`",
2217922187
"^^`"
2218022188
],
2218122189
"type": "text/symbol only",
@@ -24197,9 +24205,6 @@
2419724205
"0xBBF5": {
2419824206
"name": "",
2419924207
"accessibleName": "invertedequal",
24200-
"nameVariants": [
24201-
""
24202-
],
2420324208
"type": "text/symbol only",
2420424209
"categories": [
2420524210
"Char > Other"
@@ -24217,7 +24222,7 @@
2421724222
"FR": ""
2421824223
},
2421924224
"since": {
24220-
"TI-83+": "1.16|⍯"
24225+
"TI-83+": "1.16"
2422124226
}
2422224227
},
2422324228
"0xBC": {

categories/Libraries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Libraries
22

3-
* <a href="../tokens/ExecLib.md" title="0xEF12">ExecLib</a>
3+
* <a href="../tokens/ExecLib.md" title="0xEF12">ExecLib </a>
44
* <a href="../tokens/OpenLib(.md" title="0xEF11">OpenLib(</a>
55

tokens/0xEF11.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ Extends TI-Basic. (Not available.)
2121

2222
## Description
2323

24-
Together with <tt><a href="ExecLib.md">ExecLib</a></tt>, <tt>OpenLib(</tt> is used on the TI-84 Plus and TI-84 Plus SE for running routines from a Flash App library. This only works, of course, with libraries that have been specifically written for this purpose. The only such library so far is [usb8x](http://usb8x.sourceforge.net/), for advanced interfacing with the USB port.
24+
Together with <tt><a href="ExecLib.md">ExecLib </a></tt>, <tt>OpenLib(</tt> is used on the TI-84 Plus and TI-84 Plus SE for running routines from a Flash App library. This only works, of course, with libraries that have been specifically written for this purpose. The only such library so far is [usb8x](http://usb8x.sourceforge.net/), for advanced interfacing with the USB port.
2525

26-
The following program, which displays the version of usb8x, is an example of how to use <tt>OpenLib(</tt> and <tt>ExecLib</tt>:
26+
The following program, which displays the version of usb8x, is an example of how to use <tt>OpenLib(</tt> and <tt>ExecLib </tt>:
2727

2828
```ti-basic
2929
:OpenLib(USBDRV8X
3030
:{6
31-
:ExecLib
31+
:ExecLib
3232
:Ans(2)+.01Ans(3
3333
```
3434

3535
## Related Commands
3636

37-
* <tt><a href="ExecLib.md">ExecLib</a></tt>
37+
* <tt><a href="ExecLib.md">ExecLib </a></tt>
3838

3939
* * *
4040

tokens/0xEF12.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
|---------------|-------|
33
| Hex Value | `$EF12`|
44
| Categories | <ul><li>[Libraries](<../categories/Libraries.md>)</li></ul> |
5-
| Localizations | <ul><li><b>FR</b>: `ExécBiblio`</li></ul> |
5+
| Localizations | <ul><li><b>FR</b>: `ExécBiblio `</li></ul> |
66

7-
# `ExecLib`
7+
# `ExecLib `
88

99
## Overview
1010
Extends TI-Basic (not available)

tokens/0xEF3F.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ code 2
4343
## History
4444
| Calculator | OS Version | Description |
4545
|------------|------------|-------------|
46+
| <b>TI-84+</b> | 2.55 | Added |
4647

4748
## Related Commands
4849

tokens/0xEF40.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ code 2
4343
## History
4444
| Calculator | OS Version | Description |
4545
|------------|------------|-------------|
46+
| <b>TI-84+</b> | 2.55 | Added |
4647

4748
## Related Commands
4849

tokens/[STATWIZARD OFF].md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0xEF40.md

tokens/[STATWIZARD ON].md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0xEF3F.md

tokens/`_(char).md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0xBB9B.md

wikipages-gen.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ const capitalizeFirstLetter = function(str) {
77
}
88

99
const emptyDir = function(dir) {
10+
if (!fs.existsSync(dir)) { return; }
1011
for (const file of fs.readdirSync(dir)) {
1112
fs.unlinkSync(`${dir}/${file}`);
1213
}
1314
}
1415

1516
const cleanTokNameForFile = function(tokName, bytes, extraSuffix, isAlias) {
1617
tokName = tokName.replace(/\/Y$/, '_Y').replace(/^\|$/, '(pipe_symbol)').replace(/^>/, 'to');
17-
tokName = tokName.replace(/^¨/u, '(diaeresis)').replace(/^´/u, '(acute_acc)').replace(/^'/, '(apostrophe)').replace(/^_/, '(underscore)');
18+
tokName = tokName.replace(/^~/u, '(tilde)').replace(/^¨/u, '(diaeresis)').replace(/^´/u, '(acute_acc)').replace(/^'/, '(apostrophe)').replace(/^_/, '(underscore)');
1819
return (isAlias || /^\[?\|(.*?)\]?$/.test(tokName))
1920
? (sanitize(`${tokName.replace(/^\[?\|(.*?)\]?$/, '$1')}_${extraSuffix}`) || bytes)
2021
: (sanitize(tokName) || bytes);
@@ -25,6 +26,9 @@ const tokens = JSON.parse(fs.readFileSync('./output/TI-84_Plus_CE_catalog-tokens
2526
emptyDir('./output/wikipages/categories');
2627
emptyDir('./output/wikipages/tokens');
2728

29+
fs.mkdirSync('output/wikipages/tokens');
30+
fs.mkdirSync('output/wikipages/categories');
31+
2832
const pagesByCat = {};
2933
const bytes2filename = {};
3034
const filenamesUsedSoFar = {};
@@ -148,7 +152,8 @@ ${info.specialCategory}
148152
if (filenamesUsedSoFar[cleanAccessibleName.toLocaleLowerCase()]) {
149153
cleanAccessibleName += `_(${bytes.substring(2)})`;
150154
}
151-
cleanAccessibleName = cleanAccessibleName.replace(/^¨/u, '(diaeresis)').replace(/^´/u, '(acute_acc)').replace(/^'/, '(apostrophe)').replace(/^_/, '(underscore)');
155+
cleanAccessibleName = cleanAccessibleName.replace(/^~/u, '(tilde)').replace(/^¨/u, '(diaeresis)')
156+
.replace(/^´/u, '(acute_acc)').replace(/^'/, '(apostrophe)').replace(/^_/, '(underscore)');
152157
}
153158

154159
// tibd stuff

0 commit comments

Comments
 (0)