On 03/10/16 21:14, Adrien Prost-Boucle wrote:
Clarification:

I am NOT asking that GHDL is rewritten from toe to neck!

But if adding a fourth "flavour" is possible - in addition to gcc, llvm and 
mcode -
which would be generation of shared lib of the parser (or anything not gcc or 
llvm specific)
+ corresponding headers for C/C++/bindings-for-your-preferred-language,
then it would certainly be of great help for many synthesis and design 
instrumentation projects
(there are many in my lab, even if I'm not working on that).

Also YG: such a lib would also certainly be of great help to create your 
virtual machine
as a new systhesis tool attempt :-)

Tristan: How hard would it be to add such a "shared lib" flavour?

Creating a binding to the AST, or dumping the AST in XML or JSON would be very easy.

The problem is that the AST is not very stable and change frequently.

Tristan.


_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to