Discussion:
[ANN] Céu-SDL v0.20: Structured Reactive Programming for SDL
(too old to reply)
Francisco Sant'anna
2017-01-26 21:43:57 UTC
Permalink
# 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/

Continue reading on narkive:
Loading...