[meta] Port DQL Parser to Hoa\Compiler #5863

Closed
opened 2026-01-22 15:20:28 +01:00 by admin · 4 comments
Owner
Originally created by @Majkl578 on GitHub (Jan 27, 2018). Tracking issue for porting the parser to [Hoa\Compiler](https://github.com/hoaproject/Compiler/). Related discussions: - https://github.com/doctrine/doctrine2/issues/6211#issuecomment-291271881 - #5656 Related issues: - #6278 Related PRs: - #6709 - #6574 - #6944
admin added the ImprovementBC BreakDQL labels 2026-01-22 15:20:28 +01:00
admin closed this issue 2026-01-22 15:20:28 +01:00
Author
Owner

@fesor commented on GitHub (Jan 28, 2018):

Is there any short-term plans for this or I, for example, could work on prototype?

@fesor commented on GitHub (Jan 28, 2018): Is there any short-term plans for this or I, for example, could work on prototype?
Author
Owner

@Majkl578 commented on GitHub (Jan 28, 2018):

I was already playing with PP language definiton and have a WIP Visitor locally, but haven't got much further yet. I don't want to introduce huge refactorings here and there (it may affect anything from the parser itself to the hydration process) at least until Mapping rewrite is a bit more finalized.

@Majkl578 commented on GitHub (Jan 28, 2018): I was already [playing with PP language definiton](https://github.com/Majkl578/doctrine2/blob/dev/query-hoa/lib/Doctrine/ORM/Query/language.pp) and have a WIP Visitor locally, but haven't got much further yet. I don't want to introduce huge refactorings here and there (it may affect anything from the parser itself to the hydration process) at least until Mapping rewrite is a bit more finalized.
Author
Owner

@Ocramius commented on GitHub (Jan 29, 2018):

The reason why this is so slow is because our current parser depends on the classmetadata, so it is not just a parser, but also takes decisions based on what class metadata mappings look like. I think we should change that 👍

@Ocramius commented on GitHub (Jan 29, 2018): The reason why this is so slow is because our current parser depends on the classmetadata, so it is not just a parser, but also takes decisions based on what class metadata mappings look like. I think we should change that 👍
Author
Owner

@beberlei commented on GitHub (Dec 6, 2020):

Hoa is now unmaintained.

@beberlei commented on GitHub (Dec 6, 2020): Hoa is now unmaintained.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5863