munificent / craftinginterpreters

Repository for the book "Crafting Interpreters"
http://www.craftinginterpreters.com/
Other
8.43k stars 1.01k forks source link

Broken Link to lex in Ch 4: Scanning #1112

Open hoxiea opened 1 year ago

hoxiea commented 1 year ago

In Section 4.3, the following text appears:

You very precisely can recognize all of the different lexemes for Lox using regexes if you want to, and there’s a pile of interesting theory underlying why that is and what it means. Tools like Lex or Flex are designed expressly to let you do this—throw a handful of regexes at them, and they give you a complete scanner back.

The current link for Lex is 404 Not Found. One potential replacement link would be the Wikipedia page for lex.

pranavsb commented 6 months ago

+1

I tried looking for replacement links but could only find tutorials like silcnitc.github.io or this .edu page. Looks like the Wiki page is the closest replacement for the original link to the tool's website which has probably been down since March when this issue was first reported.

bugwelle commented 6 months ago

You can use the Wayback machine to get an old version of that page: https://web.archive.org/web/20220901045121/http://dinosaur.compilertools.net/lex/