I made some huge strides with my #Ruby implementation in the last couple weeks:
- exceptions now have backtrace
- a bunch of stdlib methods
- proper singleton class
- started work on Hash
- string interpolation
- started pulling in and fixing specs from ruby/spec
- vastly improved spec runner
- rewritten compiler with multiple passes
- and lots more!
I'm on a roll! 3 videos this week and I have a couple more coming. The parser is taking shape!
Language Hacking: Parsing Method Calls https://youtu.be/gBnuvL4yvm8
I made some minor improvements to the Ruby parser last evening... Now we can parse multiple expressions!
Language Hacking: Operator Precedence Parsing with PEG https://youtu.be/Pt7yCmgYySQ
I wish I could have used the ruby/spec suite from the beginning, but I didn't have enough Ruby implemented to run it...
One hard (fun!) part of implementing a language is building the mental model of the dependency tree, so you know what to implement first, second, and so on...
Language Hacking: Adding Floating Point Numbers https://youtu.be/BgOtygEgUUc
I finally got around to working on Float in our little language! This time, I'm doing it right... using ruby/spec to ensure it's a proper implementation! 💪
I really enjoyed reading this GitHub issue I got today: https://github.com/seven1m/bible_api/issues/39
>The project is using MySql which is over engineering for a read only access.
I only know how to over engineer. Is there another kind?
I finally got around to uploading pictures from my Altair 8800 build onto my SDF user gallery! I hope everyone enjoys them!
“I'm sure you've heard that the whole idea behind the original arcade Pong was that it was a test for me just to practice, building the simplest possible game. But Nolan lied to me and said it was going to be a home product.”
--Al Alcorn, creator of Pong
I had a lot of fun building this. There’s more work to do on keyword args, but it’s a solid start!
Guys! Tonight I added #ruby keyword arguments to Natalie, after putting it off for MONTHS, and it wasn't as bad as I thought! Whew. 😅
Video coming in the morning...
Let's build a GUI app with Natalie and GTK3!
@seven1m this is on my short list of changes to make myself. I’m really looking forward to getting it working.
This bug was fascinating and only present in gcc -O1 and up. Can you spot the bug before I do?