Commit Graph
100 Commits
Author SHA1 Message Date
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
sashakoshka 8d5ba2fa39 tape: EncodeGBEU returns the amount of bytes written 2025-05-17 10:38:50 -04:00
sashakoshka a05c034313 tape: Clean up 2025-05-16 21:42:40 -04:00
sashakoshka 1b25e306a6 tape: Add GBEU encoding/decoding support 2025-05-16 21:27:11 -04:00
sashakoshka dd5e7e96d5 design: Remove note about this limitation 2025-05-15 17:56:41 -04:00
sashakoshka 835d623087 Change the protocol definition for tape to conform to #2 2025-05-15 17:49:29 -04:00
sashakoshka 83443b8c88 design: Fix documentation on message payload length 2025-05-14 15:15:03 -04:00
sashakoshka 0b98c768b3 Fix some outdated doc comments 2025-05-14 14:44:27 -04:00
sashakoshka 218949bd46 Remove quic
It's clear it won't survive this change because I can't even test
it, so who knows if its good enough to have in main.
2025-05-14 14:39:19 -04:00
sashakoshka 2fdf7d490d Remove unneeded code 2025-05-14 13:52:03 -04:00
sashakoshka d60beccbcd Finally fix A... this took too long 2025-05-14 13:44:06 -04:00
sashakoshka 23c37c3d1f Fix transaction ID counting 2025-04-25 19:57:33 -04:00
sashakoshka a83aedc128 Break METADAPT-A client/server environment from TestConnA 2025-04-25 18:38:01 -04:00
sashakoshka c0bfcc02f7 Send a close message when METADAPT-A transactions close 2025-04-25 18:19:43 -04:00
sashakoshka 7a0bf64c17 Implement SendWriter for METADAPT-B 2025-04-25 18:15:38 -04:00
sashakoshka 9d2bbec7f9 Update METADAPT-A implementation 2025-04-25 18:14:47 -04:00
sashakoshka dd89245c34 Change the result of Trans.SendWriter to a WriteCloser 2025-04-25 18:06:00 -04:00
sashakoshka 41f5cfefab Implement SendWriter for METADAPT-A 2025-04-25 17:53:12 -04:00
sashakoshka 8a3df95491 Clarify concurrency in Trans methods 2025-04-25 16:06:17 -04:00
sashakoshka c51a81bc13 Add a SendWriter method to Trans 2025-04-25 16:02:23 -04:00
sashakoshka 47645a8fce Pass TestDecodeMessageBErr 2025-04-25 15:26:12 -04:00
sashakoshka 87c4ac8efb More robust integer comparison 2025-04-25 15:21:52 -04:00
sashakoshka f6fe9c307d This should have been in the last commit 2025-04-25 15:17:32 -04:00
sashakoshka 9bf0c596ba Make TestEncodeMessageAErr pass 2025-04-25 15:12:01 -04:00
sashakoshka 86cf3ee89d Make the TestConnA pass 2025-04-25 15:08:31 -04:00
sashakoshka 8fe3ba8d4f Close METADAPT-A transaction channel 2025-04-25 15:07:47 -04:00
sashakoshka cbaff8b593 Allow readerA.pull to return an actual result 2025-04-25 14:15:53 -04:00
sashakoshka 46c6361602 Encode METADAPT-A MMBs properly lmao 2025-04-22 20:10:57 -04:00
sashakoshka fac0c4e31d Actually use defaultSizeLimit 2025-04-22 20:03:40 -04:00
sashakoshka 945d81c505 METADAPT-B tests run 2025-04-21 20:51:02 -04:00
sashakoshka f34620c434 METADAPT-A tests run 2025-04-21 20:50:33 -04:00
sashakoshka 7a766b74d8 Name return values of decodeMessageA 2025-04-21 20:49:58 -04:00
sashakoshka 6de3cbbc48 Fix method signature of SetSizeLimit 2025-04-21 19:10:45 -04:00
sashakoshka e4f13a4142 WIP METADAPT-A changes 2025-04-06 17:01:00 -04:00
sashakoshka db10355c84 Change the size limit type to an int64 2025-04-06 14:19:39 -04:00
sashakoshka f4f8039fa0 Support getting a reader for a message in METADAPT-B 2025-04-06 14:17:39 -04:00
sashakoshka fe8f2fc3ea Do not require METADAPT to return a message length when getting a reader 2025-04-06 11:25:28 -04:00
sashakoshka b07cdf088a design: State support for TCP/TLS 2025-04-06 11:25:12 -04:00
sashakoshka 4eae69dc94 Add ReceiveReader to Transaction interface 2025-04-05 21:08:41 -04:00
sashakoshka 5c28510342 Add new METADAPT protocol specifications from #2 2025-04-05 21:04:45 -04:00
sashakoshka 1ac0ed51c7 METADAPT-B supports setting a message length limit 2025-04-04 16:07:20 -04:00
sashakoshka 174634a330 METADAPT-B can now send very large messages 2025-04-04 15:42:15 -04:00
sashakoshka a0b49e950e METADAPT-A handles closing messages 2025-01-28 17:06:23 -05:00
sashakoshka 5b42030f9d Fix another "deadlock" in METADAPT-A
What fucking idiot go developer decided recv from a nil channel
locks the entire program. ?????? just have it return zero value and
false.
2025-01-28 16:14:27 -05:00
sashakoshka 4daccca66a Fix METADAPT-A deadlock when closing transaction 2025-01-28 16:11:23 -05:00
sashakoshka 4647f91abe assets: Add icon 2025-01-27 22:49:20 -05:00
sashakoshka 54022e5541 examples: Add chat example that also doesn't work properly yet 2025-01-27 22:36:52 -05:00
sashakoshka 72df1e8d11 More METADAPT-A testing that doesnt work :( 2025-01-27 22:36:29 -05:00
sashakoshka a47a3599d3 TestConnA can now be run over and over again 2025-01-26 00:31:03 -05:00
sashakoshka b54fc02a35 Test METADAPT-A 2025-01-26 00:28:59 -05:00
sashakoshka 5e885a0bd3 Fix METADAPT-A not receiving more than one message 2025-01-26 00:26:12 -05:00
sashakoshka 659bcecbe6 Update go-util 2025-01-26 00:25:54 -05:00
sashakoshka 540c64a421 Fix METADAPT-A not unlocking a mutex properly 2025-01-24 23:22:27 -05:00
sashakoshka 0fed1a2451 Fix METADAPT-A transaction IDs not starting at 1/-1 2025-01-24 23:06:46 -05:00
sashakoshka 9b89c47ecc Fix segfault in METADAPT-A 2025-01-24 22:56:02 -05:00
sashakoshka 32e7e09cc8 Add Default method to Option 2025-01-22 22:23:02 -05:00
sashakoshka 5d5ee9c644 generate: Use new option type 2025-01-22 17:40:43 -05:00