From 49058332b9445514fe12a9bc7e28461436a7888c Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 15 Apr 2020 11:48:10 -0400 Subject: [PATCH] Fix link in syntax highlighting post --- site/posts/2020-04-09-syntax-highlighting-javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/posts/2020-04-09-syntax-highlighting-javascript.md b/site/posts/2020-04-09-syntax-highlighting-javascript.md index ce6e7b4..67d31b8 100644 --- a/site/posts/2020-04-09-syntax-highlighting-javascript.md +++ b/site/posts/2020-04-09-syntax-highlighting-javascript.md @@ -31,7 +31,7 @@ I spent a couple days profiling it, trying to improve the performance to a point ## Conclusion -If you'd asked me a year ago, heck, even a couple months ago, if I'd ever think about undertaking a project like this myself, I'd have said absolutely not and proceeded to go find a third party library that could do the job adequately. But recently, I've been watching [Jonathan Blow](https://youtu.be/MnctEW1oL-E) talk about building parsers and [Andreas Kling](https://youtu.be/watch?v=byNwCHc_IIM) actually build a JavaScript interpreter starting from scratch, and there's one thing that they both mentioned on multiple occasions that really stuck with me: it's just code. Sure, its input is source code, but the operations it performs to produce syntax highlighted output aren't anything insanely complicated or out of the reach of any reasonably experienced programmer. +If you'd asked me a year ago, heck, even a couple months ago, if I'd ever think about undertaking a project like this myself, I'd have said absolutely not and proceeded to go find a third party library that could do the job adequately. But recently, I've been watching [Jonathan Blow](https://youtu.be/MnctEW1oL-E) talk about building parsers and [Andreas Kling](https://youtu.be/byNwCHc_IIM) actually build a JavaScript interpreter starting from scratch, and there's one thing that they both mentioned on multiple occasions that really stuck with me: it's just code. Sure, its input is source code, but the operations it performs to produce syntax highlighted output aren't anything insanely complicated or out of the reach of any reasonably experienced programmer. I'm not trying to claim that what I've written is anywhere near as complicated as a full-blown parser or interpreter that could be used to execute code. Nor is it a simple one.