Hey-ho--
I am attempting to learn how to do web programming with Factor. Now, I
understand that it is generally recommended to use the high-level
API--page actions and such--but I am finding that with all the magic
that happens behind the scenes, I can't understand how to usefully
modify any of the existing example apps, let alone write my own. So I'm
trying to start with some of the lower-level vocabularies, such as
html.forms. However:
( scratchpad ) <form> "my-form" set
( scratchpad ) "my-form" get
--- Data stack:
T{ form f ~vector~ ~hashtable~ f }
( scratchpad ) "my-form" [ "Jim Bob" "who" set-value ] with-form
Here I get an error saying
Generic word values>> does not define a method for the POSTPONE: f
class.
... which I guess means that the form is not actually getting bound to
the form variable in the scope of with-form. Can anyone tell me what I'm
doing wrong? I am running the last development version of Factor on
Linux.
Also, I'd be interested to know the rationale for with-form taking a
variable represented by a string rather than a symbol or a form object.
Finally, I asked a question on April 6 about webapps.blogs, but never
got any responses. Anybody have any answers for that one?
Thanks!
--
Matt Gushee
[email protected]
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk