Skip to content
/ drool Public

A lox 🐟 bytecode interpreter, written in Rust πŸ¦€

Notifications You must be signed in to change notification settings

mjvmroz/drool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ドルール (drool) 🀀

A work-in-progress lox 🐟 bytecode interpreter, written in Rust πŸ¦€.

"Drool" because crab stuffed salmon is an insanely decadent, guilty pleasure which produces this response.

This project likely won't do that, as it's my first foray into the language.

Approach

I'm trying to squeeze performance out of the VM, but am sacrificing a little for ergonomics in the dis/assembler, scanner and compiler.

It's possible that I'm losing a little juice through memory waste when decoding instructions in the VM. I think Rust should be able to understand through my inlining that the VM's use of the Op struct is transient in release builds, but I'm not 100% sure. 🐒

About

A lox 🐟 bytecode interpreter, written in Rust πŸ¦€

Topics

Resources

Stars

Watchers

Forks

Languages