-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cooperation with plantuml-parser? #49
Comments
The generated plantuml should work fine as input to any tool. What would have to be change for plantuml-parser? |
Well I currently don't generate any TypeScript from plantuml, but before I start implementing this (Enteee/plantuml-parser#36) we should maybe establish and agree a few rules. On top of my head, there are more things:
... and I bet there are many more things. As a starting point I'd say it would make sense to implement a unit test in both projects which does code -> diagram -> code and then runs a few basic tests on the finial code. Just to ensure compatibility. |
I have another project which I think is similar to yours: https://github.com/bafolts/plantuml-code-generator Shouldn't the grammar of |
I don't understand what you mean with any inheritance format. Does you mean with this that no matter what arrow body every arrow with a
or even worse:
I had a look at the grammar of your other project and you only support a small subset of what plantuml is actually capable of. Which makes sense. But also means in order to maintain compatibility we would need to agree on the same subset. |
By |
@Enteee I'm also interested in plantuml => typescript => plantuml generation/parsing. My use-case is reduced in scope as I want to create / update the boilerplate for a DDD design system. I think it would be appropriate to create a new project/repo, which would use both I'm ready to contribute if you do so. |
@paduc I think writing a plantuml formatter is probably the most robust thing to do to get plantuml => typescript. @bafolts has an other project which does plantuml => typescript already. But I don't know if @bafolts 's two projects supports the full plantuml => typescript => plantuml story. |
@Enteee after putting more thoughts into my goal, I believe I'm going to need something more complex than plantuml => typescript => plantuml as I need to include generation rules that fit my desired project format. I need to sync a PlantUML model with several classes located in several files in several directories (including import statements, etc.). FYI I'm considering using angular-devkit schematics to handle that logic. |
I am the maintainer of
tplant ^ -1
or in other words plantuml-parser 😃 . I do think it would be very beneficial for users if we could somehow make our two projects compatible with each other. Meaning if code could be transpired to a diagram usingtsplant
and then back to code usingplantuml-parser
.In this issue i would just like to check if you'd see value in a collaboration. And maybe discuss possible next steps.
The text was updated successfully, but these errors were encountered: