Skip to content

😱🤣 An interpreter for the Omgrofl programming language written in Rust

Notifications You must be signed in to change notification settings

adamsoutar/omgrofl-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

😱🤣-rs

A Rust-based interpreter for the Omgrofl programming language

Running

$ cargo run examples/fizzbuzz.omgrofl

See other examples in the folder alongside what I think is the first and only implementation of FizzBuzz in Omgrofl!

Advanced usage

While writing a program it might be handy to dump out the variable/stack state or the syntax tree.

There are environment variables for doing just that

$ DUMP_VARS=1 DUMP_AST=1 cargo run examples/fizzbuzz.omgrofl

About

This will be one of the last remaining interpreters for omgrofl. To my knowledge there is only one other surviving mostly complete implementation here.

I would highly recommend writing another one yourself - it's a fun little language :)

About

😱🤣 An interpreter for the Omgrofl programming language written in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages