Tyler (Jones Beach)
fromscratchcode.com
Tyler (Jones Beach)
@fromscratchcode.com
Helping quietly ambitious engineers get unstuck and build real things. Currently building a Python interpreter in Rust. fromscratchcode.com
Pinned
Memphis just accepted its first real network connection.

I built a micro web framework (Enid) on top of my own runtime and for the first time it responded to `curl localhost:8080`. And then immediately panicked. Progress!

#buildinpublic #rustlang #python
My Rust project now has a JS wrapper.

We have 3 users, all of whom are myself.
July 10, 2026 at 9:37 PM
New blog post! I explain what I learned about Python iterators while building Memphis.

Plus you can now run Python snippets on the page. It's a new feature, so I'm curious to hear if this is useful.

fromscratchcode.com/blog/what-fo...
What `for x in y` hides from you
There are certain Python features that are so straightforward to use, you forget they are doing anything at all. Consider for x in y. You write a list, or a string, or a range, and…
fromscratchcode.com
July 9, 2026 at 8:12 PM
Started building a debugger and it’s very hard.
May 3, 2026 at 4:04 PM
What did the train conductor ask the software engineer?

What time does the carriage return?
April 8, 2026 at 1:06 PM
pop quiz! what happens when you run this #python code?

(my friend got this wrong, and one Memphis engine does too 😂)
April 5, 2026 at 8:08 PM
Only worked on Memphis for half an hour today, but I discovered a new abstraction and that's enough.
April 2, 2026 at 9:46 PM
Two new bytecode features!

The first is `UNPACK_SEQUENCE n`.
March 26, 2026 at 6:10 PM
I should also wire this up to use `__str__` soon-ish, but I don't fully support dunder-overloading in my VM yet.

Not far away though, so maybe this will give me a nudge!
CPython does something a little fancier for format, since there are technically 3 modes. but I only support the default (str) right now.
March 19, 2026 at 10:11 PM
CPython does something a little fancier for format, since there are technically 3 modes. but I only support the default (str) right now.
March 19, 2026 at 10:10 PM
Two new opcodes for f-strings! `FORMAT` and `BUILD_STRING n`.
March 19, 2026 at 10:09 PM
This ended up being a simple but interesting fix.

I had accidentally registered two implementations of float.__sub__, when one of them was supposed to be float.__mul__.
Yikes!

memphis 0.1.0 REPL (engine: treewalk) (Type 'exit()' to quit)
>>> 4.1 - 3.01
12.340999999999998
March 18, 2026 at 2:03 PM
Earlier this month, I led a "Build Your First REST API in Rust" workshop for the ACM at the City College of New York.

About 30 students attended, and we built a simple CRUD API together from scratch.

Grateful for the opportunity to be in the room!
March 18, 2026 at 2:01 PM
Yikes!

memphis 0.1.0 REPL (engine: treewalk) (Type 'exit()' to quit)
>>> 4.1 - 3.01
12.340999999999998
March 9, 2026 at 2:57 PM
There's a lot of magic behind:

`type(4) is int`
February 24, 2026 at 9:01 PM
Ozark shows tokens now!

fromscratchcode.com/ozark/
February 12, 2026 at 11:13 PM
Visualizing lexer tokens today.

Found a bug that's existed for a couple years!
February 9, 2026 at 10:15 PM
EEK! Guess I don't support semicolons yet to separate statements.
February 4, 2026 at 5:00 PM
After putting it off for weeks, I finally added assembler labels to Memphis bytecode.

Below is the before and after bytecode for this Python snippet.

s = 0
for i in [2,3,11]:
s = s + i

`JUMP -7` is now `JUMP -> L0`, and `FOR_ITER 6` becomes `FOR_ITER -> L1`. No more mental offset math!
January 30, 2026 at 5:35 PM
Sometimes it feels like I'm not as far along as I thought.

#python #buildinpublic #memphis
December 18, 2025 at 8:55 PM
Today I learned #Python attribute names have different rules in the syntax world `obj.attr` and the runtime world `getattr(obj, "attr")`.

One must be a valid identifier and the other can do whatever it wants!
December 15, 2025 at 9:30 PM
lol. this was not correct.

Python doesn't allow relative imports using the "import ..." syntax!

The line

import a.b.c.d

would only write to "a" though, so that's something.
I’m refactoring Memphis imports so I can add selective imports to the bytecode compiler.

Then I hit this gem:

import ...................a.b.c.d

#Python inserts exactly ONE symbol for this line.

Which one do you think it is?
December 2, 2025 at 8:36 PM
This week I wrote about what you’ll learn by writing your first library.

fromscratchcode.com/blog/write-y...
Write your first library
Software mentorship for the quietly subversive.
fromscratchcode.com
November 17, 2025 at 3:00 PM
I’m refactoring Memphis imports so I can add selective imports to the bytecode compiler.

Then I hit this gem:

import ...................a.b.c.d

#Python inserts exactly ONE symbol for this line.

Which one do you think it is?
November 14, 2025 at 7:11 PM
Today I didn’t code much. Friday I FINALLY converted my Rust HTTP server (cairo!) to async.
November 10, 2025 at 9:22 PM
I'm hosting a small coding gathering tomorrow!

Since I'm not sharing the details about when or where, I expect to see none of you there.

In the biz, we call this wOrD oF mOuTh.
November 10, 2025 at 8:31 PM