henrimenke at gmail.com
Thu Dec 13 21:33:40 CET 2018
On 14/12/18 5:07 AM, luigi scarso wrote:
> On Thu, Dec 13, 2018 at 4:45 PM Alan Braslau <braslau.list at comcast.net>
>> Of course, it is:
>> double jn(int n,double x);
>> vardef jn(expr n, x) = scantokens(lua("mp.quoted( ffi.C.jn(" & decimal n &
>> "," & decimal x & "))")) enddef ;
>> (shows that I have yet to use jn ;-)
> I often use this as reference
I have some Gists on GitHub using the FFI.
Binding interpreters of other scripting languages (so far Python, R,
Guile, and Lua):
Rendering SVG to PDF using Cairo and rsvg2:
Some of the code on GitHub was inspired by answers of mine on the
StackExchange network. Here is a collection of answers using FFI. All
the answers from TeX Stack Exchange use LaTeX. ConTeXt is not so
How to implement X11 code for LuaJIT's FFI?
How to plot a function in integral form with TikZ?
Erf function in LaTeX
Plot a factorial function
Plot bessel functions
(Lua) LaTeX & HeVeA with partly generated things
How to include SVG diagrams in LaTeX?
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
More information about the ntg-context