I was going to look at this very state machine the other day. The original machine has one property that I have found very useful.
It can handle unbalanced quotes on the code lines. Monadic pre 9.02 ;: throws errors and does not return the tokenization. The JOD system tokenizers J code in some places and it's nice to handle the case of whacked syntax. On Wed, Nov 4, 2020 at 10:04 AM Henry Rich <[email protected]> wrote: > I thought that might be the case. I would rather add to (x ;: y), if > you know just what's needed. > > Henry Rich > > On 11/4/2020 12:01 PM, Raul Miller wrote: > > After studying this: the rules you implemented for {{ and }} require > > either an additional sequential machine operation (somewhat analogous > > to ev, but non-repeating), or post-processing the result (to break up > > offending {{. and {{: sequences). > > > > FYI, > > > > > -- > 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 > -- John D. Baker [email protected] ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
