Demo project suggestions
Some suggestions for demo projects.
Compiler with language extensions
A compiler for a simple language, with language extensions that can be loaded as plugins. It should not be required to recompile the compiler itself for this. Possible extensions would be:
- In a language that expects a
main()
function, allow asetup()
and aloop()
instead (like in Arduino C++) - this should have a type likeAST -> Either Error AST
- Optimising arithmetic expressions - this could work on either the AST (
AST -> Either Error AST
) or on some generated bytecode (ABC -> Either Error ABC
)
Bot contest runner
A program that can run bots that implement the AI for a simple game.
- Optionally, an arbitrary number of players should be supported
- Optionally (and depending on the game), it should be possible for players to be added/removed during gameplay
iTasks compiler à la Ask-Elle
Let the user write a Clean program, compile it, and interpret it in the iTasks app. For example, give the user a task to write a program that produces a list of primes, and check that the first so many elements are indeed primes. We could also use some of the Gast tests from Peter's opdrachtenbundel.
SoccerFun
Options to share teams without sharing code. A central server to host teams. Being implemented at https://gitlab.science.ru.nl/cstaps/SoccerFun.
Edited by Clean Importer