<mcc111[m]> "I have a cursed question..." <- > <@mcc111:matrix.org> I have a cursed question
> Since FPGA toolchains love their TCL so much
> Is there a way to just invoke TCL functions from Python? Would that make sense as a thing to do? Does Amaranth already do it?
> I started looking it up and found tkinter which can just execute tcl from within a python script but also something called "Plumage" which looks closer to an ffi (but might be old?)
> I'm also not sure if this even makes sense because I don't know if it's enough to be able to run tcl or you need to run the specific tcl interpreter shipped by like Microchip or whoever

yes, it's called `subprocess.call()`. I don't think Tcl even has a general ABI, much less that toolchains expose it