Skip to content

Add a Parser / Compiler for ASN.1 Files #3

@ChadSikorra

Description

@ChadSikorra

It would be very handy to have a compiler capable of parsing ASN.1 files to PHP classes. And then using those PHP classes to build the requisite ASN.1 data structures to be encoded. Or take an encoded ASN.1 data structure and translate that to the PHP classes that were built.

I also have a need for general ASN.1 parsing in the SNMP library for MIBs to pick apart the generated AST (a subset anyway). This requires a parser based off X.680, and several other components:

  • Create a Lexer / Tokenizer for ASN.1 syntax based on X.680
  • Create a parser / AST generator from the tokenization
  • Create a compiler for translating to / from PHP classes based on the parsed ASN.1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions