Sawez Faisalsawezfaisal.hashnode.dev·Oct 20, 2024Understanding Parsers - Part 1 : TheoryMy introduction to parsers So, when the Lexer of Sodum got completed i was able to generate a stream of tokens from the incoming raw source code . Now WHAT!!! , what should i do with these tokens , How do i make sense out of it , How will the machine...DiscussThe Sodum Project: Unraveling Programming Language Design and Implementationparser
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...DiscussThe Sodum Project: Unraveling Programming Language Design and ImplementationProgramming Blogs
Dristanta Silwaldristantasilwal.hashnode.dev·Oct 4, 2024Let's Learn How Programs Are Compiled and ExecutedEver wondered what happens when you press “Run” after writing code? Whether you’re coding in C, Python, or Java, your source code goes through several steps before becoming a fully functional program. These steps are governed by the language system, ...Discussvirtual machine
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...DiscussWhat, How and Why?parser
Sawez Faisalsawezfaisal.hashnode.dev·Oct 3, 2024Chapter 5: Grammar of the languageUnderstanding Grammars in Programming Languages What is a Grammar? In the world of programming languages, a grammar is a set of rules that defines the structure of valid statements within the language. It's the backbone of how we write and interpret ...DiscussThe Sodum Project: Unraveling Programming Language Design and Implementationprogramming languages
Dishant Singhsqlcompiler.hashnode.dev·Oct 2, 2024A Beginner’s Guide to SQL and MySQL: How to Use SQLCompiler.liveIf you’re looking to dive into the world of databases, SQL (Structured Query Language) is your gateway. Whether you're aspiring to become a data analyst, developer, or just curious about how databases work, understanding SQL is essential. In this gui...DiscussSQL
Dilip PatelforDilip Patel's C++ blogcppmastery.hashnode.dev·Sep 30, 2024C++ InstallationThis article provides a step-by-step guide to installing and setting up a C++ development environment on Windows and macOS using Visual Studio Code. It covers downloading and installing a C++ compiler, setting up the file path, installing Visual Stud...DiscussC++ Basicscpp
Sawez Faisalsawezfaisal.hashnode.dev·Sep 30, 2024Chapter 4: Tokens??Tokens are the smallest meaningful part of the source code ( the high level language). So if your language contains if keyword it should have a token “IF” that would allow the compiler to identify the stream of characters in a source code and then se...DiscussThe Sodum Project: Unraveling Programming Language Design and ImplementationProgramming Blogs
Sawez Faisalsawezfaisal.hashnode.dev·Sep 26, 2024Chapter 3: Setting Up the Build System and Code FormattingIntroduction As we dive deeper into the Sodum project, it's crucial to set up a proper build system and code formatting tools. These might seem like extra steps now, but trust me, they'll save us a lot of headaches down the road! Build Systems: Why B...DiscussThe Sodum Project: Unraveling Programming Language Design and ImplementationProgramming Blogs
Jyotiprakash Mishrablog.jyotiprakash.org·Sep 23, 2024Having Fun with ParsersImagine you're speaking a language only your computer can understand, and it's hanging on to every word you say, trying to figure out exactly what you mean. This is essentially what a parser does—it reads your code (or any structured input) and tries...Discuss·10 likescontext-free grammar