Commit Graph
196 Commits
Author SHA1 Message Date
sashakoshka 477e56d359 tape: Add String method to Tag 2025-06-24 14:37:45 -04:00
sashakoshka e3487d26a1 internal/testutil: Add test utility package 2025-06-24 14:37:06 -04:00
sashakoshka 89153dd7bd tape: Add Tag.WithoutCN for easier comparison 2025-06-21 19:27:58 -04:00
sashakoshka 65e8d51590 tape: Remove GBEU 2025-06-21 19:27:31 -04:00
sashakoshka 7b8240cec6 tape: Add tag functions to the encoder 2025-06-21 19:26:15 -04:00
sashakoshka 663cab6b77 tape: Add float functions to the encoder 2025-06-21 18:33:25 -04:00
sashakoshka 376a3f1b46 generate: Use tape.EncodeAny for encoding undefined tables 2025-06-20 18:41:11 -04:00
sashakoshka c4407d9759 tape: Implement encoding for "any" values 2025-06-20 18:39:16 -04:00
sashakoshka 285e83d995 Merge codec and tape packages 2025-06-20 15:55:37 -04:00
sashakoshka ce503c4689 Big nasty commit to add code generation for encoding 2025-06-20 15:05:58 -04:00
sashakoshka a1f297e5b5 generate: Remove commented out import 2025-06-08 06:01:28 -04:00
sashakoshka 272a4da3c2 Remove markdown, add goparse from go.modo 2025-06-07 22:39:12 -04:00
sashakoshka 6bc98b3f77 generate: Add PDL language structures 2025-06-07 22:38:20 -04:00
sashakoshka 8ece6436b8 generate: Add PDL parser 2025-06-07 22:38:02 -04:00
sashakoshka 127aa23a61 generate: Add PDL lexer 2025-06-05 22:06:22 -04:00
sashakoshka bb5fc89cc5 design: Remove requirement for magic bytes in PDL file 2025-06-05 20:28:23 -04:00
sashakoshka 0ed55bcbc2 design: Rename pdl.md to pdl-language.md 2025-06-04 13:02:55 -04:00
sashakoshka ee94e87a6a design: EBNF correction 2025-06-04 13:01:51 -04:00
sashakoshka 64eea2b5fa design: Separate PDL language and compiler documents 2025-06-04 13:01:34 -04:00
sashakoshka 44b174c161 design: Flesh out PDL document 2025-06-04 12:46:20 -04:00
sashakoshka ec965caa27 codec: Add Encodable, Decodable interfaces 2025-06-04 12:20:04 -04:00
sashakoshka 1f62f6d973 design: PDL Idents should always start with capitals 2025-06-04 10:40:14 -04:00
sashakoshka 385c5a5972 design: Markdown fixes lol 2025-06-04 10:38:42 -04:00
sashakoshka d67a4fb9f2 generate: Clean slate 2025-06-04 10:37:03 -04:00
sashakoshka b261aa32f1 design: Initial PDL design 2025-06-04 10:36:01 -04:00
sashakoshka b85f3e7866 tape: Clean slate 2025-06-01 23:06:28 -04:00
sashakoshka 38132dc58c design: Add note about TAPE root values 2025-06-01 23:04:24 -04:00
sashakoshka 99392d50fc design: Remove description of NIL value 2025-05-31 06:18:03 -04:00
sashakoshka c4a985f622 design: New TAPE design 2025-05-30 21:34:31 -04:00
sashakoshka 58514f6afe codec: Add missing WriteByte function 2025-05-30 07:08:43 -04:00
sashakoshka 83fa77ba13 codec: Add codec package to handle encoding and decoding ints, etc 2025-05-30 07:05:55 -04:00
sashakoshka 717754644c tape: Fix capitalization of Uint 2025-05-23 00:15:56 -04:00
sashakoshka 134daacc03 tape: Switch StringArray over to using VILA 2025-05-23 00:04:57 -04:00
sashakoshka a927b9519e tape: Update tape.String to include ~[]byte 2025-05-23 00:03:39 -04:00
sashakoshka 32df336c3e tape: Add DecodeVILAIter 2025-05-22 23:44:20 -04:00
sashakoshka 2b3a53052f tape: Implement PASTA and VILA encoding/decoding 2025-05-22 13:26:42 -04:00
sashakoshka 23c3efa845 tape: Improve table tests 2025-05-18 21:32:08 -04:00
sashakoshka 0e7e935374 tape: Make table decoding more robust 2025-05-18 17:59:05 -04:00
sashakoshka dd5325b351 tape: Fix table decoding restarting after each pull 2025-05-18 16:34:28 -04:00
sashakoshka 37c3e49833 tape: Fix types_test.go not getting values for n in some cases 2025-05-18 16:32:27 -04:00
sashakoshka 6e5a7115d3 tape: Fix "n" size returned by DecodeGBEU 2025-05-18 16:26:08 -04:00
sashakoshka f4fb5e80b9 tape: Test "n" sizes of integer types 2025-05-18 16:22:52 -04:00
sashakoshka 3a88619f9b tape: Add back iter compatibility for table decoding 2025-05-18 16:12:55 -04:00
sashakoshka 568431f4c3 tape: Improve table decoding 2025-05-18 16:08:47 -04:00
sashakoshka f50b2ca0cd tape: Remove old "pairs" encoding 2025-05-18 15:51:45 -04:00
sashakoshka 3d8a012477 tape: Add table encoding/decoding functions 2025-05-18 15:50:24 -04:00
sashakoshka 4f3b256821 tape: Integer encoding accepts oversize buffers now 2025-05-18 14:49:43 -04:00
sashakoshka 2080d60793 tape: Remove array tests from types_test.go 2025-05-18 14:47:11 -04:00
sashakoshka c3337641bc tape: Break out array code into separate file 2025-05-18 00:06:50 -04:00
sashakoshka 4438210963 tape: Add N length support to all types 2025-05-17 23:55:56 -04:00