CHICKEN Scheme tutorials

This page contains a list of tutorials we have written (or would like someone to write) about CHICKEN Scheme.

Learn X in Y minutes, where X=CHICKEN
CHICKEN page for
A guided tour through the CHICKEN republic
Christian's FrOSCon 2011 talk
JRM's Syntax-rules Primer for the Merely Eccentric
A famous and very friendly introduction to the R5RS high-level macro system known as syntax-rules.
Al* Petrofky's "An Advanced Syntax-Rules Primer for the Mildly Insane"
A useful article to read if you wish to know the nitty-gritty details of how macro renaming works. This may help you to not only understand syntax-rules better, but will also provide a good basis for grokking explicit renaming and other macro systems.
Explicit (and implicit) renaming macros
Introduction to "explicit (and implicit) renaming" macros, the low-level macro systems used in CHICKEN.
The Iup GUI toolkit
Some examples for using Iup in CHICKEN.
Macro systems and chicken (long)
An excellent post by Alex Shinn, explaining different macro systems. Please note: This was written when CHICKEN 4 was not yet released, and hence refers to various different macro systems available for CHICKEN at the time. This is no longer true since CHICKEN now has ER- and IR-macros built in.
Design by Contract
How to use Design by Contract in CHICKEN.
Design by Contract old version
How to use Design by Contract in CHICKEN (old version).
How to use assertions in your code as a way to detect programming errors.
Autoconf - Automake
A tutorial explaining how to use Autoconf and Automake in software packages containing Scheme files meant to be compiled by CHICKEN.
Eggs Tutorial
A tutorial about creating CHICKEN eggs.
CHICKEN on handhelds
A guide to using CHICKEN on embedded devices.
Compiling CHICKEN on Windows XP with MinGW
For the Windows using C/C++ newbies like me.
Some pointers on embedding CHICKEN in another application.
Programming for Performance
Felix explains which optimisations might make your code faster.
Friendly CHICKEN
Little guide that explains some of the pitfalls for CHICKEN starters
Bootstrapping SDL2 on Android
Object Orientation with SRFI-99 records
Scheme live-coding with emacs
Building a web application with Spiffy from an Emacs session

CHICKEN Gazette Omelette Recipes

An introduction to the condition system.


Define-Foreign-Enum-Type, Typedef, and Pointers
Binding Nested Structs in CHICKEN Scheme
Handling callbacks into CHICKEN from other threads
Wrapping simple C structs