42 ms·
Guilty as charged :) I've been working on a lexer/parser/interpreter/compiler/whatever for a pet programming language project, and in the process of trying to
by yellowapple 10y ago
Guilty as charged :)
I've been working on a lexer/parser/interpreter/compiler/whatever for a pet programming language project, and in the process of trying to figure out how to keep track of line numbers in the source files I'm parsing, I inadvertently discovered that Perl already tracks that for me (in "$."). Who knew?
(I mean, Larry Wall obviously knew, of course, but whatever.)