diff options
Diffstat (limited to 'files/practicum/RefactorX.dcl')
-rw-r--r-- | files/practicum/RefactorX.dcl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/files/practicum/RefactorX.dcl b/files/practicum/RefactorX.dcl deleted file mode 100644 index 3ddc8a4..0000000 --- a/files/practicum/RefactorX.dcl +++ /dev/null @@ -1,18 +0,0 @@ -definition module RefactorX
-
-import StdEnv
-
-:: Expr = NR Int
- | VAR Name
- | OP Expr Operator Expr
- | LET Name Expr Expr
-:: Name :== String
-:: Operator = PLUS | MIN | MUL | DIV
-:: Val = Result Int | Undef
-
-from StdClass import class toString
-
-instance toString Expr
-free :: Expr -> [Name]
-remove_unused_lets :: Expr -> Expr
-eval :: Expr -> Val
|