[ANN] Céu-SDL v0.20: Structured Reactive Programming for SDL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Céu-SDL v0.20: Structured Reactive Programming for SDL

Francisco Sant'anna
# 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/

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org