Forums: Discussion-Ouverte (Thread #46060)

Lua or Python scripts (2022-06-18 03:22 by ervinjason #90301)

Has anybody thought to add Lua or Python scripting support for Teraterm? TTL macros are useful but gets tricky when trying to create subroutines, return values, etc. Both Lua and Python interpreters are embeddable in C/C++ applications. I have some experience embedding Lua and have begun to experiment adding support for Lua scripting, though for now I'm still just getting familiar with teraterm codebase. The main downside so far that I can see is that I don't think its feasible to simply wrap all the TTLxxx command functions for use in the Lua environment, so basically each command would have to be re-implemented for the Lua scripting support.