martin-helmich/typo3-typoscript-parser

Support TYPO3 v12-style comments

Opened this issue · 0 comments

With TYPO3 v12 and its new TypoScript parser (see #83), the comment syntax has changed significantly.1 Right now, this parser library only supports a small subset of this comment syntax.

Possible solutions:

  • Adjust the Tokenizer to tokenize comments correctly. For added difficulty, we need to consider that the supported syntax differs between TYPO3 versions. If we still want to support TYPO3 v11 (which is currently in ELTS), we may need different Tokenizer implementations.
  • Just bite the bullet and migrate this package to using the core parser
  • other thoughts are welcome

Footnotes

  1. https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/Syntax/Comments/Index.html