elyandarin
2020-1-4 18:46:14

Is there a good way to match “first line in a text” in my lexer? Since the first line doesn’t have a newline in front of it, I’ve made newlines optional for lines, and now I have a problem with the lexer deciding one line is really two lines…

I suppose I could just add an extra newline in front before I run the code, but that feels like cheating…


0xk175un3
2020-1-4 21:00:18

@0xk175un3 has joined the channel