diff --git a/schala-lang/language/src/builtin.rs b/schala-lang/language/src/builtin.rs index 075410f..7eea68f 100644 --- a/schala-lang/language/src/builtin.rs +++ b/schala-lang/language/src/builtin.rs @@ -4,6 +4,33 @@ use std::collections::HashMap; use crate::tokenizing::TokenKind; use crate::typechecking::{TypeConst, Type}; +#[derive(Debug)] +enum Builtin { + Add, + Subtract, + Negate, + Multiply, + Divide, + Quotient, + Modulo, + Exponentiation, + BitwiseAnd, + BitwiseOr, + BooleanAnd, + BooleanOr, + BooleanNot, + Equality, + LessThan, + LessThanEquals, + GreaterThan, + GreaterThanEquals, + Comparison, + FieldAccess, + IOPrint, + IOPrintLn, + IOGetLine, +} + #[derive(Debug, PartialEq, Clone)] pub struct BinOp { sigil: Rc