alphabet-encoder 0.1.1

A quick and dirty way to deal with escape characters
Documentation
  • Coverage
  • 71.43%
    5 out of 7 items documented0 out of 5 items with examples
  • Size
  • Source code size: 6.92 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 272.07 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • jakevossen5/alphabet-encoder
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jakevossen5

alphabet-encoder

Currently work in progress, this crate will provide an easy way to encode and decode strings and charachters into "alphabet encoding".

Alphabet encoding is a simple encoding scheme created by a professor of mine - Kieth Hellman and was used during a compilers course. The description is simple and very easy to understand:

Characters NOT in the sets 0-9, A-Z, a-w, or y-z (notice the missing x) are always written in a hexadecimal escape sequence: xHH where H is an upper or lower case hexadecimal value. Other characters may be written in escaped form (xHH) or as their visual glyph (for instance A for ASCII decimal code 65).

This code is currently only tested with ASCII characters, but non-ascii characters should work as well.

TODOs

  • Be able to decode arbitrary strings
  • Test with non-ascii charachters
  • Create documentations and examples on README/crates.io