356 Commits

Author SHA1 Message Date
e5d7ad0702 generate: Emit Send/Receive functions 2025-10-19 13:17:21 -04:00
bb520976be Fix dialTLS 2025-10-17 21:48:11 -04:00
b3dc633abe Add support for TLS/TCP 2025-10-17 21:46:17 -04:00
476833709e examples/chat: Rewrite in PDL 2025-10-16 22:11:22 -04:00
75810bfda1 cmd/hopp-generate: Pass the actual directory into scroungeForPackageName 2025-10-16 22:10:09 -04:00
207627c428 generate: Fix spacing and comment issues 2025-10-16 21:59:53 -04:00
e6266e500c Merge pull request 'option-type' (#23) from option-type into main
Reviewed-on: #23
2025-10-15 21:01:48 -06:00
8edac1c017 Update go-util 2025-10-15 22:10:03 -04:00
81d95dcd90 generate: Add support for options in static system 2025-10-15 21:00:15 -04:00
2f2b1a4d2f Alias O function 2025-10-15 21:00:04 -04:00
899f98043f generate: Add option type to parser 2025-10-15 18:17:18 -04:00
6b7dfce2f3 generate: Add option flag to Field struct 2025-10-15 18:17:06 -04:00
17201a4c48 generate: Add option token to lexer 2025-10-15 18:16:49 -04:00
50ca98f3c6 design: Document option type 2025-10-15 18:15:07 -04:00
77a4d7893f tape: Implement option type in the dynamic system 2025-10-15 17:19:07 -04:00
7bebc8c5eb internal/testutil: Add functions to dump printable chars 2025-10-15 17:18:00 -04:00
70fb106b48 Turn Option type into an alias 2025-10-15 12:37:46 -04:00
6b9db4c2a1 Upgrade go to v1.24 2025-10-15 11:37:27 -04:00
fbb68e6ff7 Add syntax highlighting for microo 2025-10-15 01:22:41 -04:00
4ae7f4681e cmd/hopp-generate: Print file name instead of random pointer 2025-10-15 01:22:24 -04:00
892a2f2554 Merge pull request 'add-bool' (#22) from add-bool into main
Reviewed-on: #22
2025-10-14 23:19:13 -06:00
0ac26711ac tape: Fix crash when decoding a bool sometimes 2025-10-15 01:16:03 -04:00
8446ae6186 tape: Implement bools in dymanic system 2025-10-15 01:07:51 -04:00
c511ebcb15 tape: Add bools to tests 2025-10-15 01:07:39 -04:00
00b0f13d3e generate: Implement bool in static system 2025-10-15 00:58:14 -04:00
13d35e54f5 generate: Include bool in tests 2025-10-15 00:58:00 -04:00
770f6b05b4 generate: Parse Bool type 2025-10-15 00:31:54 -04:00
2ee954e18f generate: Add bool data structure 2025-10-15 00:31:30 -04:00
cdfccb0f1c design: Add Bool type 2025-10-14 23:17:59 -04:00
5d5d3fd31c generate: Emit doc comments (in theory) 2025-10-13 17:29:27 -04:00
190a89fbb3 generate: Parse doc comments 2025-10-13 16:16:57 -04:00
e991b5af67 generate: Add comments to protocol data structures, tests 2025-10-13 14:15:59 -04:00
5a3d0e19ea generate: Add comments to lexer 2025-10-13 14:00:48 -04:00
fbc55534f6 design: Add comments to the language spec 2025-10-13 13:42:11 -04:00
b6e180f466 Update go.mod, go.sum 2025-10-13 13:15:06 -04:00
8f5f25780e cmd/hopp-generate: Improve command line interface 2025-10-13 13:14:44 -04:00
f08213cd49 tape: Fix comment 2025-10-13 10:54:40 -04:00
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
5c2b8a0582 tape: Correctly decode into a table destination all the time 2025-10-13 10:33:59 -04:00
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
cbfb513933 tape: canAssign now reports true for named table types 2025-10-12 21:27:35 -04:00
f10327356e generate: Describe more values in tests 2025-10-12 18:50:28 -04:00
f402b46b1c internal/testutil: More fixes for Describe 2025-10-12 18:50:17 -04:00
c3d0f33700 tape: Test troublesome data structure 2025-10-12 18:41:32 -04:00
ba2dc6b53f tape: Properly allocate maps when decoding KTV 2025-10-12 18:28:36 -04:00
2e03867c66 tape: Fix DecodeAny method not converting values properly 2025-10-12 18:09:55 -04:00
7a03d8d6b5 tape: Test DecodeAny method 2025-10-12 18:07:00 -04:00
b2504cda2d internal/testutil: Describe no longer panics on private struct fields 2025-10-12 17:58:10 -04:00
f6b12d43fb generate: Fix off by one errors in generated code and tests 2025-10-12 17:11:44 -04:00
c185f5058f generate: Fix some off by one errors in TestGenerateRunEncodeDecode 2025-10-12 13:43:19 -04:00