The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
[ANN] Céu-SDL v0.20: Structured Reactive Programming for SD
Francisco Sant'anna
Guest

# What is Céu-SDL?

Céu-SDL supports the development of SDL applications in the programming language Céu:

https://github.com/fsantanna/ceu-sdl/

# What is Céu?

Céu is a language providing *Structured Synchronous Reactive Programming*, a model for handling events through powerful control mechanisms:

http://www.ceu-lang.org/

The site offers an introductory video of 15 minutes.

# Example

The example in the link spawns a moving rectangle every second:

https://github.com/fsantanna/ceu-sdl/blob/v0.20/samples/sdl-03.ceu#L30

- the program is limited to at most 5 rectangles
- after 10 seconds they are all aborted
- the enclosing loop makes everything restart

The example illustrates structured composition and seamless abortion of activities in parallel.

# Feedback is highly appreciated!

Thanks,
Francisco Sant'Anna
http://www.ceu-lang.org/chico/