Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basile-henry/ghci-rs
A crate to manage and communicate with ghci (Haskell's GHC interpreter)
https://github.com/basile-henry/ghci-rs
Last synced: 8 days ago
JSON representation
A crate to manage and communicate with ghci (Haskell's GHC interpreter)
- Host: GitHub
- URL: https://github.com/basile-henry/ghci-rs
- Owner: basile-henry
- License: mit
- Created: 2023-07-23T20:02:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-23T20:58:35.000Z (over 1 year ago)
- Last Synced: 2024-10-11T21:57:34.173Z (about 1 month ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghci [![CI Status](https://github.com/basile-henry/ghci-rs/workflows/CI/badge.svg)](https://github.com/basile-henry/ghci-rs/actions) [![crates.io](https://img.shields.io/crates/v/ghci.svg)](https://crates.io/crates/ghci) [![docs.rs](https://docs.rs/ghci/badge.svg)](https://docs.rs/ghci)
A crate to manage and communicate with `ghci` sessions
```rust
let mut ghci = Ghci::new()?;
let out = ghci.eval("putStrLn \"Hello world\"")?;
assert_eq!(&out.stdout, "Hello world\n");
```## License
[MIT License](./LICENSE)
Copyright 2023 Basile Henry