A functional query language, implemented in Rust.
(There are also implementations in Java and Go.)
Morel requires Rust 1.93.1 or higher. Our MSRV (minimum supported rust version) will always be at least 6 months older than the release date. CI tests on MSRV and stable.
$ git clone git://github.com/hydromatic/morel-rust.git
$ cd morel-rust
$ cargo build; ./target/debug/morel$ cargo run
morel-rust version 0.9.0 (rust version 1.93.1)
- "Hello, world!";
> val it = "Hello, world!" : stringType control+D to exit the shell.
For quick testing, use the -e flag.
$ cargo run -- -e "1 + 2"
val it = 3 : int
$ cargo run -- -e "from i in [1,2,3] where i > 1"
val it = [2,3] : int list
$ cargo run -- -e 'let fun double x = x * 2 in map double [2,3,4] end'
val it = [4,6,8] : int list- Morel Rust language reference
- Morel Java language reference
- Query reference
- Change log
- Reading test scripts can be instructive; try, for example, built-in.smli
- License: Apache License, Version 2.0
- Author: Julian Hyde (@julianhyde)
- Blog: http://blog.hydromatic.net
- Source code: https://github.com/hydromatic/morel-rust
- Issues: https://github.com/hydromatic/morel-rust/issues
- Change log and release notes
