beads-examples
Crafting Interpreters
beads-examples | Crafting Interpreters | |
---|---|---|
12 | 45 | |
100 | 8,133 | |
- | - | |
5.3 | 0.0 | |
about 2 months ago | 26 days ago | |
HTML | HTML | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
beads-examples
-
2021 Day 2 Beads / Animated version of the puzzle shows the input data is crazy
Source code for the animated solution is on github: https://github.com/magicmouse/beads-examples/blob/master/Advent_of_Code_2021/day02_deluxe.beads
- Show HN: Is this the shortest possible version of Life?
-
Beads: The next generation computer language and toolchain
Note that unless I'm very confused, the index.html is the transpiler output rather than human written.
The calculator example here makes rather more sense to me: https://github.com/magicmouse/beads-examples/blob/master/Exa...
-
A handy JS color picker, that lets you pick either a HTML color or from an artist-designed palette. Repeatable color picking is now easy. Implemented as a web page, so no install needed.
they don't let you put two links in, nor can i put in a screenshot. Reddit is a strange beast. Anyway the source is on the website in the SDK at www.beadslang.org, click the "download SDK" button which gives you the full SDK (about 80 MB), there is also a version on Github if you look for the beads source code https://github.com/magicmouse/beads-examples
- Just released a new compiler for the Beads language, it includes the beginning of an open source clone of RobinHood, perhaps someone wants to join the project. I invite others to join in this project. They could use more competition.
- I wrote a real-time stock quote client + server program in a new language, makes it easy to build this kind of software.
Crafting Interpreters
- Crafting Interpreters
-
The Top 10 GitHub Repositories Making Waves 🌊📊
Build an Interpreter (Chapter 14 on is written in C)
-
Writing a Debugger from Scratch: Breakpoints
I’m guessing you’ll have to work with the scopes in the resolver:
https://github.com/munificent/craftinginterpreters/blob/mast...
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Better open an issue/request wiki edit at https://github.com/munificent/craftinginterpreters/wiki/Lox-implementations
- Gigachad Ken Thomson.
-
Show HN: Yaksha Programming Language
I'm late to the party, but I want to say thank you for sharing this. It's inspiring to look at how much you've built and (hopefully) enjoyed the process of building! I'm loving everything -- your site, your language design, your docs, your builtin libraries, your dev tools. Beyond impressive. People like you are the ones who make HN one of my best places on the internet.
For context on where I'm coming from, about two weeks ago I picked up Crafting Interpreters [1] for fun. I'm finding your clear-yet-concise Compiler internals [2] to be particularly compelling reading, and jumping back and forth between those "how this all works" docs and the live example of this language you actually built do a WASM-compiled tree-blowing-in-the-wind animation is just... just wow. So freaking cool!
I also enjoyed reading the comment thread that inspired you to start on Yaksha and seeing how this project has a wholesome start as inspiration-by-programming-hero. I hope you recognize that a few years later you've now ascended from inspiree to inspirer. I also hope you're still having tons of fun building out Yaksha!
[1] https://www.craftinginterpreters.com/
[2] https://yakshalang.github.io/documentation.html#compiler-int...
- Keeping track of returned and break-ed values between code blocks
-
How do you start your own programming language?
There are books which will talk you through the process. Crafting Interpreters is highly spoken of; I used Writing an Interpreter in Go, because I like Go. Then there's Compilers: Principles, Techniques, and Tools (the "Dragon Book"). This is considered heavy, but a classic, it's been around since '86.
-
Designing a new language
I cannot recommend Crafting Interpreters by Robert Nystrom enough, it covers a lot of the stuff you need to know, completely for free.
-
A roadmap to design programming languages
Crafting Interpreters is a fun primer on language design. It has a complete roadmap to build a fairly simple language, twice. There are some topics it won't touch on, like static type systems, but it provides a great introduction so that you can start tinkering and learn by doing.
What are some alternatives?
haxe - Haxe - The Cross-Platform Toolkit
git-internals-pdf - PDF on Git Internals
docs - Red-related user documentation repository
You-Dont-Know-JS - A book series on JavaScript. @YDKJS on twitter.
pseudo-localization - Dynamic pseudo-localization in the browser and nodejs
tinyrenderer - A brief computer graphics / rendering course
rr - Record and Replay Framework
paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
MiniSampleReturnCapsule - Two size zero (0.625m) parts that make up an autonomous return capsule to stuff your experiments in for Kerbal Space Program.
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
30-days-of-elixir - A walk through the Elixir language in 30 exercises.
clojure-style-guide - A community coding style guide for the Clojure programming language