4 ms·
I like Tcl a lot, especially the Expect module. If you've ever wanted an Autohotkey for your terminal (I promise that phrase actually makes sense) it's well wor
by hiAndrewQuinn 2y ago
I like Tcl a lot, especially the Expect module. If you've ever wanted an Autohotkey for your terminal (I promise that phrase actually makes sense) it's well worth your time to look into either Expect itself or Python's `pexpect` module.
- nuancebydefault 2y agoI tought expect is a test framework
- AceJohnny2 2y agoExpect was born out of TCL, and its original syntax worked really well with TCL's. Its popularity led it to being ported to other languages, Perl & Python being the big ones, but TCL Expect is the og
- wizzwizz4 2y agoSQLite has the same origin story. (That's the reason for SQLite's confusing type system: it makes perfect sense as a Tcl type system.)
- pwg 2y agoExpect is an automation framework. Automating tests is just one use for it.
- aerostable_slug 2y agoI love Expect. Package owner: "These configuration choices are so important that a human must be present at the keyboard every time, without exception. Woe would befall us all were the will of the ancients ignored. So it was written, so it shall be done." Me: "Yeah, nah."
- deleted 2y ago[deleted]
- liveoneggs 2y agoI thought with the rise of chatbots tcl/expect would see a big resurgence. It's definitely been on my to-do list in the last few months.