Oct 15, 2024 · 5 min read · So, finally its time to do some coding . A lexer is nothing but a piece of software whose job is to take in an input ,in our case the source code of the language and return a series of predefined tokens that corresponds to each and every character in...
Join discussion
Oct 8, 2024 · 6 min read · In our previous article, we built a lexer that converts code into tokens, breaking down the input into meaningful pieces. Now, the next exciting step is to write a parser, which takes these tokens and organizes them into a meaningful structure called...
Join discussion
Oct 3, 2024 · 6 min read · So, you’ve built a lexer that can break down source code into meaningful tokens—things like keywords, operators, and symbols. But what's next? While lexing breaks the input into smaller parts, it doesn’t tell us how these parts fit together. That’s w...
Join discussion
Sep 20, 2024 · 10 min read · The code for this tutorial can be found here In our previous blog post, we tried to understand the basic fundamentals behind building our own programming language, and discussed the type of language that we intend to design. If you are new to this s...
Join discussion
Sep 4, 2024 · 16 min read · Previous Posts: Creating TuffScript: Exploring Esoteric Programming Languages and Their Foundations Mastering Formal Grammars: An Introduction to the Chomsky Hierarchy Precedence and Associativity in Grammar Rules Mastering Lexical and Syntax Analysi...
Join discussion