Can I switch back to legacy preprocessor?

0 votes
asked May 29 in Bug by boshka (2,740 points)
recategorized May 30 by boshka
with the preprocessorV2 enabled by default in the latest release 2019.6, can one still switch back to the legacy preprocessor in this release?

I think many of Plantuml users have a huge number of code, based on legacy preprocessor (that can't be migrated within a reasonable time) so, as far as the legacy preprocessor is still supported, it would be really good to have an ability for a fallback.
commented Jun 4 by boshka (2,740 points)
is there any feedback on this?

1 Answer

0 votes
answered Jun 4 by plantuml (200,240 points)
No, sorry : you cannot go back to legacy preprocessor.

However, you should be able to do everything with the new preprocessor. You can tell us if you find issues.

commented Jun 5 by boshka (2,740 points)
that looks very painful. Rolling to the new version of library will require complete refactoring of all existing diagrams codes. Is there a way to add it like

!preprocessorV2 = false ?
commented Jun 5 by plantuml (200,240 points)
Can you list the most annoying issue you have with the new preprocessor ?
Having some examples would help us to understand the impact on your diagram.

Maybe we could think about a tool that would take as input V1 preprocessing diagrams and translate them to V2 syntax.
commented Jun 6 by boshka (2,740 points)
ok, I think I've managed with my first priority needs.

The most annoying issue is that if some day I'd want to roll over to the 2019.6 and above I'll have to refactor all my legacy codes. So, yes, a converter would help in this case