Skip to content

Instantly share code, notes, and snippets.

@k33g
Last active December 14, 2015 16:59
Show Gist options
  • Save k33g/5119019 to your computer and use it in GitHub Desktop.
Save k33g/5119019 to your computer and use it in GitHub Desktop.
le "Glloq", 1er DSL pour enfants en Golo
var maBoite = boite():
ajouter(): trois(): alumettes():
ajouter(): quatre(): cailloux():
enlever(): une(): alumette()
combien(): de(): cailloux(): dans(maBoite)
combien(): de(): alumettes(): dans(maBoite)
@k33g
Copy link
Author

k33g commented Mar 8, 2013

on obtient :
4 cailloux
2 alumettes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment