Skip to content

feat: parser evolution#1

Merged
ralflang merged 37 commits intoFRAMEWORK_6_0from
feat/parser-evolution
Apr 9, 2026
Merged

feat: parser evolution#1
ralflang merged 37 commits intoFRAMEWORK_6_0from
feat/parser-evolution

Conversation

@ralflang
Copy link
Copy Markdown
Member

@ralflang ralflang commented Apr 8, 2026

Evolve the regex pair parser/renderer into a typed AST parser.

  • Fix many small bugs and inconsistencies
  • Rename "default" dialect into "Yawiki" dialect
  • Add renderers for all pre-existing WIKI parser engines - Allows conversion between markup dialects
  • Add completely Markdown renderer and parser as a new type of wiki engine
  • Unify duplicate AST tags between different engines for maximum portability
  • Add dialect documentation on the various wiki formats, their history, intent and sources outlining their supposed vocabulary
  • Turn this into a true horde library now that upstreaming into pear/text_wiki is out of question.

ralflang added 30 commits March 8, 2026 00:12
Remove & from callback arrays to fix warnings in preg_replace_callback
… table syntax

The pear/text_wiki and pear/text_wiki2 sources disagreed on which is the true cowiki format.
Web research also did not provide a clear answer.
We now parse both formats but our cowiki renderer produces the more html-like format with td and th.
…r for Xhtml

Turn previous array based Xhtml renderer into an adapter
@ralflang ralflang requested a review from TDannhauer April 8, 2026 17:49
@TDannhauer
Copy link
Copy Markdown

Too big to review on human base.
Can I Switch dev Installation to a Feature branch?

@ralflang
Copy link
Copy Markdown
Member Author

ralflang commented Apr 9, 2026

Too big to review on human base. Can I Switch dev Installation to a Feature branch?

Yes, a dev installation is composer linking to the git checkout tree. You can change branch behind composer's back and just say "composer dump-autoload"

@ralflang ralflang merged commit de6fb6f into FRAMEWORK_6_0 Apr 9, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants