Nice, thank you.

That said....  one line noun DDs by themselves are silly. But they
would address an issue with nested quotes -- so they would not be
entirely silly.

Thanks again,

-- 
Raul

On Tue, Oct 20, 2020 at 5:25 PM Henry Rich <[email protected]> wrote:
>
> Not picking up  : inside {{ }} is a bug.  It looks for the : but then
> forgets to set the type to 3 instead of 4.
>
> When I started the implementation it was impossible to have LF in a
> quoted string inside an explicit definition, which made it impossible to
> do multiline noun DDs, and one-line noun DDs are silly.  But I ended up
> rewriting that part of the code anyway, and now it is feasible I think.
> If so I will add it.  wd {{) will produce a quoted string possibly
> containing LF.
>
> Henry Rich
>
> On 10/20/2020 4:59 PM, Raul Miller wrote:
> > Ah, I see... or )a or )c decorators.
> >
> > I am sort of disappointed that I can't build nouns this way. (Or, at
> > least, I haven't figured out how, yet.)
> >    {{
> > wd 'reset'
> > }}
> > 1 : 0
> >
> >   wd 'reset'
> > )
> >     {{)n
> > wd 'reset'
> > }}
> > |domain error
> > |   (9     :') n
> >   wd ''reset''
> > ')
> >
> > I think it would be nice to be able to do something like:
> >
> > start=: {{
> >    NB. ... stuff goes here ...
> >    wd {{)n
> >      pc a;
> >      minwh 640 480;
> >      pmove 500 500 _1 _1;
> >      cc g opengl flush;
> >    }}
> > }}
> >
> > For example
> >
> > Thanks,
> >
>
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to