From 25b419b7c89d0e7684f7e47dc52431d1a08a9d70 Mon Sep 17 00:00:00 2001 From: Cat's Eye Technologies Date: Tue, 1 Apr 2014 13:11:25 +0100 Subject: [PATCH] Rename some modules. --HG-- rename : src/SixtyPical/Context.hs => src/SixtyPical/Analyzer.hs rename : src/SixtyPical/BasicCheck.hs => src/SixtyPical/Checker.hs --- clean.sh | 3 +++ src/Main.hs | 4 ++-- src/SixtyPical/{Context.hs => Analyzer.hs} | 4 +++- src/SixtyPical/{BasicCheck.hs => Checker.hs} | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100755 clean.sh rename src/SixtyPical/{Context.hs => Analyzer.hs} (98%) rename src/SixtyPical/{BasicCheck.hs => Checker.hs} (95%) diff --git a/clean.sh b/clean.sh new file mode 100755 index 0000000..c45940a --- /dev/null +++ b/clean.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +rm -f src/*.hi src/*.o src/*/*.hi src/*/*.o diff --git a/src/Main.hs b/src/Main.hs index e905bf6..74a22f4 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -8,8 +8,8 @@ import System.Exit import SixtyPical.Model import SixtyPical.Parser (parseProgram) -import SixtyPical.BasicCheck (checkProgram) -import SixtyPical.Context (analyzeProgram) +import SixtyPical.Checker (checkProgram) +import SixtyPical.Analyzer (analyzeProgram) -- -- -- -- driver -- -- -- -- diff --git a/src/SixtyPical/Context.hs b/src/SixtyPical/Analyzer.hs similarity index 98% rename from src/SixtyPical/Context.hs rename to src/SixtyPical/Analyzer.hs index 327c446..5c02dba 100644 --- a/src/SixtyPical/Context.hs +++ b/src/SixtyPical/Analyzer.hs @@ -1,4 +1,6 @@ -module SixtyPical.Context where +-- encoding: UTF-8 + +module SixtyPical.Analyzer where import qualified Data.Map as Map diff --git a/src/SixtyPical/BasicCheck.hs b/src/SixtyPical/Checker.hs similarity index 95% rename from src/SixtyPical/BasicCheck.hs rename to src/SixtyPical/Checker.hs index 0b0092f..94d2883 100644 --- a/src/SixtyPical/BasicCheck.hs +++ b/src/SixtyPical/Checker.hs @@ -1,6 +1,6 @@ -- encoding: UTF-8 -module SixtyPical.BasicCheck where +module SixtyPical.Checker where import SixtyPical.Model