Writing a C compiler in 500 lines of Python

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • nanoGPT

    The simplest, fastest repository for training/finetuning medium-sized GPTs.

    It does remind me of a project [1] Andrej Karpathy did, writing a neural network and training code in ~600 lines (although networks have easier logic to code than a compiler).

    [1] https://github.com/karpathy/nanoGPT

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • schism

    A self-hosting Scheme to WebAssembly compiler (by schism-lang)

    Looks like Schism (https://github.com/schism-lang/schism) got part of the way there, but it unfortunately seems to be dead.

  • micrograd

    A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API

    Perhaps they were thinking of https://github.com/karpathy/micrograd

  • nearley

    📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.

    While I suspect I would learn more writing a tokenizer and parsing logic myself I find grammars much easier to read and maintain.

    ANTLR is pretty good and is supported across several languages and something I had previously used for some quick Elasticsearch query syntax munging in Python. It also means you can often start from an already existing grammar.

    The JS version of ANTLR didn't seem to work for me so for the SQL/JSONPath stuff ended up using the Moo lever and Nearly parser which was rather pleasant. https://nearley.js.org

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

  • Applicative Parsing

    1 project | news.ycombinator.com | 1 Mar 2021
  • error of installing icon library

    6 projects | /r/reactjs | 21 Dec 2022
  • NPM Needs: snarkdown

    3 projects | dev.to | 10 Apr 2022
  • How I reduced Raveberry's transferred frontend code by 90%

    10 projects | /r/Raveberry | 3 Apr 2021
  • Lelwel: A resilient LL(1) parser generator for Rust

    1 project | news.ycombinator.com | 12 Jul 2024

Did you konow that JavaScript is
the 3rd most popular programming language
based on number of metions?