Rob Rix
02dbaf964f
📝 withModules.
2018-03-21 20:14:16 -04:00
Rob Rix
a640fa0de3
Define a helper constructing modules from a list of blobs.
2018-03-21 20:13:20 -04:00
Rob Rix
2902b9c2a3
Make the root directory relative.
2018-03-21 20:11:44 -04:00
Rob Rix
7436f9605f
Define withModulesForBlobs in terms of withModules.
2018-03-21 20:06:27 -04:00
Rob Rix
da8d7315ed
Use a helper method to construct the pairs.
2018-03-21 20:05:01 -04:00
Rob Rix
bce72b1f0d
Define a fromList constructor for ModuleTables.
2018-03-21 20:03:32 -04:00
Rob Rix
b08969b44c
Define a withModules function running an action with a module table constructed from a list of modules.
2018-03-21 20:01:13 -04:00
Rob Rix
9819f2c29b
Rename withModules to withModulesForBlobs.
2018-03-21 19:59:14 -04:00
Rob Rix
99ab0a46cb
Define withModules using moduleForBlob.
2018-03-21 19:57:44 -04:00
Rob Rix
da02fc870d
📝 the arguments to moduleForBlob.
2018-03-21 19:55:01 -04:00
Rob Rix
842ab3403d
📝 moduleForBlob.
2018-03-21 19:52:52 -04:00
Rob Rix
7e2b8b93e4
Define a helper constructing a Module for a Blob relative to some root directory.
2018-03-21 19:52:20 -04:00
Rob Rix
1cc91b78dc
🔥 evaluate.
2018-03-21 19:46:03 -04:00
Rob Rix
21ee656538
Run the analysis directly in Util.
2018-03-21 19:45:47 -04:00
Rob Rix
ba73ae1eaa
🔥 evaluates.
2018-03-21 19:44:53 -04:00
Rob Rix
864606af8a
Call withModules directly in Semantic.Util.
2018-03-21 19:44:48 -04:00
Rob Rix
0f16b4e973
Move withModules into Control.Abstract.Analysis.
2018-03-21 19:35:15 -04:00
Rob Rix
1002395074
The Reader module table holds Modules.
2018-03-21 19:30:51 -04:00
Rob Rix
9d1cf41d63
Rename moduleTerm to moduleBody.
2018-03-21 19:20:08 -04:00
Rob Rix
5af7154996
Derive a bunch of instances for Module.
2018-03-21 19:09:37 -04:00
Rob Rix
84843b8a60
Move ModuleName to Module.
2018-03-21 19:09:16 -04:00
Rob Rix
f032aec337
Define a Module type.
2018-03-21 19:09:06 -04:00
Rob Rix
f476eb22bd
Stub in a Data.Abstract.Module module.
2018-03-21 17:59:16 -04:00
Rob Rix
56dbd8b6a1
Copy the CallGraph stuff into a new module.
2018-03-21 17:58:47 -04:00
Patrick Thomson
3315096629
Merge pull request #1651 from github/fix-hlints
...
Take a pass at fixing/silencing linter hints.
2018-03-20 14:01:02 -04:00
Patrick Thomson
b9cef5e540
Merge branch 'fix-hlints' of github.com:github/semantic into fix-hlints
2018-03-20 12:36:01 -04:00
Patrick Thomson
bde8afb472
Stop ignoring syntax errors and fix hints in Assignments.
2018-03-20 12:35:30 -04:00
Patrick Thomson
b61938de73
Use newtype for GShow1Options.
2018-03-20 12:21:39 -04:00
Rob Rix
5cede65fd7
Merge branch 'master' into fix-hlints
2018-03-20 11:33:28 -04:00
Rob Rix
5fffdbb23f
Merge pull request #1652 from github/fix-python-eval
...
Fix `evaluatePythonFile`.
2018-03-20 11:29:12 -04:00
Patrick Thomson
62aa1a9d57
Fix evaluatePythonFile
.
...
Ruby and Go's evaluators had been changed to invoke `evaluateFile`
rather than `evaluate` directly, but Python's didn't make it in. This
remedies that.
2018-03-20 11:14:00 -04:00
Patrick Thomson
d5c404c1aa
spurious annotations
2018-03-20 10:49:57 -04:00
Patrick Thomson
9d5ace795b
Take a pass at fixing/silencing linter hints.
...
Since @charliesome was expressing trouble with keeping custom infix
operator precedence straight (a very fair complaint, and one that I
have trouble with too), I thought it best to make sure that master
builds with clean hlints. I propose we make CI check that `hlint src`
executes cleanly.
2018-03-20 10:41:53 -04:00
Josh Vera
2e2c18c3b2
Merge pull request #1575 from github/gorzell-container
...
Add a means of building an executable docker container.
2018-03-19 18:12:43 -04:00
Josh Vera
ed955abd56
Merge branch 'master' into gorzell-container
2018-03-19 18:04:53 -04:00
Patrick Thomson
7182ecc7e8
Merge pull request #1576 from github/classes
...
Implement classes and method dispatch
2018-03-19 17:13:30 -04:00
Josh Vera
1ae1eda20d
Merge branch 'master' into gorzell-container
2018-03-19 16:44:54 -04:00
Patrick Thomson
62ee3a149e
fix redundant constraint
2018-03-19 15:51:14 -04:00
Patrick Thomson
dd1e1c555d
Merge remote-tracking branch 'origin/master' into classes
2018-03-19 15:45:43 -04:00
Patrick Thomson
3c1464cd7f
Merge pull request #1640 from github/ruby-match-syntax
...
Add match-operation syntax and assign =~ and !~ to it.
2018-03-19 15:43:11 -04:00
Patrick Thomson
d053da814b
Merge branch 'master' into ruby-match-syntax
2018-03-19 15:35:38 -04:00
Rob Rix
b8a524431c
Merge pull request #1643 from github/haskell-ide-engine-instructions
...
Add haskell-ide-engine instructions to the README
2018-03-19 15:06:56 -04:00
Rob Rix
c615395f53
Merge branch 'master' into haskell-ide-engine-instructions
2018-03-19 13:34:50 -04:00
Rob Rix
5f405c27cc
Merge pull request #1644 from github/werror-tests
...
Speed up builds by using same ghc-options for tests and semantic
2018-03-19 13:30:08 -04:00
Timothy Clem
07bdf1b5d1
Merge branch 'master' into werror-tests
2018-03-19 10:04:39 -07:00
Rob Rix
99c9da25ac
Merge pull request #1581 from github/doctests
...
Doctests
2018-03-19 12:55:43 -04:00
Patrick Thomson
0db78c3cb3
overwrite is a better name than merge
2018-03-19 12:40:06 -04:00
Rob Rix
95f13be61f
Merge branch 'master' into doctests
2018-03-19 12:35:14 -04:00
Patrick Thomson
d419ad8bf6
Merge remote-tracking branch 'origin/master' into classes
2018-03-19 12:31:34 -04:00
Rob Rix
67ebc90f11
Merge branch 'master' into haskell-ide-engine-instructions
2018-03-19 12:29:03 -04:00