Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What can we learn from how compilers are designed?.
If it occurs in code like:
let a = /x;
let a = b /x;
https://www.perlmonks.org/?node_id=663393
If it occurs in code like:
then it needs to continue lexing a regular expression.If it occurs in code like:
then it needs to lex it as division sign, identifier x, semicolon.