nowfound

Dev tools · September 30, 2020

Compiling to Assembly from Scratch

Ebook — ARM — TypeScript

Compiling to Assembly from Scratch launched on September 30, 2020 with 6 votes, #1,359 of 3,898 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 6 years on.

What it does

Learn about making a compiler that emits assembly *from scratch*. No previous experience with compilers is required. No libraries necessary. Just you and your favourite programming language. The book teaches you enough assembly programming to get going.

Have you been trying to learn how compilers and programming languages work? Then come along! Let’s make a compiler that goes all the way from source to assembly from scratch—no shortcuts! This book will teach you enough compiler theory and assembly programming to get going. It uses a subset of TypeScript that reads like pseudocode and targets ARM 32-bit instruction set. My name is Vladimir Keleshev. I am a software developer living and working just outside of Copenhagen. I have worked with embedded systems, safety-critical systems, compilers, and now in finance with domain-specific languages. The cover is illustrated by Katiuska Pino . She also drew 15 chapter illustrations that are…from keleshev.com

Does a similar job

all alternatives →
  • A work-in-progress C compiler from scratch2021 · github.com · ▲159

    Programming language that compiles into a x86 ELF executable. - riicchhaarrd/ocean

  • How to write a tiny compiler2017 · blog.klipse.tech · ▲224

    Write your own compiler: introduction. Code genetation. AST. Abstract syntax tree. lisp. javascript.

  • A new hobby OS from “scratch” in C#2017 · github.com · ▲310

    A multitasking monolithic Kernel based x86 targeting Operating System written in C# from scratch aiming for high-level implementation of drivers in managed environment. - amaneureka/AtomOS

  • x86-64 playground2025 · x64.halb.it · ▲11

    Write and learn assembly code from your browser

  • Goboscript, text-based programming language, compiles to Scratch2025 · github.com · ▲162

    goboscript is a text-based programming language which compiles to Scratch. It allows you to write Scratch projects in text, and compile it into a .sb3 file - which can be opened in the Scratch editor, TurboWarp or be uploaded to the Scratch website. goboscript allows you to create advanced Scratch projects with ease, you can use any text editor, use a version control system such as git. You can refactor your code using search and replace. Text code can be copy pasted, which allows you to easily reuse code or share it with others. goboscript syntax is concise and easy to read. goboscript…

  • Simple virtual machine, assembler, and C compiler2016 · github.com · ▲99

    simple virtual machine and assembler. Contribute to ronsoros/rvm development by creating an account on GitHub.

More dev tools this month

the category →
  • /dev/null▲494

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 1d ago · github.com

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 29d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 22d ago · talanoa.email

Source: Product Hunt launch ↗

Launched alongside, September 2020

the whole month →
  • Synthesia▲943

    Generate professional-looking AI videos from text in minutes

    AI · 2020 · synthesia.io

  • IdeasAI▲801

    OpenAI-powered startup idea generator

    AI · 2020 · ideasai.com

  • Tables helps teams easily track & automate tasks

    Work · 2020 · tables.area120.google.com

  • LS

    Almost eight years ago I launched an online “Linux sysadmin course for newbies” here at HN. It was a side-project that went well, but never generated enough money to allow me to fully commit to leaving the Day Job. After surviving the Big C, and getting made redundant I thought I might improve and relaunch it commercially – but my doctors are a pessimistic bunch, so it looked like I didn’t have the time. Instead, I rejigged/relaunched it via a Reddit forum this February as free and open - and have now gathered a team of helpers to ensure that it keeps going each month even after I can’t…

    Commerce · 2020

  • A pool party in your pocket

    Life & fun · 2020 · cellular.poolside.fm

  • 65 solo founders making $370,000/mo

    Life & fun · 2020