Skip to content

Stop using parser combinators & use record types for syntax nodes #1

@winscripter

Description

@winscripter

I might have made a mistake to choose to use parser combinators to read IL code. This really inflates the size of the compiled DLL. Additionally, parser combinators in C# are extremely slow and memory inefficient.

Although Sprache was proven to be possibly the slowest parser combinator library for .NET, it seems like other parser combinator libraries either require more code to use and are inefficient as well. At this point, it's all about writing less code.

For now, in the upcoming release, I will manually parse text by scanning actual strings using the Parlot library for .NET. No more parser combinators!

I will also remove XML documentation from the latest release. Well, at least from syntax nodes only. I believe syntax node XML documentation is redundant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions