|
|
|
|
|
by thesephist
1167 days ago
|
|
Hey HN! Fun to see this project from my college years on HN again. To clear my name, I have actually written other languages that are arguably more useful, like Oak [0] which I used to build a bunch of personal software infrastructure [1] including my current daily-driver apps for notes, longform writing, a Twitter client, a personal search engine, and a few other knickknacks. I find building little toy interpreters and programming languages fantastically fulfilling, creatively energizing, and a really fun way to learn how such a common element of our work that's often a black box functions inside. I've written before about how to get started [2] with these kinds of little toy programming language projects if you're curious to dive in. [0] https://oaklang.org/ [1] https://github.com/topics/oaklang [2] https://thesephist.com/posts/pl/ |
|
Write a program in Tabloid that takes 5 numbers and returns the product of the first three numbers plus the product of the last two.
Run it with the numbers 4,5,7,8,9.
----> ChatGPT response: