Skip to content

Instantly share code, notes, and snippets.

View oatberry's full-sized avatar

Thomas Berryhill oatberry

View GitHub Profile
const std = @import("std");
pub const Expr = union(enum) {
Literal: union(enum) {
Number: f64,
String: []const u8,
True,
False,
Nil,
},
extern crate time;
mod ops;
mod vm;
use vm::*;
use std::env;
use std::error::Error;
use std::fs::File;
use std::io::{self, Read, BufReader, BufWriter};

Keybase proof

I hereby claim:

  • I am oatberry on github.
  • I am oats (https://keybase.io/oats) on keybase.
  • I have a public key whose fingerprint is 4905 EAFC ADD8 B6BF 5FF8 FA62 8963 F676 6A72 F827

To claim this, I am signing this object: