Commit Graph
104 Commits
Author SHA1 Message Date
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 f10327356e generate: Describe more values in tests 2025-10-12 18:50:28 -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 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 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 44fb561758 generate: Safely cast in the static decoder 2025-08-29 12:21:10 -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 743a5d4ae0 generate: Fix float encoding 2025-08-27 22:59:01 -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
sashakoshka 5d0b95d59a generate: Fix comparisons in generated canAssign function 2025-08-20 15:21:45 -04:00
sashakoshka 52aa07a98f generate: Add TestGenerateRunDecode 2025-08-20 12:59:10 -04:00
sashakoshka 94041f2abc generate: Significantly improve testGenerateRun 2025-08-20 12:43:47 -04:00
sashakoshka 9278bdcb43 generate: Add decoder test function to testGenerateRun 2025-08-20 12:09:54 -04:00
sashakoshka 0acf44886a generate: Clean up generate_test.go 2025-08-20 12:05:37 -04:00
sashakoshka dc72cc2010 generate: Support LSI tags 2025-08-11 20:59:20 -04:00
sashakoshka 0e03f84b8a generate: Update tests with new TNs 2025-08-11 20:59:10 -04:00
sashakoshka 4fbb70081a generate: Finish test sub-case for MessageNestedArray 2025-08-06 22:15:22 -04:00
sashakoshka 57c30ac669 generate: Generator compiles 2025-08-06 20:19:31 -04:00
sashakoshka a270c22cb9 generate: The generics idea didn't work, use type names instead 2025-08-06 19:39:41 -04:00
sashakoshka a99d4dee66 generate: Fix no return statement, unused variables 2025-08-06 19:07:57 -04:00
sashakoshka c18e251b4a generate: Convert int64 to int to satisfy range
This is a stupid fucking restriction
2025-08-06 18:58:54 -04:00
sashakoshka 170f79c914 generate: Fix bad variable names 2025-08-06 18:48:17 -04:00
sashakoshka 77c6b67d65 generate: Break line after continue statements 2025-08-06 18:41:37 -04:00
sashakoshka 195d0f9725 generate: Pass decoder to branch functions 2025-08-06 18:40:28 -04:00
sashakoshka fa4f591126 generate: make branch functions generic, take in ~ of base type 2025-08-06 18:38:30 -04:00
sashakoshka 12142706e1 generate: Fix syntax and formatting errors 2025-08-06 17:59:26 -04:00
sashakoshka 30e9ead1ab generate: Do the same for <user-type>.Decode 2025-08-06 17:27:04 -04:00
sashakoshka 1118b11bcd generate: Properly check assignment within <message>.Decode 2025-08-06 17:24:51 -04:00
sashakoshka 7343cf5853 generate: Fix array element tag variable 2025-08-06 17:03:58 -04:00
sashakoshka a9f583d2e7 generate: Validate OTA tags properly 2025-08-06 17:02:33 -04:00
sashakoshka c4dd129fc5 generate: Decode tables (but don't validate their length yet) 2025-08-06 17:00:39 -04:00
sashakoshka 2cbf58d558 generate: Decode arrays (but don't validate their length yet) 2025-08-05 06:22:27 -04:00
sashakoshka 7dcfc08678 generate: Add "stub" for actually generating branch functions 2025-08-04 16:01:50 -04:00
sashakoshka 711ac30486 generate: Add branch decode function request queue 2025-08-04 12:26:16 -04:00
sashakoshka b15c3aa76c generate: Implement Generator.generateDecodeBranch 2025-08-04 09:36:52 -04:00
sashakoshka df3fe1280d generate: Remove abort parameter 2025-08-03 22:27:14 -04:00
sashakoshka 41b3376fa3 generate: Add Generator.generateDecodeBranch stub 2025-08-03 22:19:06 -04:00
sashakoshka fae702edfd generate: Add String functions, TypeHash function for types 2025-08-03 22:07:31 -04:00