From 0638d5c1ff47c9b638ffcc4376f093117b7798d8 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 31 Aug 2014 20:52:31 +1000 Subject: Added comment about refactoring later --- src/Grasp/Interpreter.hs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Grasp/Interpreter.hs b/src/Grasp/Interpreter.hs index e009e5e..9ce353e 100644 --- a/src/Grasp/Interpreter.hs +++ b/src/Grasp/Interpreter.hs @@ -23,6 +23,13 @@ type IP = [LNode String] +-- this is a disgusting, disgusting way to implement this + +-- I blame the inelegance of manipulating graphs, and I strongly suspect +-- it would be better for all concerned if I created a DSL for that purpose +-- and refactored all the instructions into that form + + grasp :: GraspProgram -> IO () grasp g = -- cgit