public inbox for keks@lists.stargrave.org
Atom feed
* Backwards-incompatible tags changes
@ 2026-06-23 12:33 Sergey Matveev
  0 siblings, 0 replies; only message in thread
From: Sergey Matveev @ 2026-06-23 12:33 UTC (permalink / raw)
  To: keks

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

Greetings!

Tag values for all data types, except for strings, are changed from
sequential binary values to ASCII printable ones. That way one may
easily remember the whole KEKS encoding table and recreate it from
the ground.

    tag     | old | new
    --------+-----+----
    EOC     | 00  | '.'
    NIL     | 01  | '!'
    FALSE   | 02  | 'f'
    TRUE    | 03  | 't'
    LIST    | 08  | 'L'
    MAP     | 09  | 'M'
    BLOB    | 0B  | 'B'
    +INT    | 0C  | '+'
    -INT    | 0D  | '-'
    NaN     | 10  | '_'
    +inf    | 11  | '>'
    -inf    | 12  | '<'
    FLOAT   | 13  | '~'
    TAI64   | 18  | 'T'
    TAI64N  | 19  | 'N'
    TAI64NA | 1A  | 'A'
    MAGIC   | 4B  | 'K' (not changed)

-- 
 * Origin: Stargrave's homepage http://www.stargrave.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 265 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-23 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 12:33 Backwards-incompatible tags changes Sergey Matveev