Skip to content

Thoughts on parser rewrite #369

Description

@priv-kweihmann

The library now reached a point where the most basic functionality works well enough but corner cases start to pile up, performance is improvable and the API feels clunky here and there.

So it's time to collect ideas and thoughts on a major rewrite of this lib

Ideas:

Goals:

  • heavily improved performance (test case parsing oe-core's recipes)
  • lighter API (just expose what is really needed), likely the low level things like File, Line should be r/o, while all other "higher" level classes should provide r/w attributes

Non-Goals:

  • support for arbitrary python inline functions or arbitrary helper function inside inline functions,
    as this will likely need to compute code - which shouldn't be done for security reasons
  • support for layer assembly, like layer order etc etc - this needs to be done in full build using bitbake

Feel free to comment for ideas or other things to improve

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions