Article 6NREN How to Include C Code From Scratch in Common Lisp

How to Include C Code From Scratch in Common Lisp

by
FossilizedDaemon
from LinuxQuestions.org on (#6NREN)
Hello everyone,

As an exercise in learning more about programming, and to help with another project of mine, I want to learn how to write bindings for C in Common Lisp. I know enough about both languages to read and understand the functions, but I have never written bindings in either and only have used CFFI in Common Lisp. I tried reading over their codebase to learn more, but it being a huge project I keep getting caught up in different parts. I looked around online for tutorials on including C from scratch in Common Lisp, but can only find resources on using CFFI. I was curious if anyone here had any sources or pointers. Nothing insane, just a simple "hello world" for using a basic C function from CL.

Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments