Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Tuplanolla has quit [Quit: Leaving.]
gzar has quit [Quit: WeeChat 4.2.2]
motherfsck has quit [Quit: quit]
waleee has quit [Ping timeout: 260 seconds]
ansiwen has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #ocaml
<discocaml> <struktured> Debating on writing a tui, wanted to try minttea but it's not async/core compatible yet. Lambda term was popular a while ago but seems to be in maintenance mode. I haven't tried Nottui yet but wondering if I should consider it. Ncurses is too low level for my tastes and want to avoid C bindings where possible. Any other suggestions I'm missing here? Thanks
<discocaml> <darrenldl> nottui+notty been okay for the tool i'm working on (docfd), but you'll likely need to roll your own widgets for line wrapping textbox etc
<discocaml> <struktured> Thanks for the suggestion, will give it a trial. I found the minttea demo more impressive than the nottui so it biased my initial search
<discocaml> <darrenldl> is minttea tied to riot?
<discocaml> <struktured> yes, which is why I can't use it with janestreet core. Riot has a core library too and the name conflicts (with the opam released versions, at least)
<discocaml> <darrenldl> for nottui i'm vendoring its stepping function so i can have a eio yield between each step, so not fully ideal in principle, but not noticeable from user perspective
<discocaml> <struktured> if it works, it works. In my case I kind of care about update speed, but honestly I just want a good developer experience
<discocaml> <darrenldl> minttea demos look nice indeed and seems to have a richer set of widgets
<discocaml> <darrenldl> yeah idk, what kind of tui are you making?
<discocaml> <struktured> a live order book representation, for starters, but will add more tui interfaces if I like the library I'm using enough
<discocaml> <darrenldl> seems viable in either
<discocaml> <darrenldl> i guess it boils down to if you like reactivity or transition function style of updating the tui
<discocaml> <struktured> agreed, although the minttea version would be super easy- it's just a small mod of their table example.
<discocaml> <struktured> Lambda term is probably cooler to me but the riot version has some practicality I appreciate, and eio is nice
<discocaml> <struktured> I will study nottui a bit, thanks again for the suggestions
tri has joined #ocaml
<discocaml> <struktured> just googled docfd btw, looks pretty nifty
<discocaml> <darrenldl> thanks haha
<discocaml> <darrenldl> been handy for work : v
<discocaml> <struktured> way more complicated tui than what I'm trying to do, proves out nottui for sure
<discocaml> <darrenldl> fwiw, i had plan to roll the widgets i wrote for docfd into a lib on top of lwd, notty and nottui, but uh no time or motivation
<discocaml> <darrenldl> and not that many tui people around, but if enough interest that could be a motivation for my holiday project : v
<discocaml> <struktured> either that or some other tui will arise on your plate and then you have to make a library
<discocaml> <darrenldl> : D
tri has quit [Remote host closed the connection]
tri has joined #ocaml
tri has quit [Ping timeout: 268 seconds]
Serpent7776 has joined #ocaml
deadmarshal_ has quit [Quit: IRCNow and Forever!]
deadmarshal_ has joined #ocaml