sctb/motor
View on GitHub ↗ ★ 5 Lua
An event-based IO library for Lumen
6 mentions on Hacker News by 5 people: 0 stories, 6 comments · first 2015-10-16 · latest 2022-10-13
20082026
-
…a spin: https://github.com/sctb/lumen His Postgres FFI is the prettiest lisp FFI you’ll ever see. https://github.com/sctb/motor/blob/master/pq.l
comment by sillysaurusx · 2022-10-13 · in They Called It LISP for a Reason: List Processing (2005) -
…FFI library -- and since our lisp runs in Lua, that means we automatically get a fantastic FFI: https://github.com/sctb/motor/blob/master/pq.l Imagine how much work it would be to write your own FFI! I think it's one of the best FFI's of…
comment by shawn · 2017-09-06 · in Lisp Machine Manual (1984) -
…a very small following. It makes changing the language much easier. > Here's an extensive example: https://github.com/sctb/motor > Note that it won't run on the latest Lumen, because dot syntax was recently removed. You'll need to revert…
comment by jarpineh · 2017-06-29 · in The Common Lisp Cookbook -
…a very small following. It makes changing the language much easier. Here's an extensive example: https://github.com/sctb/motor Note that it won't run on the latest Lumen, because dot syntax was recently removed. You'll need to revert to…
comment by sillysaurus3 · 2017-06-29 · in The Common Lisp Cookbook -
…the process of porting Arc from Racket to Lumen, which has a very interesting FFI thanks to LuaJIT: https://github.com/sctb/motor/blob/master/motor.l It's literally "copy-paste these C declarations. Now you can call those C functions." It…
comment by laarc · 2015-10-16 · in Show HN: `diff arc0 arc3.1` -
…interface with existing C libraries using Lumen. Just look how beautiful his postgres bindings are! https://github.com/sctb/motor/blob/master/pq.l That should catch anyone's attention -- the FFI is literally "copy paste some C declarations…
comment by laarc · 2015-10-16 · in Show HN: `diff arc0 arc3.1`