https://code.jsoftware.com/wiki/Vocabulary/Words#WordFormation needs
to be updated.
Presumably this sentence needs to be extended somehow:
"A graphic such as (+) is a word in itself. However it may be
inflected, e.g. (+:)."
The best I can come up with, to describe the current behavior would be:
"Also, {{ and }} are each single words when not inflected."
Perhaps with a "starting in J902" clause, since j902 is still in beta.
Does that seem to be about right?
Thanks,
--
Raul
On Wed, Oct 21, 2020 at 4:48 PM Henry Rich <[email protected]> wrote:
>
> I use the same state machine as (;: x), but that's different from (x ;: y).
>
> Henry Rich
>
> On 10/21/2020 4:46 PM, 'Pascal Jasmin' via Beta wrote:
> > If you use the same parser state machine as (dyadic) ;: does, it would be
> > nice to publish it so that John and others may have guidance in how to
> > implement variations.
> >
> >
> >
> >
> >
> >
> > On Wednesday, October 21, 2020, 04:39:46 p.m. EDT, Henry Rich
> > <[email protected]> wrote:
> >
> >
> >
> >
> >
> > The changes to the word recognizer are:
> >
> > LF is a word, ENDS a comment, DOES NOT END a quoted string, CANNOT be
> > inflected
> >
> > {{ and }} are words, DOES NOT end a comment, DOES NOT end a quoted
> > string, CANNOT be inflected.
> >
> > Henry Rich
> >
> > On 10/21/2020 2:58 PM, John Baker wrote:
> >> With DD's use of {{ }} I expected problems with code that tokenizes J code
> >> and
> >> I've run into cases where J vanishes.
> >>
> >> The error is related to finite state machines. For years I've used one of
> >> Roger's finite state
> >> machines in place of ;: because it can handle unbalanced quotes. Of course
> >> now ;:
> >> and the machine differ on ;:'{{}}' and this is causing failures.
> >>
> >> I will seek to narrow done exactly where J is vanishing. I'll also have to
> >> dig into finite state machines to change wfl to handle the DD
> >>
> >>
> >>
> >>
> >
>
>
> --
> 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