[m-users.] GNU Readline example

Sean Charles (emacstheviking) objitsu at gmail.com
Fri May 21 21:52:54 AEST 2021


OK, I will roll one out. Should not be too hard even for me.

Thanks Julien.


> On 21 May 2021, at 12:24, Julien Fischer <jfischer at opturion.com> wrote:
> 
> 
> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20210521/e2fa9e31/attachment.html>


More information about the users mailing list