packages feed

hs2bf-0.6: SCGR.hs

-- | Super-cool-graph-representation (this module is not used now)
--
-- There are 3 goals in optimization:
--
-- * Code size
--
-- * Memory usage
--
-- * Speed
--
-- And there are practically 3 types of optimization:
--
-- * -code +speed : o
--
-- * +code -speed : o
--
-- * -code +mem -speed : x (this is what you do when hand-writing /hello world/ in BF)
module SCGR where

import Util
import Brainfuck

{-
data SCGR=SCGR [Node]

data Node
    =Frame Int
    |Trans Point [Point]
    |Cycle Point XXX
    |Const Point Int

data Point=Point
    


compile :: SCGR -> Process BF
compile scgr=return undefined
-}


type SCGR=BF

compile :: SCGR -> Process BF
compile=return