Summary Files Commits Branches @commit @diff @stats
path: root / src / blog
diff options
context:
space:
mode:
Commita98e79eea4bf4ec6aa2f3a977ee8dd243918b5ff (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-08-20 06:23:35 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-08-20 06:23:35 +0300
Filesd853ec59f6d6f825465575951dc337e41e29aeba /src/blog
syndamia.com-a98e79eea4bf4ec6aa2f3a977ee8dd243918b5ff.tar
syndamia.com-a98e79eea4bf4ec6aa2f3a977ee8dd243918b5ff.tar.gz
syndamia.com-a98e79eea4bf4ec6aa2f3a977ee8dd243918b5ff.zip
Parent697226e5787ee29fa2933da132e2e435f49f94f7 (diff)
fix(blog/sane-explanation-of-compilers): Fix include file path
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/blog/sane-explanation-of-compilers/part-1/index.du2
diff --git a/src/blog/sane-explanation-of-compilers/part-1/index.du b/src/blog/sane-explanation-of-compilers/part-1/index.du
index 74ad490..234a3b6 100644
--- a/src/blog/sane-explanation-of-compilers/part-1/index.du
+++ b/src/blog/sane-explanation-of-compilers/part-1/index.du
@@ -718,7 +718,7 @@ Usually the `[C_code]` in the regex would be a return (more commonly called "emi
Let's look at a very simple example program: every whole number is printed as "NUMBER", while everything else is printed as-is:
```lex
-'include ./lexer.l
+'include ./example_lex/lexer.l
The syntax `[[0-9]]` is the same as `[(0 | 1 | ... | 9)]`, it works for any letters and is available in all modern regexes.
Note that inside every regex's "body" you have an assortment of variables already set, one of them being `[yytext]` which is just the whole match.