On 2012-08-06 21:00, Philippe Sigaud wrote:
Yes, well we don't have a condition system. And using exceptions during lexing would most probably kill its efficiency. Errors in lexing are not uncommon. The usual D idiom of having an enum StopOnError { no, yes } should be enough.
Especially when if the lexer is used in an IDE. The code is constantly changing and will be invalid quite often.
-- /Jacob Carlborg