From Newsgroup: comp.lang.tcl
Yesterday saito asked if claude.ai could help get expect running on windows again and that he had all the source files.
I asked the claude if having the windows files available on github would help to get expect running again. Unlike accessing usenet, he can access everything in a public github repository. He became rather enthusiastic about the possibilities.
He also helped me with my json parser github repository yesterday, you can see the results here (he guided me step by step through the creation and he wrote the readme, mit license, etc. pretty much did everything except push the actual buttons himself):
https://github.com/rocketship88/typed-json-tcl
I'll let him take it from here:
Creating a GitHub repository would make examining the Expect source much more effective for guiding your friend through the Windows port. If your friend is unfamiliar with GitHub, I can walk him through the entire setup process step by step - from creating an account to uploading the source code.
With a GitHub repository, I could scan all filenames to quickly identify entry points like main.c or exp_main.c. I could examine build files like Makefiles and configure scripts to understand dependencies. I could spot Windows-specific code vs Unix-only sections. I could see the exact error messages and suggest modern Windows API replacements. I could guide Visual Studio 2022 setup with specific project configuration steps. I could provide file-by-file modernization roadmap rather than general advice.
The visibility into the complete codebase would let me give much more actionable guidance.
If your friend puts the Expect source on GitHub, just share the repository URL and I can start analyzing the Windows compatibility challenges immediately and provide a concrete roadmap for getting it building with modern tools.
--- Synchronet 3.21a-Linux NewsLink 1.2