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 |
|
sashakoshka
|
5b1448be3e
|
Merge pull request 'message-size-increase' (#3) from message-size-increase into main
Reviewed-on: #3
|
2025-09-07 19:27:33 -06:00 |
|
sashakoshka
|
12fbfa6293
|
hopp: Add SetDeadline methods to Conn and Trans
|
2025-09-05 18:48:12 -04:00 |
|
sashakoshka
|
44fb561758
|
generate: Safely cast in the static decoder
|
2025-08-29 12:21:10 -04:00 |
|
sashakoshka
|
04c352fad6
|
tape: Safely cast when dynamically encoding/decoding
|
2025-08-29 12:03:39 -04:00 |
|
sashakoshka
|
0ea7e222cc
|
generate: Respect limits when statically decoding
|
2025-08-28 12:53:58 -04:00 |
|
sashakoshka
|
ae79a32309
|
generate: Respect limits when statically encoding
|
2025-08-28 12:51:55 -04:00 |
|
sashakoshka
|
e28ab4dc6b
|
tape: Respect limits when dynamically decoding
|
2025-08-28 12:31:49 -04:00 |
|
sashakoshka
|
80161b37f7
|
tape: Respect limits when dynamically encoding
Still need: dynamic decoding, static decoding, static encoding
|
2025-08-28 09:31:33 -04:00 |
|
sashakoshka
|
9d40b81e00
|
tape: Add limits to the API
|
2025-08-28 09:31:14 -04:00 |
|
sashakoshka
|
80c7d25c73
|
hopp: Clarify documentation for Conn.SetSizeLimit
|
2025-08-28 09:03:27 -04:00 |
|
sashakoshka
|
743a5d4ae0
|
generate: Fix float encoding
|
2025-08-27 22:59:01 -04:00 |
|
sashakoshka
|
ea17e354a3
|
cmd/hopp-generate: Update generate command
|
2025-08-27 22:54:43 -04:00 |
|
sashakoshka
|
4dc8a30ebd
|
generate: Don't hardcode filename as test.pdl in errors
|
2025-08-27 22:54:18 -04:00 |
|
sashakoshka
|
15c5f0b2b8
|
generate: More fixes for TestGenerateRunDecodeWrongType
|
2025-08-27 22:22:00 -04:00 |
|
sashakoshka
|
087b6b6690
|
generate: Fix problems with TestGenerateRunDecodeWrongType
|
2025-08-27 18:33:55 -04:00 |
|
sashakoshka
|
77bfc45fea
|
generate: Cast strings and buffers when decoding
|
2025-08-27 14:55:10 -04:00 |
|
sashakoshka
|
de6099fadc
|
generate: cast integers when decoding
|
2025-08-27 00:43:10 -04:00 |
|
sashakoshka
|
0097dbeedd
|
generate: cast certain types when encoding
|
2025-08-26 06:17:43 -04:00 |
|
sashakoshka
|
2db7ff88c2
|
generate: Import the wrong type test from the dynamic encoder/decoder
|
2025-08-22 06:10:17 -04:00 |
|
sashakoshka
|
4fd15c79a4
|
generate: Cause MessagePulse test case to pass (float was too precise)
|
2025-08-21 18:24:44 -04:00 |
|
sashakoshka
|
d6f6a3485c
|
generate: Run encoder output through decoder in tests
|
2025-08-21 06:25:55 -04:00 |
|