On Sat, 25 Jul 2009, Dan Bron wrote:
> bill lam wrote:
> > sequence of noun noun is already is a syntax error. Also how
> > does it be extended to 5, 6 or more arguments?
>
> You know, I never thought about it before, but it would be pretty easy to add
> strand notation (noun juxtaposition ) to J, provided
> we accept some enclosing syntax:
>
> strand =: 2 : ' if. _. = m do. n else. strand (n,~<m) end.'
> S =: strand ''
>
> _. 'this' 'is' 'strand' 'notation' 0 a: (a.{~97+i.10) S
> +----+--+------+--------+-+--+----------+
> |this|is|strand|notation|0|++|abcdefghij|
> | | | | | |||| |
> | | | | | |++| |
> +----+--+------+--------+-+--+----------+
I'm not sure if this is strand notation which iiuc is a train of
isolated noun constructed solely by juxtaposition without the help of
other syntactic token.
If one can be happy with
verb _. noun noun S
why he can't stand
verb noun ; noun
--
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