---
title: "#lexical-analysis articles | Hashnode"
description: "Explore 36 articles tagged #lexical-analysis on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/lexical-analysis"
---

Tag

# #lexical-analysis

36 posts · 0 followers

[Abhigna Sriramoju](https://hashnode.com/@a6h1gna) · [Apr 25](https://hashnode.com/posts/the-lexer/69ec75ed5a627d8e522b7aad)

### [How JavaScript Pinpoints Errors: It Starts with the Lexer](https://console-diaries.hashnode.dev/the-lexer?utm_source=hashnode&utm_medium=feed)

Turning text into meaning, one token at a time.

6 min read · [console-diaries.hashnode.dev](https://console-diaries.hashnode.dev/the-lexer?utm_source=hashnode&utm_medium=feed)

[Saul Hernandez](https://hashnode.com/@saulhl) · [Feb 1, 2025](https://hashnode.com/posts/building-a-lexical-analyzer-for-theory-of-computation-part-3-developing-the-parser/679dc30d7c1e087999df9832)

### [Building a Lexical Analyzer for Theory of Computation: Part 3 - Developing the Parser](https://saul-lara.hashnode.dev/building-a-lexical-analyzer-for-theory-of-computation-part-3-developing-the-parser?utm_source=hashnode&utm_medium=feed)

Learn how to build a parser with Python for lexically analyzing code using a Finite State Machine

9 min read · [saul-lara.hashnode.dev](https://saul-lara.hashnode.dev/building-a-lexical-analyzer-for-theory-of-computation-part-3-developing-the-parser?utm_source=hashnode&utm_medium=feed)

[Saul Hernandez](https://hashnode.com/@saulhl) · [Jan 28, 2025](https://hashnode.com/posts/creating-a-lexical-analyzer-for-theory-of-computation-lexer-development-part-2/67985fc3ddedecd14c21628c)

### [Creating a Lexical Analyzer for Theory of Computation: Lexer Development - Part 2](https://saul-lara.hashnode.dev/creating-a-lexical-analyzer-for-theory-of-computation-lexer-development-part-2?utm_source=hashnode&utm_medium=feed)

Learn how to develop a Lexical Analyzer in Python for the Theory of Computation, focusing on token types and testing using pytest

16 min read · [saul-lara.hashnode.dev](https://saul-lara.hashnode.dev/creating-a-lexical-analyzer-for-theory-of-computation-lexer-development-part-2?utm_source=hashnode&utm_medium=feed)

[Saul Hernandez](https://hashnode.com/@saulhl) · [Jan 19, 2025](https://hashnode.com/posts/how-i-built-a-lexical-analyzer-for-a-theory-of-computation-class-part-1/678c738d5d347ac67c27b4c7)

### [How I built a Lexical Analyzer for a Theory of Computation class - Part 1](https://saul-lara.hashnode.dev/how-i-built-a-lexical-analyzer-for-a-theory-of-computation-class-part-1?utm_source=hashnode&utm_medium=feed)

Learn how to build a lexical analyzer for the BASIC language in Python, including concepts like FSMs and tokenization

4 min read · [saul-lara.hashnode.dev](https://saul-lara.hashnode.dev/how-i-built-a-lexical-analyzer-for-a-theory-of-computation-class-part-1?utm_source=hashnode&utm_medium=feed)

[arman takmazyan](https://hashnode.com/@ArmanDevBlog) · [Sep 15, 2024](https://hashnode.com/posts/arithmetic-expressions-evaluator-part-2/66e7156fc976b655963db268)

### [Arithmetic Expressions Evaluator: Part 2](https://arman-dev-blog.hashnode.dev/arithmetic-expressions-evaluator-part-2?utm_source=hashnode&utm_medium=feed)

Parse arithmetic expressions with a recursive descent parser, validate syntax, generate ASTs, and create an interpreter

24 min read · [arman-dev-blog.hashnode.dev](https://arman-dev-blog.hashnode.dev/arithmetic-expressions-evaluator-part-2?utm_source=hashnode&utm_medium=feed)

[arman takmazyan](https://hashnode.com/@ArmanDevBlog) · [Sep 4, 2024](https://hashnode.com/posts/arithmetic-expressions-evaluator-part-1/66d8c3abaa63ec11e78ca27b)

### [Arithmetic Expressions Evaluator: Part 1](https://arman-dev-blog.hashnode.dev/arithmetic-expressions-evaluator-part-1?utm_source=hashnode&utm_medium=feed)

Introduction to building an arithmetic expressions evaluator: Lexer, AST Node structures, eliminating left recursion, and setting up CLI for testing

16 min read · [arman-dev-blog.hashnode.dev](https://arman-dev-blog.hashnode.dev/arithmetic-expressions-evaluator-part-1?utm_source=hashnode&utm_medium=feed)

[arman takmazyan](https://hashnode.com/@ArmanDevBlog) · [Aug 25, 2024](https://hashnode.com/posts/mastering-lexical-and-syntax-analysis-an-exploration-of-tokenizers-and-parsers/66cb16cbaaa5f6adaf5d4d93)

### [Mastering Lexical and Syntax Analysis: An Exploration of Tokenizers and Parsers](https://arman-dev-blog.hashnode.dev/mastering-lexical-and-syntax-analysis-an-exploration-of-tokenizers-and-parsers?utm_source=hashnode&utm_medium=feed)

Explore the concepts of lexical and syntax analysis, along with tokenizers and parsers, covering both top-down and bottom-up methods

13 min read · [arman-dev-blog.hashnode.dev](https://arman-dev-blog.hashnode.dev/mastering-lexical-and-syntax-analysis-an-exploration-of-tokenizers-and-parsers?utm_source=hashnode&utm_medium=feed)

[arman takmazyan](https://hashnode.com/@ArmanDevBlog) · [Jul 16, 2024](https://hashnode.com/posts/creating-tuffscript/6696c56fd869d59fbd75ba82)

### [Creating TuffScript: Exploring Esoteric Programming Languages and Their Foundations](https://arman-dev-blog.hashnode.dev/creating-tuffscript?utm_source=hashnode&utm_medium=feed)

Creating TuffScript: Exploring Esoteric Programming Languages and Their Foundations

2 min read · [arman-dev-blog.hashnode.dev](https://arman-dev-blog.hashnode.dev/creating-tuffscript?utm_source=hashnode&utm_medium=feed)

[Makx](https://hashnode.com/@melsonic) · [Jul 5, 2024](https://hashnode.com/posts/you-dont-know-json-parser/668833bdb9972ee4e3f3cce8)

### [You Don't Know Json-Parser](https://melsonic.hashnode.dev/you-dont-know-json-parser?utm_source=hashnode&utm_medium=feed)

Introduction Recently I have been taking up some projects and implementing them in Golang. So, this week I took up the challenge of learning the inner workings of a JSON parser and enforcing it in the Golang programming language. In this blog, I will...

6 min read · [melsonic.hashnode.dev](https://melsonic.hashnode.dev/you-dont-know-json-parser?utm_source=hashnode&utm_medium=feed)

[Pradeepto Sarkar](https://hashnode.com/@pradeeptosarkar) · [Jun 23, 2024](https://hashnode.com/posts/building-a-custom-compiler-or-transpiler-with-nodejs/6677c51e88875ad1b95515ae)

### [Building a Custom Compiler or Transpiler with Node.js](https://blog.namespacecomm.in/building-a-custom-compiler-or-transpiler-with-nodejs?utm_source=hashnode&utm_medium=feed)

Breaking Boundaries with Node.js: Crafting a Custom Compiler with Advanced Optimization Techniques and Expanded Functionality

23 min read · [blog.namespacecomm.in](https://blog.namespacecomm.in/building-a-custom-compiler-or-transpiler-with-nodejs?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/building-a-custom-compiler-or-transpiler-with-nodejs/6677c51e88875ad1b95515ae)
