Open MostAwesomeDude opened 3 years ago
This feature is one of the next things I would like to work on. We are planning a text-based interface that should be usable over CLI.
https://github.com/uutils/coreutils has a lot of examples. Tell me what features you want and I can write a clap CLI.
@chadbrewbaker, the CLI isn't quite the issue, it's the text interface. We need to design a text language (probably some kind of s-expression thing) that can describe programs and commands to optimize them. It will probably look something like SMT-LIB.
Any update on this? I would also like to use egg in a programming language implementation and would prefer not to have to translate the entirety (the project is written in OCaml).
Hey @brightly-salty, we are planning to work on this, but it's not at the top of my pile right now. Currently, writing your own interface is still the way to go. You may also be interested in https://github.com/Gopiandcode/ego
Thanks, I hadn't seen that, I think it will suffice for my use case.
I would like to use
egg
in a compiler for a programming language, but the compiler is written in a language without FFI to Rust or C. I wrote a poor version of egg in the meantime, but it would be ideal to be able to call anegg
subprocess or similar.