Skip to content

Serialize AST #28

Open
Open
@turbo

Description

@turbo

I've been writing a project in Lua/OR and so far relied on a custom regex implementation in Lua-Land because I need access to the AST of parsed expressions. That's not possible with the PCRE bindings in OR. It seems like sregex is one step closer because parsing, compiling, and executing are different steps, with the parser returning "a pointer to the AST" according to the readme.

Is there a way to access that AST and serialize it (to JSON or similar) for further processing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions