ArthurSonzogni / Diagon

Interactive ASCII art diagram generators. :star2:
https://arthursonzogni.com/Diagon/
MIT License
1.47k stars 56 forks source link

Make java an optional dependecy #67

Closed netzego closed 1 year ago

netzego commented 1 year ago

Guess the title say it all. It would be fantastic, but not sure how deeply you depend on java, though. Anyhow, the tool is kind a nice.

ArthurSonzogni commented 1 year ago

Are you talking about a real runtime dependency, or a build dependency?

Here with Diagon, this is only a build dependency. You can still run or depend on Diagon without having a JVM installed.

Diagon uses ANTLR to generate the parsers. This is a tool in Java which generates some C++. This is only needed to build Diagon.

We could cache the generated files somewhere to avoid developer to need java when developing it, but this is probably not going to help many folks. WDYT? What is your use case?

netzego commented 1 year ago

ah, nevermind. i'd tried later that day to build it via pacman and didn't pay much attention. needed this on a vm which had no java. and yes, runtime is what i meant. so then i be fine. great! then someone has to maintain a binary package cough :)