We agree that syntax highlighting is complicated by defining (:) into names. That's all I meant to point out. (This frequently occurs in Rosetta Code, by the way: example =: verb define)
I don't follow what you said in the first portion of that message. In the J IDE (foo=: 3 enifed 0) is executed, toggling the window into the multi-line text entry mode, but I'm sure you're no less aware of that than anybody. -- Tracy On Sat, Feb 20, 2010 at 9:13 AM, bill lam <[email protected]> wrote: > I don't think the current J IDE or the script formatter will actually > running > something close to a J interpreter for that purpose. Try the following: > > enifed_z_=: : > > foo=: 3 enifed 0 > a > ) > > bar=: 3 : 0 > b > ) > > A J programmer cannot invent his own names for 0 1 2 3 4 13 and : > otherwise he has to write his own syntax highlighting. > > > sab, 20 Feb 2010, Tracy Harms skribis: > > This may be worth trying, with the caveat that some valid occurrences of > > explicit definition may not be recognized unless you're running something > > close to a J interpreter to assess the context in which the control word > > appears. > > > > On Fri, Feb 19, 2010 at 10:33 PM, bill lam <[email protected]> wrote: > > > > [---=| TOFU protection by t-prot: 11 lines snipped |=---] > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
