You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
'm looking for a lisp/scheme which can:
1) Output C code for the application
2) Can trim unused part (tree shake?) of the compiler/interpreter
which is not needed by the app itself.
I know Gambit-C can do something similar, but it seems a manual
process where the user specifies which parts of the kernel to keep.
Thanks, Steve
Jeffrey Mark Siskind
unread,
Jun 8, 2012, 12:37:50 PM6/8/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
stalin
Steve Graham
unread,
Jun 8, 2012, 1:13:23 PM6/8/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Thanks, Jeffrey.
How does one go about trimming functions not needed by the application?
Steve
Jeffrey Mark Siskind
unread,
Jun 8, 2012, 3:59:27 PM6/8/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
its automatic. and not optional. the compiler is hardwired to always
do it.
Steve Graham
unread,
Jun 8, 2012, 4:02:42 PM6/8/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Does it produce C program as an intermediate step?
Steve
Jeffrey Mark Siskind
unread,
Jun 9, 2012, 6:39:41 PM6/9/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Yes. It produces a single C file that only links against -lc, -lm, and
-lgc.
-lm and -lgc are not necessary if they are not used. It can, of
course, link to
other things called through the FFI.