I frequently make this sort of syntax error:

   f=:(F;S;M);:
|syntax error
|   f=:    (F;S;M);:

   f=:(F;S;M)&;:

Usually this happens from quick cut-n-paste rather than oversight.

I'm proposing to replace the noun verb production syntax error to instead parse 
as

noun&verb

I haven't thought through all possible productions to find where this breaks.

By syntax error the parser indicates "The value on the left of your hook is a noun.  
Try again!" which is also sometimes true.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to