YoWASP / yosys

Unofficial Yosys WebAssembly packages
https://yowasp.org
ISC License
66 stars 2 forks source link

TCL support for yowasp-yosys #20

Closed kammoh closed 3 years ago

kammoh commented 3 years ago

Would it be possible to add TCL support to yowasp-yosys?

whitequark commented 3 years ago

Quite possibly; I would have to look closer at build requirements of Tcl to answer for sure.

kammoh commented 3 years ago

That would be really great! Thanks!

whitequark commented 3 years ago

I've tried to build Tcl for WASI. Unfortunately, in spite of its reputation for portability, Tcl has a large amount of dependencies on Unix-specific APIs (especially socket ones are problematic, though there are many more than that), and getting it to build and run under WASI is a significant undertaking. There is no way I can see to build Tcl with the OS APIs disabled.

I will not be porting Tcl to WASI, but if someone else does this, I will consider shipping a third-party port as a part of YoWASP.