munificent / craftinginterpreters

Repository for the book "Crafting Interpreters"

Home Page:http://www.craftinginterpreters.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken Link to lex in Ch 4: Scanning

hoxiea opened this issue · comments

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.

+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.

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/