#lang scribble/doc @(require scribble/manual scribble/basic) @title[#:tag "top"]{Super C} @author[(author+email "Jay McCarthy" "jay@plt-scheme.org")] This package provides a language for writing integrated C and Scheme. There is an example in the source of this package in the @filepath{examples} directory. A Super C program has two portions: Scheme code and C code. A Super C program starts with a Scheme program where @scheme[_this-lib] is bound to the FFI library (returned by @scheme[ffi-lib]) compiled from the C portion. A line that matches the regular expression @scheme[#rx"^@-*@$"] separates the two portions. The C portion follows and compiled and linked by GCC with the following flags: @commandline{gcc -m32 -c @scheme[_c-source] -o @scheme[_object-file]} @commandline{gcc -m32 -dynamiclib -o @scheme[_dylib-file] -dylib @scheme[_object-file]} @bold{Warning:} @link["http://en.wikipedia.org/wiki/Super_Contra"]{Super C} is unsafe by nature and only supports Mac OS X with Developer Tools. Additionally, I have not figured out the best way to pass arguments to the compiler, so some obvious C programs cannot be implemented.