Skip to content

Conversation

@austnwil
Copy link
Contributor

@austnwil austnwil commented Nov 5, 2025

Description of changes:

This PR adds 1.1 binary bytecode generator handlers for a handful of opcodes, mostly lists. Added are handlers for:

  • Length-prefixed short list - opcodes 0xB0-0xBF
  • Variable-length list - opcode 0xFA
  • Delimited list - opcode 0xF0
  • Tagless list (for primitive encodings) - opcode 0x5B
  • Annotation SID - opcode 0x58
  • Symbol SID - opcodes 0x50-0x57
  • Single-char symbol - opcode 0xA1

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

❌ Patch coverage is 88.81988% with 18 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (ion11@4ead384). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ion/bytecode/bin11/bytearray/ListOpcodeHandlers.kt 81.81% 12 Missing and 4 partials ⚠️
...on/bytecode/bin11/bytearray/OpcodeHandlerTables.kt 92.85% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             ion11    #1140   +/-   ##
========================================
  Coverage         ?   69.68%           
  Complexity       ?     6396           
========================================
  Files            ?      207           
  Lines            ?    25928           
  Branches         ?     4489           
========================================
  Hits             ?    18068           
  Misses           ?     6473           
  Partials         ?     1387           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@austnwil austnwil requested review from popematt and tgregg November 5, 2025 21:26
@austnwil austnwil marked this pull request as ready for review November 5, 2025 21:26
austnwil and others added 5 commits November 5, 2025 14:50
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
@austnwil austnwil merged commit 7b407eb into amazon-ion:ion11 Nov 6, 2025
29 of 36 checks passed
@austnwil austnwil deleted the austnwil/list-and-misc-handlers branch November 6, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants