lambda-term icon indicating copy to clipboard operation
lambda-term copied to clipboard

Port to Async?

Open basus opened this issue 9 years ago • 6 comments

I know this is a lot to ask, but is there any chance of getting a version of Lambda-Term using Async as a dependency instead of Lwt? I'd like to use Lamda-Term to build a shell for a large OCaml application and we're currently using Async for our concurrency needs and we'd like to avoid depending on both Async and Lwt.

basus avatar Apr 19 '16 20:04 basus

Actually I have a version of lambda-term based on Async at Jane Street. I've been working in on merging it with the main lambda-term to get something that works with Lwt, Async or none of them. It's in the branch lambda-term2

ghost avatar Apr 20 '16 07:04 ghost

Cool. Is the hope that this will become the main lambda-term in the not-too-distant future?

basus avatar Apr 20 '16 17:04 basus

I'd say about 2-3 months. It'll be installed as a lambda-term2 package so that both versions can be installed simultaneously. This will ease transition given that the API changes quite a bit.

Note that if you just need drawing and events, it might be quicker to port notty to async

ghost avatar Apr 21 '16 09:04 ghost

I'm mostly interesting readline-like line editing and tab-based auto-completion support.

basus avatar Apr 23 '16 18:04 basus

Hello! Any updates on it? Do you have plans to abstract lambda-term from reactor library?

prepor avatar Mar 08 '18 12:03 prepor

Unfortunately no, I've basically stopped working on Lambda-term. I can help if people are interested in contributing, but that's about it.

ghost avatar Mar 08 '18 13:03 ghost