On 04/07/16 17:48, Lehmann, Patrick wrote:
Hello Adam,
I'm not implementing this feature, so it's not my choice, but Tcl is a horrible
language ;)
I know it was originally designed as an embedded scripting language especially
for CAE
(EDA, CAD, ...) tools, but there are way better and easier embedded or
embeddable
scripting language available. For example:
- Python can be embedded in a few lines of C code. Its giving you access to a
very big
standard library and an easy to learn syntax. Having a Python interface for
GHDL
(longterm wish from me) could ease the handling of testbench interfaces
(Cocotb,
VUnit, ...)
- LUA is used in many projects under the hood as scripting and configuration
language.
See for example LuaTeX, Logitech keyboard scripting, ...
Even a big EDA vendor is considering Python as new scripting interface...
So in my personal option: having a scripting interface could be a new big
feature for GHDL,
but Tcl would be my first and second choice.
I agree. Yes to scripting, but maybe not with tcl.
(Although it would be better to have a generic scripting infrastructure
to support any language).
Tristan.
_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss