sashakoshka
|
3136dcbfdf
|
internal/testutil: Add ConnRecorder which records net.Conn writes
|
2025-11-19 13:10:26 -05:00 |
|
sashakoshka
|
ad930144cf
|
generate: Test send, receive functions
|
2025-11-17 16:50:43 -05:00 |
|
sashakoshka
|
5e965def7c
|
internal/mock: Add mock transaction implementation
|
2025-11-17 16:49:09 -05:00 |
|
sashakoshka
|
8add67c5de
|
Test using readers and writers with a METADAPT-A connection
|
2025-11-16 16:01:06 -05:00 |
|
sashakoshka
|
5f503021bf
|
examples: More examples
|
2025-11-16 16:00:31 -05:00 |
|
sashakoshka
|
0727609067
|
METADAPT-A message writer returns an error when the transaction closes
|
2025-11-10 00:24:20 -05:00 |
|
sashakoshka
|
968e145cda
|
examples/ping/client: Fix client example
|
2025-11-08 19:50:22 -05:00 |
|
sashakoshka
|
bb14ec20a7
|
examples/ping: Add a ping example
|
2025-10-30 00:02:13 -04:00 |
|
sashakoshka
|
a00e9d3183
|
Remove extra error wrapping
|
2025-10-30 00:01:55 -04:00 |
|
sashakoshka
|
4f4443069d
|
generate: Use the new snake in a test to make it able to pass
|
2025-10-29 15:24:49 -04:00 |
|
sashakoshka
|
10d84c2184
|
generate: Add support for recursive snake in test infrastructure
|
2025-10-29 15:19:27 -04:00 |
|
sashakoshka
|
67881a455a
|
internal/testutil/snake: Test recursiveness
|
2025-10-29 15:12:03 -04:00 |
|
sashakoshka
|
fb374c5cd5
|
internal/testutil/snake: Make a more advanced (recursive) snake package
|
2025-10-29 15:06:23 -04:00 |
|
sashakoshka
|
1b43b92687
|
Remove outdated comment
|
2025-10-27 22:51:52 -04:00 |
|
sashakoshka
|
932e076113
|
examples/chat: Various fixes
|
2025-10-27 22:50:54 -04:00 |
|
sashakoshka
|
5217f65cb8
|
generate: Surpress warning about this print statement
|
2025-10-27 22:39:47 -04:00 |
|
sashakoshka
|
26b8174f92
|
Fix METADAPT-A not ever closing the connection properly
|
2025-10-27 22:32:47 -04:00 |
|
sashakoshka
|
3daa66c4bc
|
METADAPT-A tests compile
|
2025-10-27 18:45:26 -04:00 |
|
sashakoshka
|
c5154b3d85
|
examples/chat: Regenerate protocol.go
|
2025-10-20 21:22:10 -04:00 |
|
sashakoshka
|
c2ce95021c
|
generate: Fix generated Send, Receive functions
|
2025-10-20 21:19:50 -04:00 |
|
sashakoshka
|
d4ccdb282e
|
Fix CCB and flushing in METADAPT-A
|
2025-10-20 21:19:21 -04:00 |
|
sashakoshka
|
2e4c693174
|
examples/chat: Use new listen/dial API
|
2025-10-20 18:00:05 -04:00 |
|
sashakoshka
|
c9480ba016
|
Translate "tls" network to "tcp"
|
2025-10-20 17:56:42 -04:00 |
|
sashakoshka
|
09b2259a8c
|
Simplify how dialing and listening works
Also add support for bare TCP
|
2025-10-20 16:44:07 -04:00 |
|
sashakoshka
|
da01a0d119
|
internal/connshark: Add utility to log activity over a net.Conn
|
2025-10-19 17:48:13 -04:00 |
|
sashakoshka
|
c326a2b6b9
|
examples/chat/server: Close connection goroutine on error
|
2025-10-19 17:47:31 -04:00 |
|
sashakoshka
|
14a317c2ab
|
examples/chat: Make chat example compile
|
2025-10-19 13:18:24 -04:00 |
|
sashakoshka
|
e5d7ad0702
|
generate: Emit Send/Receive functions
|
2025-10-19 13:17:21 -04:00 |
|
sashakoshka
|
bb520976be
|
Fix dialTLS
|
2025-10-17 21:48:11 -04:00 |
|
sashakoshka
|
b3dc633abe
|
Add support for TLS/TCP
|
2025-10-17 21:46:17 -04:00 |
|
sashakoshka
|
476833709e
|
examples/chat: Rewrite in PDL
|
2025-10-16 22:11:22 -04:00 |
|
sashakoshka
|
75810bfda1
|
cmd/hopp-generate: Pass the actual directory into scroungeForPackageName
|
2025-10-16 22:10:09 -04:00 |
|
sashakoshka
|
207627c428
|
generate: Fix spacing and comment issues
|
2025-10-16 21:59:53 -04:00 |
|
sashakoshka
|
e6266e500c
|
Merge pull request 'option-type' (#23) from option-type into main
Reviewed-on: #23
|
2025-10-15 21:01:48 -06:00 |
|
sashakoshka
|
8edac1c017
|
Update go-util
|
2025-10-15 22:10:03 -04:00 |
|
sashakoshka
|
81d95dcd90
|
generate: Add support for options in static system
|
2025-10-15 21:00:15 -04:00 |
|
sashakoshka
|
2f2b1a4d2f
|
Alias O function
|
2025-10-15 21:00:04 -04:00 |
|
sashakoshka
|
899f98043f
|
generate: Add option type to parser
|
2025-10-15 18:17:18 -04:00 |
|
sashakoshka
|
6b7dfce2f3
|
generate: Add option flag to Field struct
|
2025-10-15 18:17:06 -04:00 |
|
sashakoshka
|
17201a4c48
|
generate: Add option token to lexer
|
2025-10-15 18:16:49 -04:00 |
|
sashakoshka
|
50ca98f3c6
|
design: Document option type
|
2025-10-15 18:15:07 -04:00 |
|
sashakoshka
|
77a4d7893f
|
tape: Implement option type in the dynamic system
|
2025-10-15 17:19:07 -04:00 |
|
sashakoshka
|
7bebc8c5eb
|
internal/testutil: Add functions to dump printable chars
|
2025-10-15 17:18:00 -04:00 |
|
sashakoshka
|
70fb106b48
|
Turn Option type into an alias
|
2025-10-15 12:37:46 -04:00 |
|
sashakoshka
|
6b9db4c2a1
|
Upgrade go to v1.24
|
2025-10-15 11:37:27 -04:00 |
|
sashakoshka
|
fbb68e6ff7
|
Add syntax highlighting for microo
|
2025-10-15 01:22:41 -04:00 |
|
sashakoshka
|
4ae7f4681e
|
cmd/hopp-generate: Print file name instead of random pointer
|
2025-10-15 01:22:24 -04:00 |
|
sashakoshka
|
892a2f2554
|
Merge pull request 'add-bool' (#22) from add-bool into main
Reviewed-on: #22
|
2025-10-14 23:19:13 -06:00 |
|
sashakoshka
|
0ac26711ac
|
tape: Fix crash when decoding a bool sometimes
|
2025-10-15 01:16:03 -04:00 |
|
sashakoshka
|
8446ae6186
|
tape: Implement bools in dymanic system
|
2025-10-15 01:07:51 -04:00 |
|
sashakoshka
|
c511ebcb15
|
tape: Add bools to tests
|
2025-10-15 01:07:39 -04:00 |
|
sashakoshka
|
00b0f13d3e
|
generate: Implement bool in static system
|
2025-10-15 00:58:14 -04:00 |
|
sashakoshka
|
13d35e54f5
|
generate: Include bool in tests
|
2025-10-15 00:58:00 -04:00 |
|
sashakoshka
|
770f6b05b4
|
generate: Parse Bool type
|
2025-10-15 00:31:54 -04:00 |
|
sashakoshka
|
2ee954e18f
|
generate: Add bool data structure
|
2025-10-15 00:31:30 -04:00 |
|
sashakoshka
|
cdfccb0f1c
|
design: Add Bool type
|
2025-10-14 23:17:59 -04:00 |
|
sashakoshka
|
5d5d3fd31c
|
generate: Emit doc comments (in theory)
|
2025-10-13 17:29:27 -04:00 |
|
sashakoshka
|
190a89fbb3
|
generate: Parse doc comments
|
2025-10-13 16:16:57 -04:00 |
|
sashakoshka
|
e991b5af67
|
generate: Add comments to protocol data structures, tests
|
2025-10-13 14:15:59 -04:00 |
|
sashakoshka
|
5a3d0e19ea
|
generate: Add comments to lexer
|
2025-10-13 14:00:48 -04:00 |
|
sashakoshka
|
fbc55534f6
|
design: Add comments to the language spec
|
2025-10-13 13:42:11 -04:00 |
|
sashakoshka
|
b6e180f466
|
Update go.mod, go.sum
|
2025-10-13 13:15:06 -04:00 |
|
sashakoshka
|
8f5f25780e
|
cmd/hopp-generate: Improve command line interface
|
2025-10-13 13:14:44 -04:00 |
|
sashakoshka
|
f08213cd49
|
tape: Fix comment
|
2025-10-13 10:54:40 -04:00 |
|
sashakoshka
|
2194198693
|
Merge pull request 'unify-byte-counts' (#21) from unify-byte-counts into main
Reviewed-on: #21
|
2025-10-13 08:49:46 -06:00 |
|
sashakoshka
|
5c2b8a0582
|
tape: Correctly decode into a table destination all the time
|
2025-10-13 10:33:59 -04:00 |
|
sashakoshka
|
4575fa229b
|
generate: Make the table type an alias so we don't have a million of em
|
2025-10-13 10:33:36 -04:00 |
|
sashakoshka
|
cbfb513933
|
tape: canAssign now reports true for named table types
|
2025-10-12 21:27:35 -04:00 |
|
sashakoshka
|
f10327356e
|
generate: Describe more values in tests
|
2025-10-12 18:50:28 -04:00 |
|
sashakoshka
|
f402b46b1c
|
internal/testutil: More fixes for Describe
|
2025-10-12 18:50:17 -04:00 |
|
sashakoshka
|
c3d0f33700
|
tape: Test troublesome data structure
|
2025-10-12 18:41:32 -04:00 |
|
sashakoshka
|
ba2dc6b53f
|
tape: Properly allocate maps when decoding KTV
|
2025-10-12 18:28:36 -04:00 |
|
sashakoshka
|
2e03867c66
|
tape: Fix DecodeAny method not converting values properly
|
2025-10-12 18:09:55 -04:00 |
|
sashakoshka
|
7a03d8d6b5
|
tape: Test DecodeAny method
|
2025-10-12 18:07:00 -04:00 |
|
sashakoshka
|
b2504cda2d
|
internal/testutil: Describe no longer panics on private struct fields
|
2025-10-12 17:58:10 -04:00 |
|
sashakoshka
|
f6b12d43fb
|
generate: Fix off by one errors in generated code and tests
|
2025-10-12 17:11:44 -04:00 |
|
sashakoshka
|
c185f5058f
|
generate: Fix some off by one errors in TestGenerateRunEncodeDecode
|
2025-10-12 13:43:19 -04:00 |
|
sashakoshka
|
813d219580
|
tape: Fix bufferLenTag off by one error
|
2025-10-12 13:39:37 -04:00 |
|
sashakoshka
|
b44d364f0f
|
tape: Test TagAny function
|
2025-10-12 13:38:33 -04:00 |
|
sashakoshka
|
405b458702
|
tape: Comment chart for reading tags from hexdumps
|
2025-10-12 13:37:50 -04:00 |
|
sashakoshka
|
5778616965
|
design: Codify usage of CN + 1 bytes everywhere
|
2025-10-12 13:11:47 -04:00 |
|
sashakoshka
|
f5de450c39
|
Merge pull request 'any-type' (#20) from any-type into main
Reviewed-on: #20
|
2025-10-12 11:03:53 -06:00 |
|
sashakoshka
|
aebc6972ad
|
tape: Fix TestEncodeDecodeAnyTable
|
2025-10-12 11:44:14 -04:00 |
|
sashakoshka
|
ef3f5cf4bb
|
tape: Decode KTV into any
|
2025-10-12 11:34:49 -04:00 |
|
sashakoshka
|
3f51beddb6
|
tape: Decoding OTA into any no longer results in a pointer
|
2025-10-12 11:27:20 -04:00 |
|
sashakoshka
|
56c376cd4e
|
tape: Decode OTAs into any, and allow assignment of SBA/LBA to string
|
2025-10-12 11:17:41 -04:00 |
|
sashakoshka
|
19f02d6137
|
tape: Implement setString
|
2025-10-12 10:43:04 -04:00 |
|
sashakoshka
|
7df18f7d26
|
tape: Assorted changes i forgor
|
2025-09-26 00:20:53 -04:00 |
|
sashakoshka
|
84b96ed8f3
|
Add /debug to .gitignore
|
2025-09-26 00:20:44 -04:00 |
|
sashakoshka
|
85a66a3e70
|
tape: Create test to ensure DecodeAnyInto can receive a pointer to any
|
2025-09-10 10:21:29 -04:00 |
|
sashakoshka
|
81391ef101
|
testutil: Print <invalid> instead of crashing on invalid value
|
2025-09-10 10:20:44 -04:00 |
|
sashakoshka
|
92040a1bc4
|
generate: Implement encoding and decoding of Any type
|
2025-09-10 09:45:25 -04:00 |
|
sashakoshka
|
1bb565c6fe
|
generate: Write tests for Any type
|
2025-09-10 09:45:09 -04:00 |
|
sashakoshka
|
c4ab60515b
|
tape: Test that floating point values can be decoded dynamically
|
2025-09-08 21:39:50 -04:00 |
|
sashakoshka
|
8b0915dff1
|
tape: Test that floating point values can be dynamically encoded
|
2025-09-08 21:37:39 -04:00 |
|
sashakoshka
|
785b48085d
|
tape: Dynamically encode floating point values
|
2025-09-08 18:24:21 -04:00 |
|
sashakoshka
|
419c3651bf
|
generate: Add Any type to parser and syntax tree
|
2025-09-08 09:58:50 -04:00 |
|
sashakoshka
|
8dac25035f
|
generate: Use DecodeAnyInto in generated code
|
2025-09-08 09:47:37 -04:00 |
|
sashakoshka
|
b7bdaba694
|
tape: Split DecodeAny into two funcs, one autocreates skeleton value
|
2025-09-08 09:42:39 -04:00 |
|
sashakoshka
|
45dfdb255e
|
design: Add Any type to PDL language document
|
2025-09-07 23:46:22 -04:00 |
|