[Jprogramming] Question regarding J lexing rules

Raul Miller rauldmiller at gmail.com
Sun Oct 6 15:31:35 UTC 2019


On Sun, Oct 6, 2019 at 9:03 AM ethiejiesa via Programming
<programming at jsoftware.com> wrote:
> I wish to ask something very specific. Is there a particular
> technical reason for ev()ing (output code 4) from the 6 (num) state
> when encountering a Q (quote) or X (other) character? Unless I am
> misunderstanding, there is no way for a subsequent ev() to be emitted
> at all, much less one when r = 6.

ev ends the number and moves to a new state.

So the quote or other character begins a new token.

Thanks,

-- 
Raul


More information about the Programming mailing list