Hi Kobi, sorry to be a bit negative here, but I thought your explanation on "cond" was a bit confusing. I guess it's hard to explain many concepts with one example (all branches should be balanced, tests consume their arguments, etc.) I don't know how other people are feeling about this though.. Also, the use of "rot" is discouraged as it often can be replaced with higher level combinators. Maybe it would be better if rot didn't appear in the tutorial
The symbol up? is also disturbing, X? is usually a word which outputs a Boolean in factor, like your "on?" and "off?". So yeah, replacing "up? on?" and "up? off?" by "from-below?" and "from-above?" is a good idea. Finally, factor has some nice vocabs for parsing text : regexps or the EBNF parser. This would be the easier way to do it, but I can understand a tutorial would want to dig in and match brackets manually. cheers, On Fri, Oct 2, 2009 at 6:38 AM, Kobi Lurie <[email protected]> wrote: > For what it's worth, I wrote a little exercise tutorial > you can see it at: > http://my.opera.com/kwakodile/blog/2009/09/26/a-tribute-to-factor-a-small-tutorial > > enjoy > Kobi > >> >> I think what's needed, and what a lot of people have asked for, is >> more cookbook style documentation and tutorials. Quick examples of how >> to do small talks. Most of this type of stuff is in peoples blog >> posts. >> >> You're not the first to offer to do what you're doing btw. A few >> people have started, but never finished, moving on to other tasks. >> >> Chris. > > > -- > faluninfo.net > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- Jon Harper ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
