Skip to content

Commit

Permalink
Removing VM code
Browse files Browse the repository at this point in the history
  • Loading branch information
rumblesan committed Apr 12, 2020
1 parent 2f1b1c9 commit 408f15a
Show file tree
Hide file tree
Showing 17 changed files with 2 additions and 1,048 deletions.
25 changes: 0 additions & 25 deletions improviz.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,6 @@ executable improviz
, Language.Ast
, Language.Ast.Transformers
, Language.Ast.Transformers.Globalise
, Language.Compiler
, Language.Compiler.State
, Language.ImpVM
, Language.ImpVM.StdLib
, Language.ImpVM.StdLib.BlockHandling
, Language.ImpVM.StdLib.ColourOps
, Language.ImpVM.StdLib.Maths
, Language.ImpVM.StdLib.MatrixOps
, Language.ImpVM.StdLib.PostEffects
, Language.ImpVM.StdLib.Shapes
, Language.ImpVM.Types
, Language.ImpVM.VM
, Language.Interpreter
, Language.Interpreter.Operators
, Language.Interpreter.Scope
Expand Down Expand Up @@ -186,18 +174,6 @@ test-suite improviz-test
, Language.Ast
, Language.Ast.Transformers
, Language.Ast.Transformers.Globalise
, Language.Compiler
, Language.Compiler.State
, Language.ImpVM
, Language.ImpVM.StdLib
, Language.ImpVM.StdLib.BlockHandling
, Language.ImpVM.StdLib.ColourOps
, Language.ImpVM.StdLib.Maths
, Language.ImpVM.StdLib.MatrixOps
, Language.ImpVM.StdLib.PostEffects
, Language.ImpVM.StdLib.Shapes
, Language.ImpVM.Types
, Language.ImpVM.VM
, Language.Interpreter
, Language.Interpreter.Operators
, Language.Interpreter.Scope
Expand Down Expand Up @@ -238,7 +214,6 @@ test-suite improviz-test
, Tests.Language.Parser.Loops
, Tests.Language.Parser.Operators
, Tests.Language.Parser.Symbols
, Tests.Language.VM
, Util
default-language: Haskell2010

Expand Down
7 changes: 0 additions & 7 deletions src/Improviz/Runtime.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module Improviz.Runtime
( ImprovizRuntime
, makeRuntimeState
, initialInterpreter
, impVMState
, currentAst
, updateProgram
, resetProgram
Expand All @@ -13,13 +12,9 @@ module Improviz.Runtime
)
where

import qualified Data.Map.Strict as M

import Language ( initialInterpreterState )
import Language.Ast ( Program(..) )
import Language.Interpreter.Types ( InterpreterState )
import Language.ImpVM.Types ( VMState )
import Language.ImpVM ( cleanVM )
import Lens.Simple ( (^.)
, set
, view
Expand All @@ -34,7 +29,6 @@ data ImprovizRuntime gfxContext = ImprovizRuntime
, _currentAst :: Program
, _lastWorkingAst :: Program
, _initialInterpreter :: InterpreterState
, _impVMState :: VMState gfxContext
}

makeLenses ''ImprovizRuntime
Expand All @@ -48,7 +42,6 @@ makeRuntimeState userCode ctx = do
, _currentAst = Program []
, _lastWorkingAst = Program []
, _initialInterpreter = initial
, _impVMState = cleanVM ctx M.empty
}

updateProgram :: String -> Program -> ImprovizRuntime eg -> ImprovizRuntime eg
Expand Down
215 changes: 0 additions & 215 deletions src/Language/Compiler.hs

This file was deleted.

84 changes: 0 additions & 84 deletions src/Language/Compiler/State.hs

This file was deleted.

Loading

0 comments on commit 408f15a

Please sign in to comment.