Sawez Faisalsawezfaisal.hashnode.dev·Oct 15, 2024Lexer - First step to find meaning from a Raw fileSo, 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...The Sodum Project: Unraveling Programming Language Design and ImplementationProgramming Blogs
Abou Zuhayrblog.zuhayr.dev·Oct 8, 2024Building a Parser: A Beginner-Friendly Guide to Constructing an AST-Based ParserIn 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...52 readsWhat, How and Why?parser
Abou Zuhayrblog.zuhayr.dev·Oct 3, 2024Understanding How Parsers Work : Writing My Own Programming LanguageSo, 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...What, How and Why?parser
Abou Zuhayrblog.zuhayr.dev·Sep 20, 2024Building My Own Programming Language: Day 02The 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...27 readsWhat, How and Why?lexer
arman takmazyanarman-dev-blog.hashnode.dev·Sep 4, 2024Arithmetic Expressions Evaluator: Part 1Previous 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...35 readslexer