On Nov 11, 2007 2:10 PM, danil osipchuk <[EMAIL PROTECTED]> wrote: > Honestly I don't see how this addresses the problem of context changing > through the file. Imagine that you are writing a xml parser - that would be > another example.
Ok, let's say I was writing an xml parser using dyadic ;: One approach would be to use ;: to break elements and their contents into separate words. A different approach would be to construct the left argument for ;: based on an xpath specification. (Though there are limits here, in the context of keeping track of what was found with wildcards, and I would really prefer to go a couple passes with "resulting state at each character" sequential machines.) > It seemed to me that a pair of set/get verbs in the name > family of foreign conjunctions could make the tacit solution practical. How about get=: ". bind ] set=: 4 :'(x)=:y' ? > But as there is total ignoring of that point I'll take it as the advice to > choose another tool. That could work. That said, note that you really haven't described the problem you are trying to solve in enough detail for us to give coherent advice. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
