ivanperez-keera / Yampa

Functional Reactive Programming domain-specific language for efficient hybrid systems
450 stars 51 forks source link

Add a hello world example of gloss + Yampa #41

Closed ivanperez-keera closed 6 years ago

ivanperez-keera commented 7 years ago

It would be great to have some trivial examples of good Yampa that can help people get started.

There's a project called Yampa 2048 that uses gloss. Factorizing the code logic out might give a reasonable hello gloss.

joseedil commented 6 years ago

No strings attached, but I'm starting some study on Gloss to develop a few demos for another project (https://github.com/forsyde/reactive-gpac). It is indeed inspired and pretty close to Yampa (main difference lies on my plans to support discrete events) so I think I could develop for both projects.

ivanperez-keera commented 6 years ago

@joseedil Any news on this? It would be wonderful to add a basic hello world to the next release due in a few days :)

ivanperez-keera commented 6 years ago

@ksaveljev I'd like to move the generic part of Yampa-2048 into a yampa-gloss library. You'd be credited as author. Is that ok?

ksaveljev commented 6 years ago

@ivanperez-keera em, sure, but if I remember correctly (and the README in my project direction also mentions it) I didn't really come up with this Gloss approach on my own and used some work based on https://github.com/tigrennatenn/2048haskell

So, just saying, that the author of that implementation might also be mentioned somehow

ivanperez-keera commented 6 years ago

Thanks. I took a quick look. I think the part that I want to put in the library has little in common with what Maia did, but I could be wrong. I'll poke you once the repo is created so that you can take a look and decide who must be credited.

ivanperez-keera commented 6 years ago

@ksaveljev https://github.com/ivanperez-keera/yampa-gloss