If you implemented this, would the following work?
embrace =: '(' , , ')'
i.e. be equivalent to
embrace =: '(' , ,&')'
?
If so: neat!
-Dan
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Roger Hui
Sent: Wednesday, August 21, 2013 12:47 AM
To: Chat Forum
Subject: Re: [Jchat] Propose (NOUN verb) parses as NOUN&verb
I suppose it's harmless.
On Tue, Aug 20, 2013 at 7:46 PM, David Lambert
<[email protected]>wrote:
> 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<http://www.jsoftware.com/forums.
> htm>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm