chipsalliance / verible

Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, formatter and language server
https://chipsalliance.github.io/verible/
Other
1.25k stars 195 forks source link

can the verilog tools compiled into a so lib? #1102

Open hunterzju opened 2 years ago

hunterzju commented 2 years ago

Nice work! And I wonder if it is possible to build the tools into a libxxx.so, so that we can develop use it? For example, if I just want to use the verilog parser, is it possible to export a libparser.so? (By the way, I used to cmake tools and the bazel build system is not friendly)

fangism commented 2 years ago

I'm not expert enough with Bazel to know how export an install-able set of shared libraries, but even if we did, we do not have a stable API right now. (This would be incredibly easy with automake, but we don't support that build system.)

I'm interested in learning more about your use case, though, and finding out whether we can get you what you want.
Are you interested in the syntax tree in some form?