burtonsamograd / sxc

sxc is an 'S-Expression C' transpiler for generating C code using macros written in Common Lisp
212 stars 10 forks source link

main.lisp missing export #7

Closed ggerules closed 6 years ago

ggerules commented 6 years ago

Nice example!
Very concise.

In main.lisp Was (defpackage :main (:use cl))

Should be... (defpackage :main (:use cl) (:export main))

Now the script/makefile will build a executable.
My environment, Ubuntu 16.04 sbcl version 1.4.5

burtonsamograd commented 6 years ago

Thank you. I appreciate it.

I'll patch this in shortly.

burtonsamograd commented 6 years ago

Should be good, thanks for the patch.