Building with Rust
Subscribe
Sign in
Home
Archive
About
Latest
Top
Discussions
Compiling the print statement and variable declarations.
A Sox program is a collection of declarations and a declaration is either a class declaration, function declaration, variable declaration or a…
Mar 9
•
Obi
5
Share this post
Building with Rust
Compiling the print statement and variable declarations.
Copy link
Facebook
Email
Notes
More
February 2025
Compiling to bytecode - Expressions
In our last post, we looked at the basics of the Sox virtual machine and how it runs the bytecode representation of our source code.
Feb 12
•
Obi
1
Share this post
Building with Rust
Compiling to bytecode - Expressions
Copy link
Facebook
Email
Notes
More
Basics of the Virtual Machine
it is very simple but not easy...
Feb 6
•
Obi
2
Share this post
Building with Rust
Basics of the Virtual Machine
Copy link
Facebook
Email
Notes
More
1
January 2025
Building a bytecode interpreter
A bytecode interpreter executes instructions in bytecode format.
Jan 16
•
Obi
1
Share this post
Building with Rust
Building a bytecode interpreter
Copy link
Facebook
Email
Notes
More
December 2024
Building an Interpreter: Reworking the object system
First make it work, then experiment...
Dec 26, 2024
•
Obi
Share this post
Building with Rust
Building an Interpreter: Reworking the object system
Copy link
Facebook
Email
Notes
More
November 2024
Building an Interpreter: Journey so far...
If it isn't tested, it is broken
Nov 11, 2024
•
Obi
Share this post
Building with Rust
Building an Interpreter: Journey so far...
Copy link
Facebook
Email
Notes
More
August 2024
Intermezzo: A simple optimization
Compute it just once.
Aug 29, 2024
•
Obi
5
Share this post
Building with Rust
Intermezzo: A simple optimization
Copy link
Facebook
Email
Notes
More
July 2024
Building an interpreter: Classes ...or Types
Types, and then more types
Jul 19, 2024
•
Obi
2
Share this post
Building with Rust
Building an interpreter: Classes ...or Types
Copy link
Facebook
Email
Notes
More
June 2024
Building an Interpreter: Functions
A Function in Sox is just another type, like an integer or a string, with its idiosyncrasies such as the ability to execute some predefined code when…
Jun 1, 2024
•
Obi
3
Share this post
Building with Rust
Building an Interpreter: Functions
Copy link
Facebook
Email
Notes
More
2
May 2024
Enhancing our object system with types
Any sufficiently advanced piece of technology is indistinguishable from magic...
May 25, 2024
•
Obi
1
Share this post
Building with Rust
Enhancing our object system with types
Copy link
Facebook
Email
Notes
More
February 2024
Building a language interpreter: Evaluation II
So far, we have explored evaluating Expressions, now let's dive into how our interpreter deals with executing Statements!
Feb 25, 2024
•
Obi
Share this post
Building with Rust
Building a language interpreter: Evaluation II
Copy link
Facebook
Email
Notes
More
Building a language interpreter: Evaluation I
Just walk the tree and do as told at each node...
Feb 19, 2024
•
Obi
Share this post
Building with Rust
Building a language interpreter: Evaluation I
Copy link
Facebook
Email
Notes
More
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts