The calendar vocab has a lot of interesting words that allow doing calculations like "5 weeks ago". Right clicking allows you to push the element on the Factor stack and manipulate it. Left clicking on the coloured words will open a URL in the default web browser. The items in the list are graphical elements that can be manipulated. a list of historical deaths from wikipedia for five weeks ago. a list of historical births from wikipedia for yesterday. a list of historical events from wikipedia for today. This blog post from re-factor shows pulling historical facts from Wikipedia: USE: wikipedia If it seems like all the examples I'm using are from the excellent re-factor blog - well, most of them are. The implementation is explained by the author here. Help can be shown with: "minesweeper" helpĪnother fun example is displaying XKCD comics inside the Factor REPL. To run it inside Factor, do the following: "minesweeper" runĪ new window will open showing the game. A blog post by the author explains the implementation. The first example is an implementation of the game Minesweeper in Factor. This post isn't about Factor the language, but is about some of the neat fun libraries that people have written that shows off the graphical development system a bit. The development environment has a very Smalltalk-like feel to it and it includes full documentation and browseable source code of libraries. It's been a while since I've contributed but I still use Factor. Factor is a programming language I've written about before and in the early days of Factor development I wrote a number of libraries and contributed to development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |