Hey! I’m JC. I’m 17 and part of Hack Club, a nonprofit where we help teenagers ship programming projects with their friends while growing technically.
A while ago, I asked myself the question, “How exactly do programming languages work behind the scenes?” It seemed really daunting until I went to a half hour workshop at a high school hackathon about writing a tree-walk interpreter and realized that getting started was actually super fun.
This guide is designed in the vein of that - to get people, especially teenagers, started on learning how to build a programming language in a literal weekend by actually shipping one. It’s a stepping stone for learning the big things - compilers, optimizations for performance, etc. It’s very inspired by Crafting Interpreters and why’s poignant guide, but meant to be approachable in a weekend.
Some backstory on me: A year ago I finished high school early and joined Hack Club full-time to build projects like this. I’ve been programming since COVID, and learned how to code primarily by shipping things that seemed daunting to me and taking inspiration from people taking the time to break down various topics online.
Give it a try and take it out for a spin! Constructive feedback is also really appreciated.
It’s open source on GitHub at https://github.com/hackclub/easel
Comments URL: https://news.ycombinator.com/item?id=40378983
Points: 74
# Comments: 36
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie

We wrote our inference engine on Rust, it is faster than llama cpp in all of the use cases. Your feedback is very welcomed. Written from scratch with idea that you can add support of any kernel an

I would very much like to enjoy HN the way I did years ago, as a place where I'd discover things that I never otherwise would have come across.
The increasing AI/LLM domination of the site has m
Article URL: https://www.blender.org/download/releases/4-5/
What I’m asking HN:
What does your actually useful local LLM stack look like?
I’m looking for something that provides you with real value — not just a sexy demo.
---
After a recent interne

Article URL: https://systemf.epfl.ch/blog/rust-regex-lookbehinds/
Article URL: https://www.matthieulc.com/posts/shoggoth-mini