Daniel N.write-compiler.hashnode.dev·18 hours agoA simple machine← previous chapter: Reading the input file Now, we turn our attention to the “machine” that will execute the compiled code. Since this is not a real CPU, but a kind of simulation, it’s usually called virtual machine. As any other CPU, it will execut...DiscussC++
Daniel N.write-compiler.hashnode.dev·20 hours agoLet's startI’ve been fascinated with compilers and interpreters for a long time, and in the last 20 years I’ve written some interpreters that were used in companies I’ve worked with. My goal in this series is to explain how to write a really simple compiler, an...Discusscompilers
Daniel N.write-compiler.hashnode.dev·20 hours agoReading the input file← previous article: Let’s start! Our “compiler” will be a command-line application; for now, the only argument will be the source file name. We will compile the file into our memory, and, if everything went ok, run the code we made, and exit. The ma...Discuss#CompilerDesign
Abou Zuhayrblog.zuhayr.dev·Sep 12, 2024Building My Own Programming Language: Day 01I've always wondered how computers understand language. How do words and symbols turn into 0s and 1s, and then back into something we can read? The typical explanations about compilers and interpreters give us the basics, but I often ask myself: Do I...DiscussWhat, How and Why?compilers
Dhanush Ndhanushnehru.hashnode.dev·May 18, 2024I created an Open Source Custom Code EditorHey Everyone 👋 I'm excited to announce my open-source custom code editor! 🎉 This editor is currently open-source and supports two programming languages: JavaScript and Python ( more to be included ). I was fascinated with various code editors execu...Discuss·3 likesOpen Source
Chris Dourisdigitalcreations.hashnode.dev·Mar 24, 2024Day 46/100 100 Days of CodeMixing Objective-C and C++ was quite the adventure. I didn't expect it to be that hard. The problem was that the compiler couldn't locate After a lot of experimentation, I ended up finding the solution on Stack Overflow. It is not possible to mix C++...Discuss100 Days of CodeC++
Olabanji BaniexforOlabanji's Blogbaniex.hashnode.dev·Feb 10, 2024Interpreter vs CompilerSo yeah, we are discussing Computers of course just in case "Interpreters and Compilers" are in another field. Allow me to paint in your imaginative mind. Imagine Vladimir Putin, the current Russian President, was giving a speech about the war and th...Discussinterpreter
Hady Eslamhadyeslam.hashnode.dev·Jan 25, 2024Engine - Yet Another Programming Languageبسم الله الرحمن الرحيماللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا Although there exist many programming languages on earth, This will not weave my determination to announce my new programming language ( E...Discuss·1 likeOpen Source
Basil Ajithundefined.pyfy.ch·Dec 26, 2023I Want To Create My Own Programming LanguageIt happened a few months ago...I was bit by the programming language bug. I am unable to recall how it happened or what led to it, but I suddenly got curious to know how programming languages worked and all I know was that I was hooked into the idea ...Discusscompiler
Jayant ChowdharyforfreeCodeCampfreecodecamp.org·Nov 30, 2023How to Build a Clang AST-Based C++ Static Analysis ToolClang is a set of tools and projects that provides infrastructure for languages in the C family like C, C++, OpenCL, and CUDA. It is a part of the LLVM project. This article will show you how to use Clang's front end libraries to build a simple stati...DiscussC++