Writing a Debugger from Scratch: Breakpoints

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Crafting Interpreters

    Repository for the book "Crafting Interpreters"

  • I was asking this myself this while reading the book "Crafting Interpreters". I posted a few resources I found on an issue about implementing debuggers [] although honestly I still haven't gotten down to read all of them (or to implement a debugger! :-/).

    --

    : https://github.com/munificent/craftinginterpreters/issues/92...

  • rust-sitter

    Use Tree Sitter to parse your own languages in Rust

  • This is a great series!

    I noticed that the author was using https://github.com/hydro-project/rust-sitter as a parser. Which is based on https://tree-sitter.github.io/tree-sitter/. I've been hearing about Tree-sitter a lot recently, so I dug into it.

    Tree-sitter is a tool for generating fast, incremental parsers. In particular, the algorithm is suited towards writing "language servers" for IDEs, which re-parse code incrementally as the user works. These kinds of incremental parsers have historically been a huge problem. It looks like Tree-sitter is an enormous practical advance in this area.

    And discovering that there's a way to use Tree-sitter from Rust is fantastic. From the post:

        #[rust_sitter::language]

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • python-dbg

    Python debugger experiments

  • I've done something similar in Python: A Python debugger from scratch in Python

    - https://github.com/parttimenerd/python-dbg/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts