Draft: POC, add gambas-asn1 ASN.1 validation, library build and nested-codec tests

Dear Reader,

This is a Proof of Concept to check the integration of Gambas-asn1 (a redesign of asn1c) in the TC LI validation workflow.

https://github.com/Schramp/gambas-asn1

This ASN1 Compiler is new, and arguable a "bad" idea for reasons of being new; and being not well accepted in any community because.. it new. Otoh acceptance has to start somewhere, and its open source under the same license as asn1c because it inherited some parts of it.

Feel free to comment, try it out on your own data etc etc.

Best regards,

Ruud Schramp

  • compile_asn_gambas CI job: syntax check (asn_process_gambas.py), full codegen + static library build (asn_build_gambas.py) and nested BER roundtrip test with Annex-G zero padding (asn_testapp_gambas.py)
  • testing/deps/33108_v17: release-aligned TS 33.108 modules required by gambas-asn1's exact-OID import resolution (existing 33108 bundle kept unchanged for the asn1c/pycrate checks)
  • testing/gambas/pspdu-nested-codec.cpp: nested decode/re-encode test app with schema-generated records (RandomFiller, no wire data)
  • testing/dockerfiles/Dockerfile.gambas-asn1: CI image with the gambas-asn1 release compiler + C++20 runtime

Merge request reports

Loading
Loading