├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── Setup.hs ├── app └── Main.hs ├── examples ├── README.md ├── books.xml ├── composing-multiple-edits.jpg ├── examples.yaml ├── help.jpg ├── hs-fieldupdate.jpg ├── hs-frac.jpg ├── hs-ints-gt-10.jpg ├── hs-ints.jpg ├── hs-modname.jpg ├── hs-odd-ints.jpg ├── hs-string.jpg ├── json-review-string.jpg ├── json.jpg ├── list.html ├── quiz.json ├── regex.jpg ├── xml.jpg └── yaml.jpg ├── refactorio.cabal ├── refactorio.png ├── src ├── Refactorio │ ├── Conversions.hs │ ├── Engine.hs │ ├── FilenameFilter.hs │ ├── Helpers.hs │ ├── Legacy.hs │ ├── Main.hs │ ├── Prelude.hs │ ├── Prelude │ │ ├── Basic.hs │ │ ├── C.hs │ │ ├── Haskell.hs │ │ ├── Html.hs │ │ ├── JavaScript.hs │ │ ├── Json.hs │ │ ├── Xml.hs │ │ └── Yaml.hs │ ├── SpecialMode.hs │ ├── Theme.hs │ └── Types.hs └── X │ ├── Language │ └── Haskell │ │ ├── Exts.hs │ │ ├── Exts │ │ ├── CabalUtils.hs │ │ ├── Prisms.hs │ │ └── Prisms │ │ │ └── Types.hs │ │ └── Interpreter.hs │ ├── Rainbow.hs │ ├── Streaming.hs │ └── Streaming │ └── Files.hs ├── stack.yaml └── test └── Spec.hs /.gitignore: -------------------------------------------------------------------------------- 1 | .stack-work 2 | TAGS 3 | tags 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /app/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/app/Main.hs -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/books.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/books.xml -------------------------------------------------------------------------------- /examples/composing-multiple-edits.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/composing-multiple-edits.jpg -------------------------------------------------------------------------------- /examples/examples.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/examples.yaml -------------------------------------------------------------------------------- /examples/help.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/help.jpg -------------------------------------------------------------------------------- /examples/hs-fieldupdate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/hs-fieldupdate.jpg -------------------------------------------------------------------------------- /examples/hs-frac.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/hs-frac.jpg -------------------------------------------------------------------------------- /examples/hs-ints-gt-10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/hs-ints-gt-10.jpg -------------------------------------------------------------------------------- /examples/hs-ints.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/hs-ints.jpg -------------------------------------------------------------------------------- /examples/hs-modname.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/hs-modname.jpg -------------------------------------------------------------------------------- /examples/hs-odd-ints.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/hs-odd-ints.jpg -------------------------------------------------------------------------------- /examples/hs-string.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/hs-string.jpg -------------------------------------------------------------------------------- /examples/json-review-string.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/json-review-string.jpg -------------------------------------------------------------------------------- /examples/json.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/json.jpg -------------------------------------------------------------------------------- /examples/list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/list.html -------------------------------------------------------------------------------- /examples/quiz.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/quiz.json -------------------------------------------------------------------------------- /examples/regex.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/regex.jpg -------------------------------------------------------------------------------- /examples/xml.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/xml.jpg -------------------------------------------------------------------------------- /examples/yaml.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/examples/yaml.jpg -------------------------------------------------------------------------------- /refactorio.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/refactorio.cabal -------------------------------------------------------------------------------- /refactorio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/refactorio.png -------------------------------------------------------------------------------- /src/Refactorio/Conversions.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Conversions.hs -------------------------------------------------------------------------------- /src/Refactorio/Engine.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Engine.hs -------------------------------------------------------------------------------- /src/Refactorio/FilenameFilter.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/FilenameFilter.hs -------------------------------------------------------------------------------- /src/Refactorio/Helpers.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Helpers.hs -------------------------------------------------------------------------------- /src/Refactorio/Legacy.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Legacy.hs -------------------------------------------------------------------------------- /src/Refactorio/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Main.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/Basic.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/Basic.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/C.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/C.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/Haskell.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/Haskell.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/Html.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/Html.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/JavaScript.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/JavaScript.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/Json.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/Json.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/Xml.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/Xml.hs -------------------------------------------------------------------------------- /src/Refactorio/Prelude/Yaml.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Prelude/Yaml.hs -------------------------------------------------------------------------------- /src/Refactorio/SpecialMode.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/SpecialMode.hs -------------------------------------------------------------------------------- /src/Refactorio/Theme.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Theme.hs -------------------------------------------------------------------------------- /src/Refactorio/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/Refactorio/Types.hs -------------------------------------------------------------------------------- /src/X/Language/Haskell/Exts.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Language/Haskell/Exts.hs -------------------------------------------------------------------------------- /src/X/Language/Haskell/Exts/CabalUtils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Language/Haskell/Exts/CabalUtils.hs -------------------------------------------------------------------------------- /src/X/Language/Haskell/Exts/Prisms.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Language/Haskell/Exts/Prisms.hs -------------------------------------------------------------------------------- /src/X/Language/Haskell/Exts/Prisms/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Language/Haskell/Exts/Prisms/Types.hs -------------------------------------------------------------------------------- /src/X/Language/Haskell/Interpreter.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Language/Haskell/Interpreter.hs -------------------------------------------------------------------------------- /src/X/Rainbow.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Rainbow.hs -------------------------------------------------------------------------------- /src/X/Streaming.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Streaming.hs -------------------------------------------------------------------------------- /src/X/Streaming/Files.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/src/X/Streaming/Files.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperpowersCorp/refactorio/HEAD/stack.yaml -------------------------------------------------------------------------------- /test/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover #-} 2 | --------------------------------------------------------------------------------