Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ericthewry committed Aug 12, 2019
0 parents commit e2442ee
Show file tree
Hide file tree
Showing 15 changed files with 935 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
*.hi
*.o
*.swp
*.tag
*~
*_flymake.hs
.hsenv
.stack-work/
.stack-root/
/.cabal-sandbox/
TAGS
Setup
cabal-dev/
cabal.sandbox.config
dist/
tags
/_release/
.vagrant/
*.imports
/.idea/
/*.iml
/src/highlight.js
/src/style.css
/_site/
/.dir-locals.el
/.git/
/stack.cabal
/subs/*/*.cabal
/etc/scripts/stack-scripts.cabal
.hspec-failures
better-cache/
/subs/*/*.cabal
stack*.yaml.lock
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Changelog for epik

## Unreleased changes
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Copyright Author name here (c) 2019

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Author name here nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# epik
2 changes: 2 additions & 0 deletions Setup.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain
12 changes: 12 additions & 0 deletions app/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module Main where

import Data.Set (Set)
import qualified Data.Set as Set

import Syntax
import Epik



main :: IO ()
main = putStrLn (show $ Program Set.empty [] [] [])
69 changes: 69 additions & 0 deletions epik.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: bf215e4f6d77fb6af4c357b1a3af5e71469ee5e59c755183eb5540c2b5432f78

name: epik
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/epik#readme>
homepage: https://github.com/githubuser/epik#readme
bug-reports: https://github.com/githubuser/epik/issues
author: Author name here
maintainer: [email protected]
copyright: 2019 Author name here
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md

source-repository head
type: git
location: https://github.com/githubuser/epik

library
exposed-modules:
Auto
BDD
Epik
GuardedStrings
Syntax
other-modules:
Paths_epik
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
, containers
default-language: Haskell2010

executable epik-exe
main-is: Main.hs
other-modules:
Paths_epik
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, containers
, epik
default-language: Haskell2010

test-suite epik-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_epik
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, containers
, epik
default-language: Haskell2010
50 changes: 50 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: epik
version: 0.1.0.0
github: "ericthewry/epik"
license: BSD3
author: "Eric Campbell"
maintainer: "[email protected]"
copyright: "2019 Eric Campbell"

extra-source-files:
- README.md
- ChangeLog.md

# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web

# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/githubuser/epik#readme>

dependencies:
- base >= 4.7 && < 5
- containers

library:
source-dirs: src

executables:
epik-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- epik

tests:
epik-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- epik

Loading

0 comments on commit e2442ee

Please sign in to comment.