Skip to content

Commit

Permalink
Cite sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Boyle committed Jul 29, 2024
1 parent 3cb792f commit 17e7580
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use std::{collections::HashMap, rc::Rc};

use crate::{error::{SML_Error, SML_Result}, expression::Expression, identifier::Identifier, operation::BinaryOperation, state::{State, StateOp}, value::Value, StateMachine};

// Algorithm from: https://faculty.cs.niu.edu/~hutchins/csci241/eval.htm

enum CompileState {
TopLevel, // "state <name>:" or "globals:"
Expand Down

0 comments on commit 17e7580

Please sign in to comment.