Commit Graph

160 Commits

Author SHA1 Message Date
81ac10508b tape: Change how slice skeletons are generated, support nested OTAs 2025-06-29 10:27:40 -04:00
4930215166 tape: Make decoder inherit bufio.Writer 2025-06-28 11:24:32 -04:00
e1f58a194a tape: In progress testing of dynamic encoding/decoding 2025-06-28 06:24:44 -04:00
37eccc91c0 tape: Progress on dynamically decoding OTAs 2025-06-28 06:23:51 -04:00
08fe3d45dd tape: Encoder inherits bufio.Writer, need to do same for decoder 2025-06-28 06:23:18 -04:00
3eb826735b tape: Send reflect values where possible instead of pointers 2025-06-27 19:05:17 -04:00
2a4e88d949 tape: Fix size decoding math 2025-06-27 17:04:20 -04:00
aa718cfe9f tape: DecodeAny only returns an error when there is one 2025-06-27 14:03:49 -04:00
b174015319 tape: Fix KTV decoding not recognizing the any type 2025-06-27 14:02:38 -04:00
e16fec3a81 tape: Fixes to dynamic encoding 2025-06-24 16:08:35 -04:00
712b4f521c internal/testutil: Fix Snake giving false positives for long data 2025-06-24 15:00:20 -04:00
604faf0995 tape: Fix comment 2025-06-24 14:43:03 -04:00
9932abd6c4 tape: Implement dynamic decoding (untested) 2025-06-24 14:39:16 -04:00
1bc0788ff2 tape: Fix Encoder.WriteUintN not using the value AT ALL! 2025-06-24 14:38:01 -04:00
477e56d359 tape: Add String method to Tag 2025-06-24 14:37:45 -04:00
e3487d26a1 internal/testutil: Add test utility package 2025-06-24 14:37:06 -04:00
89153dd7bd tape: Add Tag.WithoutCN for easier comparison 2025-06-21 19:27:58 -04:00
65e8d51590 tape: Remove GBEU 2025-06-21 19:27:31 -04:00
7b8240cec6 tape: Add tag functions to the encoder 2025-06-21 19:26:15 -04:00
663cab6b77 tape: Add float functions to the encoder 2025-06-21 18:33:25 -04:00
376a3f1b46 generate: Use tape.EncodeAny for encoding undefined tables 2025-06-20 18:41:11 -04:00
c4407d9759 tape: Implement encoding for "any" values 2025-06-20 18:39:16 -04:00
285e83d995 Merge codec and tape packages 2025-06-20 15:55:37 -04:00
ce503c4689 Big nasty commit to add code generation for encoding 2025-06-20 15:05:58 -04:00
a1f297e5b5 generate: Remove commented out import 2025-06-08 06:01:28 -04:00
272a4da3c2 Remove markdown, add goparse from go.modo 2025-06-07 22:39:12 -04:00
6bc98b3f77 generate: Add PDL language structures 2025-06-07 22:38:20 -04:00
8ece6436b8 generate: Add PDL parser 2025-06-07 22:38:02 -04:00
127aa23a61 generate: Add PDL lexer 2025-06-05 22:06:22 -04:00
bb5fc89cc5 design: Remove requirement for magic bytes in PDL file 2025-06-05 20:28:23 -04:00
0ed55bcbc2 design: Rename pdl.md to pdl-language.md 2025-06-04 13:02:55 -04:00
ee94e87a6a design: EBNF correction 2025-06-04 13:01:51 -04:00
64eea2b5fa design: Separate PDL language and compiler documents 2025-06-04 13:01:34 -04:00
44b174c161 design: Flesh out PDL document 2025-06-04 12:46:20 -04:00
ec965caa27 codec: Add Encodable, Decodable interfaces 2025-06-04 12:20:04 -04:00
1f62f6d973 design: PDL Idents should always start with capitals 2025-06-04 10:40:14 -04:00
385c5a5972 design: Markdown fixes lol 2025-06-04 10:38:42 -04:00
d67a4fb9f2 generate: Clean slate 2025-06-04 10:37:03 -04:00
b261aa32f1 design: Initial PDL design 2025-06-04 10:36:01 -04:00
b85f3e7866 tape: Clean slate 2025-06-01 23:06:28 -04:00
38132dc58c design: Add note about TAPE root values 2025-06-01 23:04:24 -04:00
99392d50fc design: Remove description of NIL value 2025-05-31 06:18:03 -04:00
c4a985f622 design: New TAPE design 2025-05-30 21:34:31 -04:00
58514f6afe codec: Add missing WriteByte function 2025-05-30 07:08:43 -04:00
83fa77ba13 codec: Add codec package to handle encoding and decoding ints, etc 2025-05-30 07:05:55 -04:00
717754644c tape: Fix capitalization of Uint 2025-05-23 00:15:56 -04:00
134daacc03 tape: Switch StringArray over to using VILA 2025-05-23 00:04:57 -04:00
a927b9519e tape: Update tape.String to include ~[]byte 2025-05-23 00:03:39 -04:00
32df336c3e tape: Add DecodeVILAIter 2025-05-22 23:44:20 -04:00
2b3a53052f tape: Implement PASTA and VILA encoding/decoding 2025-05-22 13:26:42 -04:00