Does Julia have a native `expect` package?

Python, Rust, and others have pseudo-terminal functionality via expect. Has a Julia package been developed for this purpose yet?

Found this after posting. Yuri D’Elia / Expect.jl · GitLab.

2 Likes

Out of curiosity, what do you need expect for? Nowadays, it seems relatively rare for software functionality to only be available in an interactive terminal, as opposed to having a native library or scripting API.

1 Like

My use case is interacting with the JPL HORIZONS terminal interface. You can automatically pull solar system ephemeris data using an open-source script they wrote. I wrote a gist on it here.

From the gist:

wget ftp://ssd.jpl.nasa.gov/pub/ssd/SCRIPTS/vec_tbl
wget ftp://ssd.jpl.nasa.gov/pub/ssd/SCRIPTS/vec_tbl.inp
1 Like