1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
Commit Graph

23956 Commits

Author SHA1 Message Date
Patrick Thomson
98030486eb rename AdjList to ImportGraph 2018-06-26 16:54:09 -04:00
Patrick Thomson
c99e63db33 adjust to the new definition of Project 2018-06-26 14:05:58 -04:00
Patrick Thomson
bbf814acc1 Merge remote-tracking branch 'origin/master' into import-graph-mk2 2018-06-26 13:49:24 -04:00
joshvera
14e5b39afb Fill in the Primitive instance of Name 2018-06-26 13:11:55 -04:00
joshvera
1c2abd36d0 Gotta use error 2018-06-26 13:07:35 -04:00
joshvera
6a294827e2 Merge remote-tracking branch 'origin/master' into grpc-trees 2018-06-26 13:03:37 -04:00
joshvera
0fc4d61074 Use fail and remove version 2018-06-26 13:03:22 -04:00
Rob Rix
3639cf98cd Merge pull request #1971 from github/topologically-sorted-imports
Topologically sorted imports
2018-06-26 12:31:52 -04:00
Patrick Thomson
6f7d094154 not sure how this obsolete file got in here 2018-06-26 12:24:42 -04:00
Rob Rix
818b295160 Merge branch 'topologically-sorted-imports' of https://github.com/github/semantic into topologically-sorted-imports 2018-06-26 12:22:51 -04:00
Rob Rix
7842eef72a Just say id. 2018-06-26 12:22:40 -04:00
Rob Rix
0e7c47c2ec Merge branch 'master' into topologically-sorted-imports 2018-06-26 11:50:28 -04:00
Patrick Thomson
a1e5121e5b kill Emacs swap file 2018-06-26 11:00:41 -04:00
Patrick Thomson
fd44b23449 Merge remote-tracking branch 'origin/master' into explicit-integer-parser 2018-06-26 10:56:20 -04:00
Patrick Thomson
c47c25136e Remove v1alpha1 string in packages as per @vmg's recommendation. 2018-06-26 10:50:38 -04:00
Patrick Thomson
82cc597bdc Pull in error_details.proto and use that for error messages. 2018-06-26 10:48:34 -04:00
Patrick Thomson
bc139ef8fc Merge remote-tracking branch 'origin/master' into import-graph-mk2 2018-06-26 10:34:11 -04:00
Patrick Thomson
1b47b9fe91 Merge pull request #1988 from github/profile-in-new-workdir
Build --profile builds in a separate stack-work directory.
2018-06-26 10:27:44 -04:00
Rob Rix
fa68f6b8f3 🔥 keys. 2018-06-25 18:01:03 -04:00
Rob Rix
fcb7ae815e Inline evalModule into run. 2018-06-25 17:53:11 -04:00
Rob Rix
6a466c62e6 Note a FIXME. 2018-06-25 17:50:01 -04:00
Rob Rix
45262b585e Merge branch 'master' into topologically-sorted-imports 2018-06-25 17:43:26 -04:00
Josh Vera
5674357bae Merge branch 'master' into grpc-trees 2018-06-25 17:41:51 -04:00
Rob Rix
9526d365d6 Placate hlint. 2018-06-25 17:40:09 -04:00
joshvera
ce1caaab43 Change assignment back to object and array 2018-06-25 17:39:35 -04:00
joshvera
79f193640c Remove show instance 2018-06-25 17:39:27 -04:00
joshvera
15ba6a9389 spaces 2018-06-25 17:39:22 -04:00
Rob Rix
a556930e9e Fix the Go specs. 2018-06-25 17:38:52 -04:00
Rob Rix
a0dfbb449f Fix some errant pure ()s. 2018-06-25 17:36:56 -04:00
Rob Rix
67463461f9 Fix the PHP specs. 2018-06-25 17:36:32 -04:00
joshvera
b5c583dbbb Add decoding to Message1 [] 2018-06-25 17:35:27 -04:00
Rob Rix
1f129a6a50 Fix the Python specs. 2018-06-25 17:33:38 -04:00
Rob Rix
dad58e7c20 Fix the Ruby specs. 2018-06-25 17:28:35 -04:00
Rob Rix
fbc4d3f2fb Test a cyclic graph.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:11:36 -04:00
Rob Rix
4943a58d43 Test a diamond graph.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:09:55 -04:00
Rob Rix
d346a36559 Add some more doctests.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:07:54 -04:00
Rob Rix
e3b06dada8 Import the graph constructors unqualified.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:06:08 -04:00
Rob Rix
f70974e206 Fix up the TypeScript specs.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:57:04 -04:00
Rob Rix
935ac3015f Line the types up.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:56:00 -04:00
Rob Rix
c9d340affb Define topologicalSort using the depth-first algorithm.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:55:49 -04:00
Rob Rix
abc872af86 Correct the docs for topologicalSort.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:52:27 -04:00
Patrick Thomson
b42cef4f36 Merge remote-tracking branch 'origin/master' into import-graph-mk2 2018-06-25 15:39:38 -04:00
Patrick Thomson
91894d47cf Merge remote-tracking branch 'origin/master' into profile-in-new-workdir 2018-06-25 15:37:05 -04:00
Patrick Thomson
9eb470680f Build --profile builds in a separate stack-work directory.
Profiling builds are good and useful, but the fact that you have to
rebuild the world when switching between profiling and and standard
builds makes them too much of a timesink to actually use. This patch
avoids the above effect by keeping profiling build artifacts in a
`.stack-work-profiling` directory. It depends on a few other patches
to ignore said directories in our vendored dependencies.

To test, install `profiteur` and `hp2pretty`, run
`script/profile "parse $SOME_SOURCE_FILE"`, then break for lunch. You
should get nice information from the profiling system without
recompiling on further `stack build` invocations.

I learned this from [Matt Parsons](https://twitter.com/mattoflambda/status/997599878216802305).
2018-06-25 15:34:20 -04:00
Rick Winfrey
78d4d444a0 Merge pull request #1986 from github/haskell-enhancement
Complete Haskell Assignment
2018-06-25 11:32:57 -07:00
Rick Winfrey
a279d96985 Update test fixtures 2018-06-25 11:20:30 -07:00
Rick Winfrey
f90f3a913e Add back support for datatype declarations with no constructors 2018-06-25 11:17:23 -07:00
Rick Winfrey
1c56c1a1b4 Replace enum syntax constructors with a single constructor 2018-06-25 11:14:07 -07:00
Rob Rix
1ac4b8d006 Inline the definitiion of edgeCountsByVertex. 2018-06-25 13:05:22 -04:00
Rob Rix
091a341de4 Test topological sort on a -> b -> c.
This test fails.
2018-06-25 13:02:49 -04:00