]> Cypherpunks repositories - keks.git/commit
HEXLET instead of UUID
authorSergey Matveev <stargrave@stargrave.org>
Thu, 6 Mar 2025 09:30:43 +0000 (12:30 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 6 Mar 2025 09:30:44 +0000 (12:30 +0300)
commita3755b2db716077a4542f18783f0b4ec54214d14c9c4e48f983fc9bd5d347dea
tree0536061aea584f200d714de6410cac3fa1486762a871b5f9a30317d892e0270c
parent743b7dd58e33914199a5de5ee405b9932d1368a07884571eb5b9259bfc0f2950
HEXLET instead of UUID

UUID does not have all values of its Version field to be validly
acceptable. So not all possible 128-bit values are valid UUIDs.
Either we force UUID validation in all decoders, or we do not
require that value to be UUID at all. But it is still convenient
to be pretty printed.
28 files changed:
go/atom-decode.go
go/atom-encode.go
go/atomtype_string.go
go/cm/cmd/enctool/main.go
go/cmd/pp/main.go
go/cmd/test-vector-anys/main.go
go/cmd/test-vector-manual/main.go
go/cmd/textdump-tester/main.go
go/ctx.go
go/encode.go
go/hexlet.go [new file with mode: 0644]
go/hexlet_test.go [moved from go/uuid_test.go with 75% similarity]
go/iter.go
go/type.go
go/types/type.go
go/types/type_string.go
go/unmarshal.go
py3/keks.py
py3/test-vector.py
py3/tests/strategies.py
py3/tests/test_hexlet.py [moved from py3/tests/test_uuid.py with 84% similarity]
py3/tests/textdump-tester
spec/encoding/hexlet.texi [new file with mode: 0644]
spec/encoding/index.texi
spec/encoding/table.texi
spec/encoding/uuid.texi [deleted file]
tcl/keks.tcl
tcl/test-vector.tcl