Find Related products on Amazon

Shop on Amazon

ASCII Lookup Utility in Ada

Published on: 2025-04-25 19:12:09

ASCII lookup utility in Ada When working with old digital synthesizers from the 1980s and 1990s (and some newer ones too) I often have the need to quickly look up the identity of a byte that seems like an ASCII character code. For example, in MIDI System Exclusive format files there are often names of sound patches or "voices". When writing programs to process these formats it is handy to do a quick check, because even (or especially?) after nearly 40 years at this thing I still haven't memorized the ASCII codes. Why ASCII and not Unicode? For the simple reason that these old formats were created at a time when Unicode didn't even exist yet, or was in its very early times. A full-scale Unicode lookup utility would be great, but I haven't found one, or even looked very hard for one. I have done a utility like this earlier in Rust, and you can find asc-rs on GitHub. However, I wanted to learn more Ada, and also show how this kind of utility could be produced using GNAT. You don't nee ... Read full article.