User talk:DanBron: Difference between revisions

m
Line 11:
any comments? --[[User:Gaaijz|Gaaijz]] 16:12, 21 January 2009 (UTC)
 
:I added [[XML_Reading#J|XML reading]]. For this particular task, I think the XSLT library is best suited. What script defines <tt>xmlread</tt> in your example? I couldn't find it anywhere in the base library or addons.
:Regarding [[Jensen's Device]], J doesn't really have semantics of the type needed. The only two approaches I can think of entail exploiting mapped files or the parse rules which stack names (e.g. the proverb rule). Unfortunately passing by name isn't sufficient; for Jensen's Device (at least the example given), you need the exact ''expression'' that calculated the parameter (in this case, we need to be able to say <tt>some_verb 0;1;100;1 % i</tt> and give the verb access to the expression <tt>1%i</tt> rather than just its result. AFAICT, this isn't really possible in J, without quoting the expression, which evades the spirit of the task.
 
:Perhaps it'd be easier to create a new task starting with J. The idea has a certain poetry (given that we're the J task force).
Anonymous user