[plt-scheme] [ANN] Super C --- Integrated Scheme and C programs

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Tue Oct 27 14:37:17 EDT 2009

I just realized a new, evil, package.


Here's a sample:

#lang planet jaymccarthy/superc

(define main (get-ffi-obj 'main this-lib (_fun -> _int)))

(display (main))

#include <stdio.h>

int main(void)
    int x = 0;
    printf("hello, world\n");
    scanf("%d", &x);
    printf("you typed: %d\n", x);
    return 1;

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.