[m-users.] GNU Readline example
Julien Fischer
jfischer at opturion.com
Fri May 21 21:24:46 AEST 2021
Hi Sean,
On Fri, 21 May 2021, Sean Charles (emacstheviking) wrote:
> I have used this library from C many times but I think it is used by
> the mercury debugger but try as I might I couldn’t really find any
> sample code to figure out how to do the FFI wrappers. I have done C
> FFI in Mercury before so I am sure I could manage to do it, there are
> only a few calls needed to initialise it and the history feature IIRC.
>
> As a time saver I wondered if anybody had a reference in the code that
> did this already? I did a search but only found compiler options,
> noactual stealable code!
Unfortuantely, mdb's interaction with readline are isolated to the C
code in the trace directory (i.e. the Mercury system doesn't have a
Mercury wrapper for it).
Julien.
More information about the users
mailing list