expressi
expressi copied to clipboard
Expression-oriented toy programming language written in Rust
Use [inkwell::targets::TargetMachine::write_to_file](https://thedan64.github.io/inkwell/inkwell/targets/struct.TargetMachine.html#method.write_to_file) with `-o` option
``` let f = (a, b) -> a(b); f Number) -> Number>; f(x -> x, 1) ``` ?
1. Implement `Value::free_variables` 2. Remove `check_captures` and replace its uses with that above 3. Use `Value::free_variables` in `TypeInfer::transform_with_env` and rollback `new_env` changes to `env`
https://travis-ci.com/coord-e/expressi/builds/103870387 make current source to be compiled with stable rust, and make nightly build accept failures