Skip to content

Commit 016e1dd

Browse files
committed
[Documentation] Rename to Endemic
1 parent 371a85e commit 016e1dd

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

HenProg.cabal Endemic.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: HenProg
1+
name: Endemic
22
cabal-version: 1.24
33
build-type: Simple
44
version: 0.0.1
@@ -49,7 +49,7 @@ library synth
4949
monad-par-extras >= 0.3 && < 0.4,
5050
deepseq >= 1.4 && < 1.5
5151

52-
executable henprog
52+
executable endemic
5353
default-language: Haskell2010
5454
main-is: src/Main.hs
5555
ghc-options: -threaded -O2

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[![Haskell CI](https://github.com/Tritlo/HenProg/actions/workflows/haskell.yml/badge.svg)](https://github.com/Tritlo/HenProg/actions/workflows/haskell.yml)
1+
[![Haskell CI](https://github.com/Tritlo/Endemic/actions/workflows/haskell.yml/badge.svg)](https://github.com/Tritlo/Endemic/actions/workflows/haskell.yml)
22

3-
HenProg: Genetic Program repair using GHC 🐣
3+
Endemic: Genetic Program repair using GHC 🐣
44
===================
55

66
Inspired by GenProg.
@@ -29,7 +29,7 @@ To run the program, ensure that `QuickCheck` is installed by running
2929
`$ cabal install --lib QuickCheck `. You can then run
3030

3131
```
32-
$ cabal run henprog -- examples/BrokenModule.hs
32+
$ cabal run endemic -- examples/BrokenModule.hs
3333
```
3434

3535
to see it in action on the `foldl (-) 0` example. This produces the following:
@@ -108,7 +108,7 @@ Showing how it works.
108108
For the `BrokenGCD` module, we get an interesting result:
109109

110110
```
111-
$ cabal run henprog -- examples/BrokenGCD.hs
111+
$ cabal run endemic -- examples/BrokenGCD.hs
112112
```
113113

114114
gives us:
@@ -148,7 +148,7 @@ expressions, `1` we synthesize a top-level expression with holes in it, and then
148148
fill those holes with top-level expressions, for `2` we allow holes in the
149149
sub-expressions one level deep etc.
150150

151-
To get a better idea of what's going on, you can run HenProg with `--log=<LEVEL>`, where `level` is one of:
151+
To get a better idea of what's going on, you can run Endemic with `--log=<LEVEL>`, where `level` is one of:
152152

153153
+ `DEBUG` to see absolutely everything that's logged,
154154
+ `AUDIT` to see a little less than Debug, but still a lot (this includes e.g. the run-time of hotspots and such)

hie.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cradle:
77
- path: "./examples"
88
component: "lib:synth"
99
- path: "./src/Main.hs"
10-
component: "exe:henprog"
10+
component: "exe:endemic"
1111
- path: "./tests/Tests.hs"
1212
component: "test:test"
1313
- path: "./tests/SlowTests.hs"

src/Synth/Gen.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
-- |
44
-- Module : Synth.Gen
5-
-- Description : Holds the Genetic Programming Parts of HenProg
5+
-- Description : Holds the Genetic Programming Parts of Endemic
66
-- License : MIT
77
-- Stability : experimental
88
--
9-
-- This module holds simple genetic operators used to find fixes in HenProg. The
9+
-- This module holds simple genetic operators used to find fixes in Endemic. The
1010
-- primary building brick is an EFix (See Synth.Types) that resembles a set of
1111
-- changes done to the Code. The goodness of a certain fix is expressed by the
1212
-- failing and succeeding properties, which are a list of boolean values (true

src/Synth/Gen2.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{-|
22
Module : Synth.Gen2
3-
Description : Holds the (revamped) Genetic Algorithm Parts of HenProg
3+
Description : Holds the (revamped) Genetic Algorithm Parts of Endemic
44
License : MIT
55
Stability : experimental
66
Portability : POSIX
77
8-
This module holds the (reworked) genetic Algorithm parts of the HenProg Library.
8+
This module holds the (reworked) genetic Algorithm parts of the Endemic Library.
99
The algorithms are more advanced and sophisticated than the initial implementation.
1010
1111
The primary building brick is an EFix (See "Synth.Types") that resembles a set of

src/Synth/Plugin.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
-- |
55
-- Module : Synth.Plugin
6-
-- Description : Moves some of the HenProg into the GHC compilation
6+
-- Description : Moves some of the Endemic into the GHC compilation
77
-- License : MIT
88
-- Stability : experimental
99
-- This module introduces the Synth-Plugin to fasten up checking for the correct

src/Synth/Types.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
-- |
44
-- Module : Synth.Types
5-
-- Description : Holds the types used throughout the HenProg Library
5+
-- Description : Holds the types used throughout the Endemic Library
66
-- License : MIT
77
-- Stability : experimental
88
--
9-
-- This module holds common / shared types throughout the HenProg library.
9+
-- This module holds common / shared types throughout the Endemic library.
1010
-- Prefixes / Naming Convention:
1111
-- - "R": Unparsed Elements, given by properties e.g. from console input or in
1212
-- the first steps of test-evaluation

src/Synth/Util.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
-- |
44
-- Module : Synth.Util
5-
-- Description : Contains general and other orphaned functions of HenProg
5+
-- Description : Contains general and other orphaned functions of Endemic
66
-- License : MIT
77
-- Stability : experimental
88
-- Your everyday Util file.

0 commit comments

Comments
 (0)