Programming

Chicken Scheme: Scheme-to-C Compiler

steloflute 2013. 5. 5. 18:46

CHICKEN is a compiler for the Scheme programming language. CHICKEN produces portable and efficient C, supports almost all of the R5RS Scheme language standard, and includes many enhancements and extensions. CHICKEN runs on Linux, MacOS X, Windows, and many Unix flavours.

http://call-cc.org/
(각 플랫폼 패키지: http://wiki.call-cc.org/platforms)

사용법: csc hello.scm
REPL 사용법: csi

Scheme 소스 코드를 C 소스 코드로 변환하여 실행 파일을 만든다.
(배포시, 약 3MB의 라이브러리 파일 libchicken.so 또는 libchicken.dll이 필요하다.)

Windows에서는 mingw가 설치되어 있어야 한다. (gcc 사용을 위해)