|
af7669c783
|
generate: Fix more nonsense surrounding named types
|
2025-07-11 20:08:43 -04:00 |
|
|
2305814e10
|
tape: Add StringTag
|
2025-07-10 21:56:38 -04:00 |
|
|
5a3296a842
|
generate: Parse primitive types into actual types rather than named types
|
2025-07-10 21:53:21 -04:00 |
|
|
3bf365a7a9
|
generate: Fix more semantic errors in the generated code
|
2025-07-08 21:50:29 -04:00 |
|
|
e48be0bc15
|
generate: Fix more semantic issues with generated code
|
2025-07-08 21:32:34 -04:00 |
|
|
a210f6112c
|
generate: Fix more semantic issues in generated code
|
2025-07-08 20:35:11 -04:00 |
|
|
9ff317d443
|
generate: Change comment so it gets detected by the regex for generated files
|
2025-07-08 15:44:24 -04:00 |
|
|
cdba8ee601
|
generate: Fix a bunch of semantic issues with the generated code
|
2025-07-08 14:52:05 -04:00 |
|
|
e75d7534c1
|
generate: Fix syntax errors in generated code
|
2025-07-08 12:01:21 -04:00 |
|
|
8a0ae9b03f
|
generate: Update tests to account for new changes
|
2025-07-08 11:39:37 -04:00 |
|
|
9bc90b0e17
|
generate: What the fuck is a teibibyte
|
2025-07-08 11:39:18 -04:00 |
|
|
c70c23d137
|
generate: Fix testGenerateRun so that it actually works
|
2025-07-08 11:38:00 -04:00 |
|
|
a9d5bb83a2
|
generate: Add framework for testing output of generated code
|
2025-07-07 16:00:25 -04:00 |
|
|
f1df5fa84d
|
generate: Add stub return to generateDecodeValue so it compiles
|
2025-07-07 15:13:18 -04:00 |
|
|
76a8f9444a
|
tape: Ignore type names when encoding primitives using reflection
|
2025-07-05 22:10:55 -04:00 |
|
|
0f20c4cdab
|
tape: Fix TestEncodeDecodeAny using int instead of uint32
|
2025-07-05 19:14:36 -04:00 |
|
|
1b82f2cd83
|
tape: Use tu.Describe() in tests
|
2025-07-05 18:47:57 -04:00 |
|
|
6ba70ed046
|
internal/testutil: Create function to closely examine any data
|
2025-07-05 18:47:08 -04:00 |
|
|
c118a4d7ef
|
tape: Change name of test to TestEncodeDecodeAnyTable
|
2025-07-04 14:30:23 -04:00 |
|
|
877698d402
|
tape: Remove print statements
|
2025-07-04 14:18:56 -04:00 |
|
|
5989a82bee
|
tape: Fix negative slice length
|
2025-07-04 14:18:30 -04:00 |
|
|
c8a2f03ca1
|
tape: Fix peekSlice not using the correct tag
|
2025-07-04 12:22:49 -04:00 |
|
|
07fc77c83e
|
tape: WIP
|
2025-07-02 06:25:24 -04:00 |
|
|
2138d47f07
|
tape: Flush writer after encoding for testing
|
2025-06-29 13:22:46 -04:00 |
|
|
e9633770ad
|
internal/testutil: Formatting fix
|
2025-06-29 13:22:21 -04:00 |
|
|
dcf923b1f3
|
internal/testutil: Snake.String and HexBytes return "EMPTY" when input is empty
|
2025-06-29 11:06:58 -04:00 |
|
|
8f8cd91b5d
|
tape: Fix usage of Encoder/Decoder in dynamic tests
|
2025-06-29 10:30:32 -04:00 |
|
|
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 |
|
|
23c3efa845
|
tape: Improve table tests
|
2025-05-18 21:32:08 -04:00 |
|
|
0e7e935374
|
tape: Make table decoding more robust
|
2025-05-18 17:59:05 -04:00 |
|
|
dd5325b351
|
tape: Fix table decoding restarting after each pull
|
2025-05-18 16:34:28 -04:00 |
|
|
37c3e49833
|
tape: Fix types_test.go not getting values for n in some cases
|
2025-05-18 16:32:27 -04:00 |
|
|
6e5a7115d3
|
tape: Fix "n" size returned by DecodeGBEU
|
2025-05-18 16:26:08 -04:00 |
|
|
f4fb5e80b9
|
tape: Test "n" sizes of integer types
|
2025-05-18 16:22:52 -04:00 |
|
|
3a88619f9b
|
tape: Add back iter compatibility for table decoding
|
2025-05-18 16:12:55 -04:00 |
|
|
568431f4c3
|
tape: Improve table decoding
|
2025-05-18 16:08:47 -04:00 |
|
|
f50b2ca0cd
|
tape: Remove old "pairs" encoding
|
2025-05-18 15:51:45 -04:00 |
|
|
3d8a012477
|
tape: Add table encoding/decoding functions
|
2025-05-18 15:50:24 -04:00 |
|
|
4f3b256821
|
tape: Integer encoding accepts oversize buffers now
|
2025-05-18 14:49:43 -04:00 |
|
|
2080d60793
|
tape: Remove array tests from types_test.go
|
2025-05-18 14:47:11 -04:00 |
|
|
c3337641bc
|
tape: Break out array code into separate file
|
2025-05-18 00:06:50 -04:00 |
|
|
4438210963
|
tape: Add N length support to all types
|
2025-05-17 23:55:56 -04:00 |
|
|
8d5ba2fa39
|
tape: EncodeGBEU returns the amount of bytes written
|
2025-05-17 10:38:50 -04:00 |
|
|
a05c034313
|
tape: Clean up
|
2025-05-16 21:42:40 -04:00 |
|
|
1b25e306a6
|
tape: Add GBEU encoding/decoding support
|
2025-05-16 21:27:11 -04:00 |
|
|
dd5e7e96d5
|
design: Remove note about this limitation
|
2025-05-15 17:56:41 -04:00 |
|
|
835d623087
|
Change the protocol definition for tape to conform to #2
|
2025-05-15 17:49:29 -04:00 |
|
|
83443b8c88
|
design: Fix documentation on message payload length
|
2025-05-14 15:15:03 -04:00 |
|
|
0b98c768b3
|
Fix some outdated doc comments
|
2025-05-14 14:44:27 -04:00 |
|
|
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 |
|
|
2fdf7d490d
|
Remove unneeded code
|
2025-05-14 13:52:03 -04:00 |
|
|
d60beccbcd
|
Finally fix A... this took too long
|
2025-05-14 13:44:06 -04:00 |
|
|
23c37c3d1f
|
Fix transaction ID counting
|
2025-04-25 19:57:33 -04:00 |
|
|
a83aedc128
|
Break METADAPT-A client/server environment from TestConnA
|
2025-04-25 18:38:01 -04:00 |
|
|
c0bfcc02f7
|
Send a close message when METADAPT-A transactions close
|
2025-04-25 18:19:43 -04:00 |
|
|
7a0bf64c17
|
Implement SendWriter for METADAPT-B
|
2025-04-25 18:15:38 -04:00 |
|
|
9d2bbec7f9
|
Update METADAPT-A implementation
|
2025-04-25 18:14:47 -04:00 |
|
|
dd89245c34
|
Change the result of Trans.SendWriter to a WriteCloser
|
2025-04-25 18:06:00 -04:00 |
|
|
41f5cfefab
|
Implement SendWriter for METADAPT-A
|
2025-04-25 17:53:12 -04:00 |
|
|
8a3df95491
|
Clarify concurrency in Trans methods
|
2025-04-25 16:06:17 -04:00 |
|
|
c51a81bc13
|
Add a SendWriter method to Trans
|
2025-04-25 16:02:23 -04:00 |
|
|
47645a8fce
|
Pass TestDecodeMessageBErr
|
2025-04-25 15:26:12 -04:00 |
|
|
87c4ac8efb
|
More robust integer comparison
|
2025-04-25 15:21:52 -04:00 |
|
|
f6fe9c307d
|
This should have been in the last commit
|
2025-04-25 15:17:32 -04:00 |
|
|
9bf0c596ba
|
Make TestEncodeMessageAErr pass
|
2025-04-25 15:12:01 -04:00 |
|
|
86cf3ee89d
|
Make the TestConnA pass
|
2025-04-25 15:08:31 -04:00 |
|
|
8fe3ba8d4f
|
Close METADAPT-A transaction channel
|
2025-04-25 15:07:47 -04:00 |
|
|
cbaff8b593
|
Allow readerA.pull to return an actual result
|
2025-04-25 14:15:53 -04:00 |
|
|
46c6361602
|
Encode METADAPT-A MMBs properly lmao
|
2025-04-22 20:10:57 -04:00 |
|
|
fac0c4e31d
|
Actually use defaultSizeLimit
|
2025-04-22 20:03:40 -04:00 |
|
|
945d81c505
|
METADAPT-B tests run
|
2025-04-21 20:51:02 -04:00 |
|
|
f34620c434
|
METADAPT-A tests run
|
2025-04-21 20:50:33 -04:00 |
|
|
7a766b74d8
|
Name return values of decodeMessageA
|
2025-04-21 20:49:58 -04:00 |
|
|
6de3cbbc48
|
Fix method signature of SetSizeLimit
|
2025-04-21 19:10:45 -04:00 |
|
|
e4f13a4142
|
WIP METADAPT-A changes
|
2025-04-06 17:01:00 -04:00 |
|
|
db10355c84
|
Change the size limit type to an int64
|
2025-04-06 14:19:39 -04:00 |
|
|
f4f8039fa0
|
Support getting a reader for a message in METADAPT-B
|
2025-04-06 14:17:39 -04:00 |
|
|
fe8f2fc3ea
|
Do not require METADAPT to return a message length when getting a reader
|
2025-04-06 11:25:28 -04:00 |
|
|
b07cdf088a
|
design: State support for TCP/TLS
|
2025-04-06 11:25:12 -04:00 |
|
|
4eae69dc94
|
Add ReceiveReader to Transaction interface
|
2025-04-05 21:08:41 -04:00 |
|
|
5c28510342
|
Add new METADAPT protocol specifications from #2
|
2025-04-05 21:04:45 -04:00 |
|
|
1ac0ed51c7
|
METADAPT-B supports setting a message length limit
|
2025-04-04 16:07:20 -04:00 |
|
|
174634a330
|
METADAPT-B can now send very large messages
|
2025-04-04 15:42:15 -04:00 |
|