Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessor #26

Open
4 tasks
Enteee opened this issue Oct 26, 2019 · 1 comment
Open
4 tasks

Preprocessor #26

Enteee opened this issue Oct 26, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Enteee
Copy link
Owner

Enteee commented Oct 26, 2019

Is your feature request related to a problem? Please describe.
PlantUML comes with a built-in preprocessor official documentation. In order support parsing of all different PlantUML diagrams, this parser should also implement preprocessor instruction parsing and a JavaScript implemented preprocessor (preprocess()).

Describe the solution you'd like

  • Add test fixtures for all examples in the official documentation
  • Create a new parser for preprocessor instructions
  • Add those preprocessor instruction set to the plantuml parser -> make the normal parser skip over preprocessor instructions.
  • Write preprocess(diagram: string): string which runs all preprocessor instructions on a raw diagram

Describe alternatives you've considered

@Enteee Enteee added the enhancement New feature or request label Oct 26, 2019
@Enteee Enteee self-assigned this Oct 26, 2019
@Enteee
Copy link
Owner Author

Enteee commented Oct 26, 2019

related: #25

@Enteee Enteee changed the title Implement Preprocessor Preprocessor Oct 26, 2019
Enteee added a commit that referenced this issue Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant