On Mon, May 30, 2016 at 2:32 PM, Alexis King wrote:
>
>> On May 30, 2016, at 12:23, Alexis King wrote:
>>
>> Now the colorer attempts to lex the slash alone as a new token without
>> attempting to re-lex “foo”. Since a forward slash is not valid at
> On May 30, 2016, at 12:23, Alexis King wrote:
>
> Now the colorer attempts to lex the slash alone as a new token without
> attempting to re-lex “foo”. Since a forward slash is not valid at the
> beginning of an identifier, it is colored as an error.
>
> Basically, when
I'm not quite following but I agree the dont-stop is not what you
want. That is a form of concurrency control and not relevant here.
The lexing apparatus works best if your lexing has the invariant that
editing a lexeme doesn't invalidate things before it. Is there another
way to recast lexing
I’ve created a custom language with non-s-expression syntax, so I’ve
written a lexer and connected it to the DrRacket syntax highlighter.
This works pretty well, but I have a small problem: when modifying text
that would cause earlier tokens in the stream to lex differently, I am
unsure how to
4 matches
Mail list logo