Hello,
Anybody who's looked into constraint based programming has run into the
classic Fahrenheit to Celsius example.
Here it is in Factor:
http://paste.factorcode.org/paste?id=237
That's not a vocabulary. You can just paste that into a listener. (You'll need
the latest version from git as it uses the 'sto' vocabulary.) A window with
the demo will appear.
It demonstrates a few Factor techniques:
* Programming with models
* Gadgets which act as controls and views over models (the VC in MVC)
* Mutually dependent models
Ed
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk