Patrick Thomson
76727e07da
rename
2018-07-31 17:49:03 -04:00
Patrick Thomson
dccea555ed
Extremely ad-hoc renderer to Docs
2018-07-31 12:44:20 -04:00
Patrick Thomson
6823fb92b6
better module name
2018-07-31 10:43:46 -04:00
Patrick Thomson
a61fe301c4
Skeleton and initial test case
2018-07-30 16:00:09 -04:00
Rick Winfrey
4fbad824d9
Define ErrorContext
2018-07-30 11:11:18 -07:00
Rob Rix
3fa75423d6
Move Mergeable into the tests.
2018-07-20 09:52:43 -04:00
Patrick Thomson
c8ec92ceb4
Make L.TS.Syntax an exports-only module.
2018-07-19 17:23:44 -04:00
Patrick Thomson
c647a558c6
add Syntax.JSX and Resolution
2018-07-19 17:05:44 -04:00
Patrick Thomson
587b97ffa5
Add -Wmissing-export-lists to semantic.
2018-07-19 14:56:58 -04:00
Patrick Thomson
bdd75e6e7c
Add export lists to modules missing them.
2018-07-19 14:45:04 -04:00
Patrick Thomson
361f62c812
Rename ImportGraph to AdjacencyList
2018-07-17 11:35:03 -04:00
Patrick Thomson
0ed48c7bbe
Simplest test possible.
2018-07-16 11:07:40 -04:00
Timothy Clem
aa480be46d
🔥 old import graph summary
...
This hasn't been in the CLI for a while now
2018-07-06 13:35:09 -07:00
Rob Rix
2a6b1dd109
Move Data.Abstract.Type to Data.Abstract.Value.Type.
2018-07-04 10:46:13 -04:00
Rob Rix
de7ac163d6
Stub in a module for abstract value semantics.
2018-07-04 09:21:51 -04:00
Rob Rix
5100670e72
Rename Data.Abstract.Value to Data.Abstract.Value.Concrete.
2018-07-03 14:22:26 -04:00
Rob Rix
c338fca8b0
Stub in a module for deterministic assignments.
2018-06-27 14:27:15 -04:00
Josh Vera
5538c6b490
Merge branch 'master' into explicit-integer-parser
2018-06-26 17:10:21 -04:00
Patrick Thomson
98030486eb
rename AdjList to ImportGraph
2018-06-26 16:54:09 -04:00
Patrick Thomson
bbf814acc1
Merge remote-tracking branch 'origin/master' into import-graph-mk2
2018-06-26 13:49:24 -04:00
Patrick Thomson
f9f0dd5e79
Use a hand-written integer parser.
...
Rather than relying on the `Read` instance for `Integer`, let's make
our assumptions about the format explicit. This was mostly a matter of
extracting internal functions from the `Scientific` parser.
2018-06-25 11:55:32 -04:00
Rob Rix
dda4c00cb5
🔥 Evaluating.
2018-06-21 13:26:22 -04:00
Patrick Thomson
de5792ef38
will this fix the cabal file? only time will tell
2018-06-18 19:22:42 -04:00
Rob Rix
d39171e9d7
Determine Preludes from the language.
2018-06-18 11:09:01 -04:00
Patrick Thomson
659500551c
Merge remote-tracking branch 'origin/master' into import-graph-mk2
2018-06-15 19:30:50 -04:00
Timothy Clem
0ddf994a81
Merge branch 'master' into telemetry-and-config
2018-06-15 10:40:06 -07:00
Patrick Thomson
62d238df09
🔥 Preluded and make prelude paths simpler/explicit
...
Preluded was overengineered anyway.
2018-06-15 11:49:26 -04:00
Rob Rix
da19e87b80
Depend on semilattices in the tests.
2018-06-15 11:40:26 -04:00
Rob Rix
bf06d928c9
Replace Data.Semilattice.Lower with semilattices.
2018-06-15 11:37:49 -04:00
Rob Rix
54ea58fd79
Move the proto3 packages down.
2018-06-15 11:06:26 -04:00
Timothy Clem
a1949ae322
Re-order
2018-06-13 16:39:13 -07:00
Timothy Clem
bff74e55d1
Attempt to have buildVersion in it's own file
2018-06-13 16:39:01 -07:00
Timothy Clem
c3d3425600
Intermediate, but compiling refactor of config and telemetry
2018-06-13 14:23:55 -07:00
Patrick Thomson
dbb04d695d
Revert "try adding preludes to extra-source-files"
...
This reverts commit 45b44bf90472ccde0708a2cf3e2830c16b1a32e1.
2018-06-13 16:30:48 -04:00
Patrick Thomson
921c697a25
try adding preludes to extra-source-files
2018-06-13 16:06:54 -04:00
Patrick Thomson
19e7ff7510
Reinstate import graph functionality.
2018-06-13 12:47:35 -04:00
Patrick Thomson
36d5b7562a
Revert "gRPC import graph"
2018-06-13 12:34:35 -04:00
Patrick Thomson
e0b0e31d9e
Merge branch 'master' into import-graph-mk2
2018-06-12 15:30:38 -04:00
Patrick Thomson
38be124258
Revert "split up Semantic.IO into Data.Handle and Semantic.Effect.Files"
...
This reverts commit c0064862e756a1064dc29631f94e007d9bdfb10b.
2018-06-12 11:40:53 -04:00
Patrick Thomson
25a3ad2e55
split up Semantic.IO into Data.Handle and Semantic.Effect.Files
2018-06-11 17:38:31 -04:00
Timothy Clem
5eeaaabf76
Start to extract common configuration
2018-06-11 13:12:19 -07:00
Timothy Clem
437b465f56
First pass at haystack reporting
2018-06-11 13:12:19 -07:00
Patrick Thomson
666524a07b
Merge remote-tracking branch 'origin/master' into import-graph-mk2
2018-06-11 14:30:52 -04:00
Patrick Thomson
dd8c8b0762
Port AdjList and create the messages
2018-06-08 12:48:23 -04:00
Timothy Clem
0282529e88
Merge remote-tracking branch 'origin/master' into port-semiotic-http-interface
2018-06-06 16:22:49 -07:00
Timothy Clem
19f30f33cc
Pull port and host from environment
2018-06-06 16:17:44 -07:00
Rob Rix
946ac38f0d
Merge Control.Abstract.Configuration into Control.Abstract.Heap.
2018-06-06 08:04:58 -04:00
Patrick Thomson
871ebf49b8
Add a test to ensure no one breaks Enum instances for Language.
2018-06-05 12:32:24 -04:00
Patrick Thomson
e25791c1ca
Roundtrip test for protobuf instances.
2018-06-05 12:14:24 -04:00
Ayman Nadeem
e030824d52
fix conflicts with new haskell additions
2018-05-31 15:32:10 -07:00
Rob Rix
6df9a1f174
Merge branch 'master' into protobuf-instances
2018-05-31 12:45:35 -04:00
Josh Vera
a342445b30
Merge branch 'master' into protobuf-instances
2018-05-31 11:33:19 -04:00
Rob Rix
6f9cfae147
Merge branch 'master' into env-effect
2018-05-30 18:57:52 -04:00
Rob Rix
11a92c0cb6
Move getExports & addExport into Control.Abstract.Environment.
2018-05-30 14:27:32 -04:00
joshvera
8d802f07df
Merge remote-tracking branch 'origin/master' into protobuf-instances
2018-05-30 13:43:03 -04:00
Timothy Clem
d47a06d47f
🔥 IdentifierName
2018-05-29 13:49:55 -07:00
Rob Rix
dda2f9897b
Merge branch 'master' into 🔥 -galign
2018-05-29 12:48:34 -04:00
Rob Rix
54150552b3
Merge branch 'master' into 🔥 -galign
2018-05-29 08:53:37 -04:00
Rob Rix
484b956ce7
Add a module for holes.
2018-05-28 15:09:10 -04:00
Rob Rix
b3b47a34df
🔥 Goto.
2018-05-28 14:42:46 -04:00
joshvera
84c3bef78e
Add Identity and Product
2018-05-24 16:19:58 -04:00
joshvera
131ffe0fad
Depend on proto3-suite and derive Named instances for Empty and Identifier
2018-05-24 13:43:51 -04:00
Timothy Clem
a15efb9327
Merge branch 'master' into deployment-setup
2018-05-24 10:13:25 -07:00
Josh Vera
38d438d540
Merge branch 'master' into deployment-setup
2018-05-24 11:52:40 -04:00
Rob Rix
3a8ee0dca2
Back out all of the effect decomposition stuff.
2018-05-24 11:26:42 -04:00
Rob Rix
37f7aa8ff8
Spike out a candidate implementation of embedEval.
2018-05-24 11:02:26 -04:00
Rob Rix
98a8f6050a
Merge branch 'master' into decompose-values
2018-05-24 09:30:48 -04:00
Rob Rix
eeb604569d
Merge branch 'master' into decompose-values
2018-05-24 09:11:19 -04:00
Rob Rix
ab3b353a0d
Stub in a module for the Options.
2018-05-24 08:49:30 -04:00
Rob Rix
87b31ff772
Merge branch 'master' into pretty,-pretty-colours
2018-05-24 08:45:13 -04:00
Rick Winfrey
7bc88d088c
Boilerplate and minimal syntax for Haskell assignment
2018-05-23 11:32:15 -07:00
Timothy Clem
b92f81d0b6
More sophisticated health server
2018-05-23 11:04:15 -07:00
Rob Rix
115e887739
Merge branch 'master' into decompose-values
2018-05-23 09:59:16 -04:00
Rob Rix
54a4f289f7
Produce colour output with the Show serializer.
2018-05-23 09:00:29 -04:00
Patrick Thomson
2edafbf1d1
Merge branch 'master' into fast-builds-by-default
2018-05-22 17:52:18 -04:00
Patrick Thomson
1f26db7a5e
-O2 is ridiculously slow, let's hold off for now
2018-05-22 17:48:07 -04:00
Patrick Thomson
c1d3a041cc
set -Werror when building release
2018-05-22 17:38:13 -04:00
Patrick Thomson
88d7d19bb8
Make builds run at -O0 by default, except for CI/deploy.
...
It's always been easy to forget the `--fast` flag. With the introduction of
`semanticd`, forgetting that carries a significant speed hit, as GHC
optimizes the resulting executable very thoroughly, which entails a
significant uptick in time spent building. For our collective sanity's
sake, this patch makes `stack build` operate without optimizations. CI
and deploy jobs pass `--flag semantic:release` to `stack`, which
specifies the `-O2` level of optimizations.
Timing `stack clean && stack build` (which rebuilds the tree-sitter
packages) went from 6m17s to 3m04s on my machine. When building just
`semantic` by itself, standard builds take 1m06s, whereas builds with
`--flag semantic:release` take 4m12s. (GHC does a lot of
optimizations!)
2018-05-22 17:18:03 -04:00
Patrick Thomson
c8d5a8d231
add test for cancelling in-flight parsers
2018-05-22 17:01:17 -04:00
Rob Rix
fb5b903af7
Merge branch 'master' into decompose-values
2018-05-22 08:44:54 -04:00
Timothy Clem
42af0faae6
New approach for linting
2018-05-21 08:17:11 -07:00
Timothy Clem
8fe6f7e959
Bump the version so we can tell these are new style builds
2018-05-18 13:31:05 -07:00
Rob Rix
66d1f8286b
Stub in a module for names.
2018-05-18 12:43:28 -04:00
Rob Rix
5a43ed60f4
Stub in a module for ValueRef.
2018-05-18 10:36:23 -04:00
Rob Rix
077335784a
Stub in a module for primitives.
2018-05-18 10:11:19 -04:00
Ayman Nadeem
8aad81b775
Merge branch 'master' into java-assignment
2018-05-17 10:42:00 -07:00
Rob Rix
e9238d0ec7
Merge branch 'master' into package-dot-json-parsing
2018-05-16 19:12:08 -04:00
Rob Rix
b2e5ee6d31
The tests depend on hashable.
2018-05-16 16:19:08 -04:00
Timothy Clem
a60ed7bc16
Merge remote-tracking branch 'origin/master' into package-dot-json-parsing
2018-05-16 12:07:13 -07:00
Timothy Clem
f81ea4bff5
s/File/Project b/c that makes more sense to me
2018-05-16 08:38:00 -07:00
Rob Rix
2dd557064d
Merge branch 'master' into fix-abstract-semantics
2018-05-16 09:20:00 -04:00
Rob Rix
ae74957342
🔥 the unused call graph analysis.
2018-05-16 09:08:07 -04:00
Timothy Clem
3e5b4d5dbb
Merge remote-tracking branch 'origin/master' into package-dot-json-parsing
2018-05-15 15:58:19 -07:00
Rob Rix
47e92a766f
Merge remote-tracking branch 'origin/master' into fix-abstract-semantics
2018-05-15 18:47:47 -04:00
Timothy Clem
4ef324f512
Merge remote-tracking branch 'origin/master' into package-dot-json-parsing
2018-05-15 15:04:13 -07:00
Rob Rix
70c28fa288
Stub in a module for term evaluators.
2018-05-15 11:40:10 -04:00
Rob Rix
16f07a17d1
🔥 Output.
2018-05-14 18:40:22 -04:00
Rob Rix
8d190c2930
Factor the ts-parse command into its own module.
2018-05-14 14:57:19 -04:00
Rob Rix
02e14169e9
🔥 Rendering.SExpression.
2018-05-14 10:59:47 -04:00
Rob Rix
68df562f23
Stub in a module for serializing to s-expressions.
2018-05-11 14:41:10 -04:00
Rob Rix
539c769ecc
Stub in a module for the details of DOT serialization.
2018-05-11 14:07:53 -04:00
Rob Rix
eb82239f8d
Stub in a module for serialization formats.
2018-05-11 13:27:09 -04:00
Rob Rix
ffd787a762
Rename Rendering.DOT to Rendering.Graph.
2018-05-11 12:57:20 -04:00
Rob Rix
53fab62a0e
Stub in a module for graphs.
2018-05-11 12:04:26 -04:00
Rob Rix
db185d5e47
Move Located into Data.Abstract.Address.
2018-05-11 00:09:17 -04:00
Rob Rix
2abfd92678
Bump effects for https://github.com/joshvera/effects/pull/43
2018-05-10 18:27:10 -04:00
Timothy Clem
8e67479d09
Merge remote-tracking branch 'origin/master' into package-dot-json-parsing
2018-05-10 10:01:01 -07:00
Rob Rix
2b1d976f6a
Rename Control.Abstract.ModuleTable to Control.Abstract.Modules.
2018-05-08 16:59:25 -04:00
Rob Rix
52cfb56f54
Rename the Label module to Goto.
2018-05-08 10:37:50 -04:00
Rob Rix
c427be3670
Stub in a spec for Evaluator.
2018-05-07 14:21:05 -04:00
Rob Rix
29c755a8dc
Sort the test modules.
2018-05-07 14:20:56 -04:00
Rob Rix
eabb3b79a1
Move the evaluated module table accessors into their own module.
2018-05-07 12:20:23 -04:00
Rob Rix
f2288e3d69
Move the Environment accessors into their own module.
2018-05-07 12:17:32 -04:00
Rob Rix
3c73571b0c
Move currentModule/currentPackage into their own module.
2018-05-07 12:14:14 -04:00
Rob Rix
de5a46dc6c
Move JumpTable, Label, label, and goto into their own module.
2018-05-07 12:12:11 -04:00
Rob Rix
0d1b025823
Move the Exports accessors into their own module.
2018-05-07 12:04:12 -04:00
Rob Rix
5d91cfd843
Move the roots functionality into its own module.
2018-05-07 11:58:30 -04:00
Rob Rix
531f941692
Provide a module re-exporting all the various abstract interpretation machinery.
2018-05-07 11:51:56 -04:00
Rob Rix
57ddf31ec5
Move the Heap accessors into their own module.
2018-05-07 11:49:59 -04:00
Rob Rix
920ddd893f
Move the configuration accessor into its own module.
2018-05-07 11:49:47 -04:00
Rob Rix
2a1c7f17b3
🔥 microlens.
2018-05-07 08:46:40 -04:00
Rob Rix
4f69f5e3de
Merge branch 'master' into scope-effects-to-evaluation
2018-05-06 22:50:04 -04:00
Rob Rix
f9ed9766fb
Link the tests against fastsum.
2018-05-06 17:22:32 -04:00
Rob Rix
5f0d80a6b1
🔥 the Bad* modules.
2018-05-06 17:16:10 -04:00
Rob Rix
71d5eebbab
🔥 Erroring.
2018-05-06 16:44:04 -04:00
Rob Rix
dcb771a29e
🔥 the TypeChecking module.
2018-05-06 16:41:36 -04:00
Rob Rix
63269866fc
Merge pull request #1811 from github/add-fastsum
...
Add the fastsum package as a dependency.
2018-05-06 15:23:37 -04:00
Rob Rix
30b8002394
🔥 Origin altogether.
2018-05-06 13:25:28 -04:00
Rob Rix
93895186cf
Imagine there’s no MonadAnalysis.
...
It’s easy if you try.
2018-05-04 18:37:37 -04:00
joshvera
9883948abd
Add BadLoads
2018-05-03 19:53:36 -04:00
Timothy Clem
07399487fd
Ability to get nodejs resolution info out of package.json files
2018-05-03 16:14:54 -07:00
joshvera
4ea1b7cf1a
Stub a way to look up packages in python with a PythonPackage analysis
2018-05-03 13:32:31 -04:00
Patrick Thomson
b6f8853d5b
Add the fastsum package as a dependency.
2018-05-02 15:59:22 -04:00
Rob Rix
50a3fecfe3
Rename our Union type to Sum.
2018-05-02 11:25:44 -04:00
Rob Rix
171d349eee
Define our own Union type.
2018-05-02 10:59:30 -04:00
joshvera
19f0672f34
Separate import graphs into call graph and import graph analyses
2018-05-01 18:10:25 -04:00
joshvera
1f2e234549
Add CallGraph
2018-05-01 17:51:24 -04:00
Ayman Nadeem
b1c05d6755
Merge remote-tracking branch 'origin/master' into java-assignment
2018-05-01 10:57:21 -07:00
Rob Rix
013b5cb4b7
Merge branch 'master' into analyses-provide-and-handle-effects
2018-04-30 14:22:09 -04:00
Timothy Clem
da89a11fae
Introduce place to put all these directives
2018-04-26 13:43:49 -07:00
Rob Rix
2066b33aaf
Rename Empty to Lower.
2018-04-25 18:25:02 -04:00
Rob Rix
2267f24ea8
Merge branch 'master' into analyses-provide-and-handle-effects
2018-04-25 16:43:00 -04:00
Rob Rix
6646c8ca27
Rename Quietly to BadSyntax.
2018-04-25 15:44:44 -04:00
Patrick Thomson
35a85e6a06
Merge branch 'master' into resumable-type-errors
2018-04-25 15:19:36 -04:00
Timothy Clem
2da5acf57a
Add ability to exclude directories from globbing
2018-04-25 09:55:05 -07:00
Rob Rix
0b0bd2a1a8
🔥 Control.Effect.Fresh in favour of Control.Monad.Effect.Fresh.
2018-04-25 10:40:58 -04:00
Rob Rix
1cedeac8e1
Move Erroring into its own module.
2018-04-24 18:44:23 -04:00
Patrick Thomson
89c1403f89
WIP
2018-04-24 14:12:28 -04:00
Timothy Clem
156246e477
Finding a need for a File datatype
2018-04-20 11:10:27 -07:00
joshvera
04428df6bd
Return holes from uninitialized address errors
2018-04-19 13:12:51 -04:00