Pinned toot

I made some huge strides with my 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!

github.com/seven1m/natalie

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 youtu.be/gBnuvL4yvm8

I made some minor improvements to the Ruby parser last evening... Now we can parse multiple expressions!

youtube.com/watch?v=A4fKwOHL4_

1. Record screencast on my Mac because the webcam is better
2. scp the video file to my Linux laptop
3. Edit with Kdenlive because it’s better
4. Upload to YouTube because it’s, um, where the eyeballs are

Am I unprincipled or just practical?

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...

Show thread

Language Hacking: Adding Floating Point Numbers 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: github.com/seven1m/bible_api/i

>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!

wm.sdf.org/gallery/thumbnails.

I’m nostalgic for those ‘Teach Yourself X in 21 Days’ books. Not because I ever fully “learned” any language with one, but because of the naive optimism and joy of expanding horizons of that time in my life.

“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

spectrum.ieee.org/tech-talk/te

I had a lot of fun building this. There’s more work to do on keyword args, but it’s a solid start!

youtu.be/B_647QEBzhM

Guys! Tonight I added 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...

@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?

youtu.be/5ftiNeh8klY

Show more
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko