https://github.com/abrudz/sbcs
.dyalog files using a single byte charater set
https://github.com/abrudz/sbcs
apl code-golf codegolf dyalog dyalog-apl dyalog-files dyalogapl encoding-convertors
Last synced: about 2 months ago
JSON representation
.dyalog files using a single byte charater set
- Host: GitHub
- URL: https://github.com/abrudz/sbcs
- Owner: abrudz
- License: unlicense
- Created: 2017-12-05T21:04:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T09:23:16.000Z (over 5 years ago)
- Last Synced: 2025-02-10T15:30:38.655Z (3 months ago)
- Topics: apl, code-golf, codegolf, dyalog, dyalog-apl, dyalog-files, dyalogapl, encoding-convertors
- Language: APL
- Size: 9.77 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
Use these functions to enable storing Dyalog APL souce files in singe-byte files, even if they contain the characters `⊆` `⍠` `⍤` `⌸` `⌺` `⍸` which are not included in the Dyalog Classic character set (`⎕AV`).Store a .dyalog file as a SBCS file:
1. Start Dyalog APL
2. Load SBCS.dyalog with `⎕FIX'file://path/SBCS.dyalog'`
3. Enter `'path1/code.dyalog' SBCS.To 'path2/code.sbcs'`
Regenerate a .dyalog file from a SBCS file:1. Start Dyalog APL
2. Load SBCS.dyalog with `⎕FIX'file://path/SBCS.dyalog'`
3. Enter `'path1/code.dyalog' SBCS.From 'path2/code.sbcs'`
The result of both functions is the number of bytes written.