joshvera
9809e5a999
Revert "Add -A4M -n2m to rtsopts"
...
This reverts commit bd8a8efeadcfae3f098f97a1bf6c9357555f05cb.
2017-02-03 17:31:24 -05:00
joshvera
d8d732c1a2
Add -A4M -n2m to rtsopts
2017-02-03 17:06:59 -05:00
joshvera
f9400943a4
Move -fprof-auto to ghc-prof-options
...
Inserting cost centers can prevent inlining, so remove it from ghc-options
2017-02-03 16:53:16 -05:00
Rick Winfrey
eda990ad7b
Remove tree-sitter-parsers; replace with language specific packages
...
- This allows us to migrate to haskell-tree-sitter, which provides an
open source git repository that contains no language bindings, but
provides the ffi for working with tree sitter.
- Additionally now semantic-diff uses language specific packages found
with the languages dir. Each language package contains a vendored
version of its associated tree-sitter project (i.e. language/ruby
contains tree-sitter-ruby). The implication is that generating a
language’s updated parser.c does not require a re-compilation of all
languages parser.c files.
2017-01-30 14:03:22 -08:00
Timothy Clem
02f87738c0
Plumb in cmd line option for new toc output format
2017-01-23 10:49:48 -08:00
Rob Rix
01347e4af9
Go back to QuickCheck’s RNG for RWS.
...
Changing the RNG changes the vectors which changes the similarities which changes the results which breaks the integration tests. See also #778 .
2017-01-10 16:29:07 -05:00
Rob Rix
d2709f6cab
First pass at generative testing using leancheck.
2017-01-09 16:12:25 -05:00
Rob Rix
89e1893462
🔥 semantic-diff’s linkage against QuickCheck.
2017-01-09 15:22:54 -05:00
Rob Rix
b4cd153a43
Generate random walks with mkStdGen.
2017-01-09 15:16:06 -05:00
Rob Rix
1ee9a60039
🔥 Arbitrary instances.
2017-01-09 14:59:04 -05:00
Rob Rix
21f0b8b152
🔥 {Term,Diff}.Arbitrary.
2017-01-09 14:46:47 -05:00
Rob Rix
a86db572f6
Integrate LeanCheck into Hspec.
2017-01-07 23:16:27 -05:00
Rob Rix
7154708015
Stub in an Hspec/LeanCheck integration module.
2017-01-05 16:41:23 -05:00
Rob Rix
c8da9c5f31
Define a module for a Listable instance over Text.
2017-01-05 15:35:01 -05:00
Rob Rix
22248f26bf
Stub in a Listable module.
2017-01-05 14:34:45 -05:00
Rob Rix
c18217567e
Depend on leancheck.
2017-01-05 14:32:20 -05:00
Timothy Clem
772265e0bb
Rename s/test/sexpression
2016-12-09 11:42:32 -08:00
Timothy Clem
686b0dffff
Add new sexp style test output for diffs
2016-12-09 08:31:13 -08:00
Rick Winfrey
bab0debf6d
Merge branch 'master' into parser-option
2016-11-22 15:19:30 -06:00
Josh Vera
75daa6d42e
Merge branch 'master' into go-parser
2016-11-22 14:07:33 -05:00
Rick Winfrey
bbdad9b2ae
Add simple count example
...
- Shows how a fixed point functor works with a base functor in isolation
- Shows cata, ana, hylo and para examples
2016-11-21 10:47:02 -06:00
Rick Winfrey
255490d680
Add FDoc.RecursionSchemes to cabal file
2016-11-17 16:17:26 -06:00
Rick Winfrey
7efc0dad6d
Add leafTermF documentation function
...
- Describe the shape of CofreeF
- Describe helper functions
2016-11-17 14:47:08 -06:00
joshvera
8dbac2c98a
switch statements
2016-11-10 16:19:53 -05:00
Timothy Clem
b62deb19bf
Show diffs in test cases. sha1, sha2 -> shas
2016-11-03 15:41:59 -07:00
Rick Winfrey
b928f94b05
🔥 Term.Instances
2016-11-03 16:49:41 -05:00
Rick Winfrey
a580fdcac0
Export Parse
2016-11-02 20:12:28 -05:00
Rick Winfrey
cfbbc27be7
Add aeson-pretty to build-depends for semantic-diff
2016-11-02 20:12:21 -05:00
joshvera
0d58e97070
Merge remote-tracking branch 'origin/master' into go-parser
2016-11-02 15:25:50 -04:00
Rick Winfrey
1cd998ff88
Merge branch 'master' into syntax-term-to-json
2016-11-01 17:58:15 -05:00
Rick Winfrey
4128798b34
Add Term.Instances to cabal file
2016-11-01 16:39:11 -05:00
joshvera
05f3929b6a
Merge remote-tracking branch 'origin/master' into go-parser
2016-11-01 12:48:15 -04:00
Timothy Clem
6cac25d2a9
Merge remote-tracking branch 'origin/master' into ruby
2016-11-01 08:50:54 -07:00
Rick Winfrey
532a29aeec
Rename SemanticGitDiffSpec.hs -> IntegrationFormatSpec.hs
2016-10-27 21:09:04 -05:00
Rick Winfrey
4ac2608749
Add HashMap
2016-10-27 20:23:31 -05:00
Rick Winfrey
203836fe74
Add effects to semantic-diff ⚡
2016-10-26 16:53:50 -05:00
Timothy Clem
c213e85e9c
Allow running integration tests only for one language
...
The --test-arguments can be passed like this:
stack build :integration-test --test-arguments "--language=ruby"
--language is naively parsed right now just to avoid getting in the way
of hspec's option parsing.
2016-10-19 10:15:58 -07:00
Timothy Clem
4b42939bf3
Basics of Ruby termConstructor
2016-10-19 08:30:46 -07:00
joshvera
72b43a1a05
Add Language.Go module
2016-10-17 15:39:25 -04:00
joshvera
1c3fe8e944
Add StrictData to semantic-diff library
2016-10-12 18:28:46 -04:00
Timothy Clem
1bdd67e5fa
Alphabetize while we're at it
2016-10-06 09:03:06 -07:00
Timothy Clem
e8e9dfdcd8
Minor version bump
2016-10-06 08:45:48 -07:00
Timothy Clem
068481b35b
Merge remote-tracking branch 'origin/master' into project-reorg
2016-10-06 08:45:04 -07:00
Timothy Clem
56b59ac1f1
Prune build-depends
2016-10-05 18:47:47 -07:00
Timothy Clem
9a91bb0c88
Rename executable semantic-diff
2016-10-05 16:33:26 -07:00
Timothy Clem
6cbfa91475
Try out moving project around
2016-10-05 16:17:46 -07:00
Rob Rix
8cec95aad4
Merge branch 'master' into pretty-print-expectations
...
# Conflicts:
# script/cibuild-semantic-diff
# script/cibuild-semantic-diff-linux
# test/RangeSpec.hs
# test/Spec.hs
2016-09-20 05:56:12 +09:00
Rob Rix
38d6bbe644
Merge branch 'master' into ghc8
2016-09-17 20:45:58 -04:00
Rob Rix
7a0534eaaf
🔥 -threaded & -fprof-auto on the lib.
...
Because:
```
Warning: 'ghc-options: -threaded' has no effect for libraries. It
should only
be used for executables.
Warning: 'ghc-options: -with-rtsopts' has no effect for libraries. It
should
only be used for executables.
```
2016-09-14 19:15:52 -04:00
Rick Winfrey
2f2dd26fbc
Add hspec-expectations-pretty-diff to semantic-diff
2016-09-14 16:44:46 -05:00