1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00
Commit Graph

19318 Commits

Author SHA1 Message Date
Patrick Thomson
f401f75303 WIP 2019-07-06 10:52:38 -04:00
Timothy Clem
a48aa65cfc Bring back ping request/response 2019-07-05 15:34:35 -07:00
Timothy Clem
7b44a6a24e Repeatable code gen from proto 2019-07-05 15:11:33 -07:00
Patrick Thomson
23733f9ac9
Merge branch 'master' into php-strict-equal-assignment 2019-07-03 12:07:55 -04:00
Patrick Thomson
cfcd27545d
Merge branch 'master' into php-concat 2019-07-03 11:06:42 -04:00
Patrick Thomson
daacddc5c4
Merge branch 'master' into php-strict-equal-assignment 2019-07-03 11:04:27 -04:00
Kevin Orr
5b5a9965dc [#186] Fix PHP string concatenation and augmented assignment 2019-07-03 09:54:13 -04:00
Kevin Orr
8a6737b079 [#188] Fix PHP strict inequality assignment 2019-07-02 16:38:17 -04:00
Patrick Thomson
785ba4dcea Include vertex IDs in JSON graph output and fix their format.
As reported in #189, the `edges` field of JSON graph output refers to
information not reflected in the rest of the output, specifically the
vertex IDs. This patch adds that information to the `ToJSON` instance
for `ControlFlowVertex`. It also includes a `toEncoding` instance for
a free speed boost.

During this patch, I realized that, because `hash` tends to return a
large number (since `Int` is 64-bit), we may run into errors when
decoding JSON. One example hash is `3500157981503982114`; passing that
to a JS engine's `Number.isSafeInteger` function returns false. The
correct thing to do here is return ids as strings, which I have done.
This is backwards-incompatible, but since this information was never
properly exposed, the impact is negligable.
2019-07-02 11:24:52 -04:00
Josh Vera
3dea3d7e34
Merge branch 'master' into add-php 2019-06-25 15:11:19 -04:00
Patrick Thomson
90fabfe6f5 Fix DiffTreeVertexDiffTerm definition to be a valid protobuf object.
We define the DiffTreeVertex protobuf message like so:

```protobuf
message DiffTreeVertex {
  int32 diff_vertex_id = 1;
  oneof diff_term {
    DeletedTerm deleted = 2;
    InsertedTerm inserted = 3;
    ReplacedTerm replaced = 4;
    MergedTerm merged = 5;
  }
}
```

This is turned into two Haskell types, a toplevel `DiffTreeVertex` type
and a `DiffTreeVertexDiffTerm` type that represents the anonymous
`oneof` type. Said types looked like so:

```haskell
data DiffTreeVertexDiffTerm
  = Deleted (Maybe DeletedTerm)
  | Inserted (Maybe InsertedTerm)
  | Replaced (Maybe ReplacedTerm)
  | Merged (Maybe MergedTerm)
  deriving stock (Eq, Ord, Show, Generic)
  deriving anyclass (Proto3.Message, Proto3.Named, NFData)
```

This is the wrong representation, as it neglects to account for the
fact that options could be added to the `diff_term` stanza. A sum type
does not provide enough constructors to handle the case of when none
of `deleted`, `inserted`, `replaced` etc. is `Just` anything. A more
correct definition follows:

```haskell
data DiffTreeVertexDiffTerm = DiffTreeVertexDiffTerm
  { deleted :: Maybe DeletedTerm
  , inserted :: Maybe InsertedTerm
  , replaced :: Maybe ReplacedTerm
  , merged :: Maybe MergedTerm
  }
```

This patch applies the above change, using `-XPatternSynonyms` to
provide backwards-compatible API shims. Though this changes JSON
output format (through the `ToJSON` instance), it should have no
bearing on backwards compatibility in protobuf objects, since there is
no way to consume diff trees as protobufs as of this writing.

Fixes #168.
2019-06-25 13:31:36 -04:00
Josh Vera
3daee383dc
Merge branch 'master' into add-php 2019-06-25 12:28:25 -04:00
joshvera
6863168acb Add phpt to extensionsForLanguage 2019-06-25 11:01:02 -04:00
joshvera
f911766986 Add phpASTParser 2019-06-25 10:35:56 -04:00
joshvera
cc4cc62411 Assign FormalParameters in parameters 2019-06-25 10:35:44 -04:00
joshvera
275de222de Add php to code nav languages 2019-06-24 17:33:03 -04:00
Gus Caplan
c5dfb7f374
Add .mjs as extension for JavaScript 2019-06-22 19:53:43 -05:00
Rob Rix
8cd44aa5fa
Merge branch 'master' into update-php-assignment 2019-06-21 09:59:15 -04:00
Rick Winfrey
4fdcef9822
Merge branch 'master' into update-php-assignment 2019-06-20 17:37:41 -07:00
Rick Winfrey
1d03fae11d Add PHP to supportedExts and codeNavLanguages 2019-06-20 17:30:10 -07:00
Rick Winfrey
f793346895 Match FormalParameter symbol 2019-06-20 11:42:37 -07:00
Patrick Thomson
dd8446c909 Drop the transformers dependency. 2019-06-20 14:13:54 -04:00
Patrick Thomson
b1a2b85d87 Merge remote-tracking branch 'origin/master' into machines-to-streaming 2019-06-20 14:09:39 -04:00
Patrick Thomson
9f20899d85 Can't eliminate MTL yet, but we can minimize it. 2019-06-20 14:02:12 -04:00
Patrick Thomson
0564b9d36c Eliminate mtl dependency. 2019-06-20 13:50:50 -04:00
Patrick Thomson
2cefe29fbc no partial type sigs necessary 2019-06-20 12:58:16 -04:00
Rob Rix
16d553167e
Revert "Add a little lambda calculus to toy with."
This reverts commit 50813fd5047ad648c9169d03f238687a56ffec3c.
2019-06-20 10:54:03 -04:00
Rob Rix
ccf8e1a7b9
Add a little lambda calculus to toy with. 2019-06-20 10:54:03 -04:00
Rob Rix
610acb7380
Indent/newline. 2019-06-20 10:54:03 -04:00
Rob Rix
1a1bfc3ca7
Generalize the Custom strategy over any Show-able type. 2019-06-20 10:54:03 -04:00
Rob Rix
bb54b3094d
Serialize field metadata. 2019-06-20 10:54:03 -04:00
Rob Rix
caeff71a33
Serialize fields. 2019-06-20 10:54:02 -04:00
Rob Rix
50b9298457
Serialize unit constructors. 2019-06-20 10:54:02 -04:00
Rob Rix
8e98f7eaed
Use advanced overlap to accommodate customizing for Text fields. 2019-06-20 10:54:02 -04:00
Rob Rix
b1d632fb2d
Serialize products. 2019-06-20 10:54:02 -04:00
Rob Rix
ca3101d432
Serialize sums. 2019-06-20 10:54:02 -04:00
Rob Rix
d15b031285
Prepend constructor names. 2019-06-20 10:54:01 -04:00
Rob Rix
4452c89a06
Serialize D1. 2019-06-20 10:54:01 -04:00
Rob Rix
0f54a5c506
Stub in a serialization class for generics over precise ASTs. 2019-06-20 10:54:01 -04:00
Rob Rix
a483615f21
Stub in a module for generic s-expression serialization of precise ASTs. 2019-06-20 10:53:48 -04:00
Patrick Thomson
40e5adfdb0 Further simplifications. 2019-06-20 10:37:02 -04:00
Patrick Thomson
17407c0c9d Initial port from machines to streaming. 2019-06-20 09:41:27 -04:00
Patrick Thomson
6306f07cc1 Better story for handling JSON exceptions. 2019-06-19 17:14:52 -04:00
Patrick Thomson
8ae90e53c5 Quiet debug spew in specs.
This console barf makes reading though backscrolls unpleasant. Using
Shelly rather than an abomination of a `system` call and adding a
helper function to parse files quietly improved the situation greatly.

This also contains changes to Util that make the file significantly
easier to navigate, thanks to the power of `PartialTyepSignatures`.

Fixes #140.
2019-06-19 12:09:37 -04:00
Jan Hrček
915937c4be Fix some hlint warnings 2019-06-16 13:40:13 +02:00
Jan Hrček
8959d4d1d6 Fix -Wdodgy-imports warnings 2019-06-14 15:46:06 +02:00
Weerasak Chongnguluam
da56c8b8a5 Remove unused RankNTypes extension 2019-06-14 13:39:00 +07:00
Patrick Thomson
0c639db9c4 And these named fields. 2019-06-13 14:38:08 -04:00
Patrick Thomson
c368c43dce 🔥 Finite instance. 2019-06-13 14:21:27 -04:00
Patrick Thomson
838f09e31c Remove HasDefault and Primitive instances for Language.
Those instances are handled by the bridged data types in `Semantic.Api`.
Keeping this around is both unnecessary and is making #139 go all
wobbly for reasons that are still unclear to me.
2019-06-13 14:14:57 -04:00
Patrick Thomson
aa02a62f76
Merge branch 'master' into gitparsing 2019-06-10 12:19:37 -04:00
lalaition
e4319224e3 Cleaned up parser 2019-06-09 14:11:58 -06:00
joshvera
bf75070b98 remove TSX.Resolution 2019-06-07 12:46:25 -04:00
lalaition
28c26d015e Run stylish-haskell on changes, again 2019-06-06 21:25:47 -06:00
lalaition
be96fcf52f Refactored code to be in line with suggestions 2019-06-06 21:24:22 -06:00
joshvera
72b04d7c9c bring this Go assignment back 2019-06-06 18:57:35 -04:00
joshvera
6b13145862 Move jsxElements out of TypeScript grammar
Also removes typeAssertion from TSX grammar
2019-06-06 16:37:29 -04:00
joshvera
a8a36adc81 Merge remote-tracking branch 'origin/master' into typescript-mapped-types 2019-06-06 15:27:59 -04:00
lalaition
0abcac73b8 Run stylish-haskell on changes 2019-06-05 20:11:40 -06:00
lalaition
2ba61a21a0 Use Attoparsec to parse git output instead of manually splitting Text 2019-06-05 20:07:48 -06:00
Rob Rix
87209d3eee
🔥 MiniPython & MiniRuby. 2019-06-05 17:05:14 -04:00
Rob Rix
7fc70fdd59
Nest lets. 2019-06-05 16:43:21 -04:00
Rob Rix
26cd38f45d
Don’t double-nest Statements. 2019-06-05 16:42:58 -04:00
Rob Rix
16f6c72b19
Use makeTerm'' instead of mk. 2019-06-05 16:21:45 -04:00
Rob Rix
7ecebae144
Try harder to deal with blocks and things. 2019-06-05 16:20:31 -04:00
Rob Rix
3ea0bd957c
Add a rule to always insert nodes for blocks. 2019-06-05 16:20:12 -04:00
Rob Rix
669ffa656a
Don’t make nodes for blocks if we don’t have to. 2019-06-05 15:51:23 -04:00
Rob Rix
d7fedfdc3d
Leave functionDefinition the way it was. 2019-06-05 15:51:07 -04:00
Rob Rix
c550b6bbe1
Just use expressions. 2019-06-05 15:44:04 -04:00
Rob Rix
df59eaccdb
Blocks can be expressions. 2019-06-05 15:41:56 -04:00
Rob Rix
e106819e25
Use block in while. 2019-06-05 15:37:15 -04:00
Rob Rix
5c2329cde0
Use block in functionDefinition. 2019-06-05 15:35:48 -04:00
Rob Rix
e2438a49ac
Add a rule for blocks. 2019-06-05 15:34:33 -04:00
Rob Rix
eb6d12d661
Fail on incompatible parser versions. 2019-06-05 14:56:09 -04:00
joshvera
33e267151a WIP 2019-06-05 14:17:12 -04:00
Rob Rix
bc80f6dc20
Bump haskell-tree-sitter for bumps to the grammars. 2019-06-05 14:12:00 -04:00
Patrick Thomson
3e1f3bcb9f Remove redundant HasSpan class.
We already have a classy-lenses-style HasSpan class, provided by Data.Span itself, so we don't need Data.Abstract.HasSpan.
2019-06-04 14:40:09 -04:00
Patrick Thomson
0501336f26 Support --sha="HEAD" in semantic parse --symbols --gitdir.
This is a temporary bandaid to make performance debugging easier. We
are going to tackle the issue of proper Git integration in #38.
2019-06-04 11:43:33 -04:00
Rob Rix
f79ba2ae36
Merge branch 'master' into move-grammar-datatypes-to-the-parser-packages 2019-06-03 15:22:56 -04:00
Rob Rix
2646f89948
Move the grammar datatypes for all the other languages into their respective packages. 2019-06-03 14:14:04 -04:00
Rob Rix
0fa39f6131
🔥 Language.JSON.Grammar. 2019-06-03 13:23:16 -04:00
Rob Rix
5aee604964
Copy Freer & iterFreer in. 2019-06-03 12:17:54 -04:00
Rob Rix
2430e16f79
Avoid using wrap. 2019-06-03 12:17:39 -04:00
Rob Rix
40c467fc5d
🔥 the Show1 instances for Tracing and AssignmentF. 2019-06-03 12:16:32 -04:00
Rob Rix
2ccd8e10f3
Show the matched thing, not the rule that matched it. 2019-06-03 12:15:29 -04:00
Patrick Thomson
c2b46a6aba Simplify Data.Project.
We don't need this to be parameterized in terms of the filepath and
container type, because we no longer generate protobuf code from this
structure.

This should have no impact on tests or output.
2019-05-31 13:13:56 -04:00
Douglas Creager
cf803555e5 Make error reporter API generic
Instead of hard-coding the HTTP API we use for uploading errors to our
internal service, let the user provide an arbitrary function (in the IO
monad) for uploading them.  The default config will create an error
reporter that logs errors to the console, just like happened before if
you didn't set the `HAYSTACK_URL` environment variable.
2019-05-31 08:58:34 -04:00
Patrick Thomson
c34319c82e Fix lints. 2019-05-29 10:45:53 -04:00
Patrick Thomson
db8935d317 Merge remote-tracking branch 'origin/master' into remove-tagger 2019-05-29 10:38:21 -04:00
Patrick Thomson
830297cdb1 Remove Tagger DSL.
This doesn't do anything that just using Machine and Plan would do
more efficiently and with fewer LoC.
2019-05-27 09:50:32 -04:00
Patrick Thomson
af1f95f1d3 Remove Error effect from tagging internals.
This code was based on code I wrote for the reprinter, which had
different correctness constraints than does the tagging system:
specifically, the tagging code does not fail, as there is a
recoverable result even if we get pathological input. As such, there's
no need to wrap this in an Either that is always Right.
2019-05-25 14:33:18 -04:00
Patrick Thomson
0fb8595617 I guess GHC thinks these UNPACKs are unusable. 2019-05-24 11:55:31 -04:00
Patrick Thomson
2b6bc89d26 Merge branch 'blob-depends-on-file' of github.com:github/semantic into blob-depends-on-file 2019-05-24 11:53:34 -04:00
Patrick Thomson
8e0962712e legacyMakeBlob => makeBlob. Also unpack File. 2019-05-24 11:52:35 -04:00
Patrick Thomson
67ffebb9a1 Merge branch 'master' into blob-depends-on-file 2019-05-23 14:01:50 -04:00
Patrick Thomson
a3f54af945 Disable optimizations for Util and REPL to speed up -O1 builds.
Turns out you can disable optimizations per-module. This is a good
decision, as on my laptop GHC takes an appalling amount of time to
finish building at `-O1`. Let's see if this is reflected in the time
the builders take. (This should have no performance implications for
CLI use of `semantic`, as only SpecHelpers and REPL import Util.)
2019-05-22 17:43:57 -04:00
Patrick Thomson
63a7f117eb If we're not gonna rename File, give Blob the logical field name. 2019-05-21 22:58:25 -04:00
Patrick Thomson
00164372c9 Fix shadowing issues. 2019-05-21 22:43:16 -04:00
Patrick Thomson
b8d3a06a67 Fix all the test cases. 2019-05-21 22:28:32 -04:00
Patrick Thomson
9509ec37b8 absolutely massive patch that touches everything 2019-05-21 22:05:23 -04:00
Josh Vera
4bca62fd63 Merge branch 'master' into install-sig-handlers 2019-05-21 16:29:29 -04:00
Josh Vera
543734bc94 Merge branch 'master' into install-sig-handlers 2019-05-21 16:28:33 -04:00
joshvera
4f55f6a88f redundant import 2019-05-21 13:07:34 -04:00
Patrick Thomson
fa9f4ee559 Merge branch 'master' into upgrade-distribute 2019-05-21 13:05:55 -04:00
Patrick Thomson
162e8ec59a unused import 2019-05-21 12:06:28 -04:00
Patrick Thomson
c7105746c4 fix whitespace 2019-05-21 12:02:24 -04:00
Patrick Thomson
a8974e39d9 Second pass, imposing an export list. 2019-05-21 12:01:18 -04:00
Patrick Thomson
f89becc182 Disable functions in Semantic.Util not used by specs or tests. 2019-05-21 11:46:40 -04:00
joshvera
73a2bd0af2 donut snake case 2019-05-21 10:50:16 -04:00
Patrick Thomson
2f6ad83728 Decouple DistributeC from LiftC IO. 2019-05-21 10:42:20 -04:00
joshvera
76ece76746 lints 2019-05-20 18:52:58 -04:00
joshvera
b8634b07c8 Rethrow posix signals to the main thread 2019-05-20 18:48:27 -04:00
Patrick Thomson
0c55512221 Merge branch 'master' into ignore-minified-js 2019-05-16 13:41:59 -04:00
Patrick Thomson
6aaa2f47fd The hints... were wrong? 2019-05-15 18:33:22 -04:00
Patrick Thomson
f11a244f19 More lints. 2019-05-15 18:30:56 -04:00
Patrick Thomson
ad070aa1ab Lints. 2019-05-15 18:29:47 -04:00
Patrick Thomson
0197e40f38 Document rethrowing. 2019-05-15 18:28:21 -04:00
Patrick Thomson
e421dbeb20 We probably want to only catch sync errors here. 2019-05-15 18:25:09 -04:00
Patrick Thomson
70463f79f9 Remove cubic-caller problem. 2019-05-15 18:21:07 -04:00
Patrick Thomson
334243efc0 Make readFilePair fail in IO rather than require extra MonadFail. 2019-05-15 18:04:07 -04:00
Patrick Thomson
a544c2d6d8 Refactor internals of FilesC to use catch rather than Exc.catch. 2019-05-15 18:04:07 -04:00
Patrick Thomson
e18cb752ce Use Catch in the REPL. 2019-05-15 18:04:07 -04:00
Patrick Thomson
73b0b17ff0 Add Catch to the TaskEff stack. 2019-05-15 18:04:07 -04:00
Patrick Thomson
45492449c1 Ignore minified .js files (#2529)
aleph is doing more work than it needs to, as semantic is
all-too-enthusiastic to read in a whole node_modules directory of
minified .js files. A few well-placed boolean checks ensure that
we don't waste these cycles.

Fixes #2529.
2019-05-15 12:49:51 -04:00
Patrick Thomson
877e440800 Merge branch 'master' into remove-boring-instances 2019-05-13 13:29:31 -04:00
Timothy Clem
b2ff549d53 Remove this stat 2019-05-09 15:06:13 -07:00
Timothy Clem
7830fb9137 Cleanup to oneline 2019-05-09 13:19:43 -07:00
Timothy Clem
eae4bdb8c7 Allow passing excludes on stdin 2019-05-09 13:17:18 -07:00
Patrick Thomson
f31cc397ad For some reason, only Hlint died on this syntax error. 2019-05-08 11:17:49 -04:00
Patrick Thomson
039dca154a Forgot some newtype specifiers. 2019-05-08 11:15:21 -04:00
Patrick Thomson
65ca86534e 🔥 Semantic.Task.Files. 2019-05-08 11:06:28 -04:00
Patrick Thomson
ec03076cf1 🔥 Control.Effect.REPL. 2019-05-08 11:04:33 -04:00
Patrick Thomson
46bcc03437 🔥 Control.Abstract.Modules. 2019-05-08 11:03:16 -04:00
Patrick Thomson
f8a2cda0d0 🔥 Control.Abstract.ScopeGraph 2019-05-08 11:01:16 -04:00
Patrick Thomson
6024a7b0d9 🔥 Control.Abstract.Value. 2019-05-08 11:00:03 -04:00
Patrick Thomson
78c0158355 🔥 Control.Abstract.Heap 2019-05-08 10:59:45 -04:00
Patrick Thomson
11c9133202 🔥 Semantic.Telemetry. 2019-05-08 10:55:01 -04:00
Patrick Thomson
bb26b414c0 🔥 Semantic.Resolution. 2019-05-08 10:52:49 -04:00
Patrick Thomson
99fca869ff 🔥 Algorithm 2019-05-08 10:51:23 -04:00
Patrick Thomson
6748c13c79 Merge branch 'master' into remove-orphan-files 2019-05-03 15:26:26 -04:00
Timothy Clem
c6cc5cb459 Limit line we return to 180 2019-04-30 10:54:24 -07:00
Patrick Thomson
065c4688ef Remove unused protobuf-related files.
For some reason that escapes me at the moment, I chose to put these
files in the main tree rather than in services/alephd.
2019-04-29 10:58:51 -04:00
Patrick Thomson
396fce8ace Remove stray occurrences of Debug.Trace.traceM. 2019-04-24 12:13:08 -04:00
Timothy Clem
5de5e1d367 Done 2019-04-15 12:57:36 -07:00
Timothy Clem
834de443d3 Wire in list of paths to exclude 2019-04-15 12:50:56 -07:00
Timothy Clem
e381f4d95d Add bloboid (if exists) to proto output 2019-04-12 15:48:49 -07:00
Timothy Clem
abd0bf08af Narrow in on language support for now 2019-04-12 15:48:35 -07:00
Timothy Clem
a37a737562 Stub in an exclude list 2019-04-12 15:48:09 -07:00
Timothy Clem
eb0e820fe9 Stat how long it takes to read git repos 2019-04-12 14:41:01 -07:00
Timothy Clem
7840aec67b Fix specs 2019-04-12 12:50:30 -07:00
Timothy Clem
40c4c1f657 Cleanup 2019-04-12 11:45:07 -07:00
Timothy Clem
be17d782ad Handle dirs and git repos for parsing 2019-04-12 11:40:22 -07:00
Timothy Clem
aef2d62b1b Move Git functionality into semantic 2019-04-12 11:40:03 -07:00
Timothy Clem
8779d2c296 Enable proto output on the CLI for symbols 2019-04-12 09:55:53 -07:00
Timothy Clem
946b68eda8 Allow parsing entire directory 2019-04-12 09:55:40 -07:00
Timothy Clem
c8083a0470 This is no longer necessary 2019-03-29 07:59:33 -07:00
Timothy Clem
48a11d88e8 Merge remote-tracking branch 'origin/shelly-git-action' into alternative-schema 2019-03-28 17:39:56 -07:00
Patrick Thomson
e73b01f04b Merge remote-tracking branch 'origin/master' into shelly-git-action 2019-03-28 14:30:43 -04:00
Rick Winfrey
098fdd959a Merge branch 'master' into alephd-testing 2019-03-28 09:49:23 -07:00
Patrick Thomson
69c11c816e Merge remote-tracking branch 'origin/master' into shelly-git-action 2019-03-28 09:30:02 -04:00
Timothy Clem
13fe8e14bc Put extra info about the blob in ModuleInfo 2019-03-27 11:51:38 -07:00
Patrick Thomson
ffaba28677 Fix tests. 2019-03-27 09:03:49 -04:00
Timothy Clem
532c0e3770 Add blob oids into the symbols interface 2019-03-26 15:59:22 -07:00
Rick Winfrey
8e6561c487 Avoid exporting constructors for Name 2019-03-26 14:55:15 -07:00
Rick Winfrey
654259f367 Use enumBounded for EdgeLabel, Kind, and Relation 2019-03-26 11:20:39 -07:00
Timothy Clem
aa3d8d6a10 Merge remote-tracking branch 'origin/master' into shelly-git-action 2019-03-26 09:17:15 -07:00
Rick Winfrey
5824409984 Merge branch 'master' into alephd-testing 2019-03-25 15:30:41 -07:00
Timothy Clem
23920a04cd Capture and carry around blob oid 2019-03-25 12:21:32 -07:00
Patrick Thomson
cf52476d3b Fix compile errors. 2019-03-25 11:15:37 -04:00
Patrick Thomson
f82146ea58 No need to use type applications. 2019-03-22 16:52:07 -04:00
Patrick Thomson
272b5b3b64 Use flags for Options. 2019-03-22 16:37:17 -04:00
Patrick Thomson
5dfb7fb50d Stray LANGUAGE pragma. 2019-03-22 16:27:36 -04:00
Patrick Thomson
ecea375520 Eliminate boolean blindness with tagged flags a la olegfi. 2019-03-22 16:25:04 -04:00
Rick Winfrey
c2cef7dd03 Merge branch 'master' into alephd-testing 2019-03-21 17:31:25 -07:00
Rick Winfrey
02bb89c546 Make this easier to read 2019-03-20 13:08:17 -07:00
Rick Winfrey
2ccf2ae05c Export Name constructors (for now) 2019-03-20 13:08:05 -07:00
Rick Winfrey
66f5a06f1f Merge branch 'master' into alephd-testing 2019-03-19 13:47:48 -07:00
Josh Vera
f2c6a50c2d Merge branch 'master' into use-external-exceptions-package 2019-03-19 16:06:53 -04:00
Josh Vera
5f23615f17 Merge branch 'master' into use-external-exceptions-package 2019-03-19 15:01:06 -04:00
Josh Vera
b0309f86a2 Merge branch 'master' into tree-sitter-timeout 2019-03-19 14:42:36 -04:00
Max Brunsfeld
d153b6090b Remove redundant import 2019-03-19 10:40:32 -07:00
Patrick Thomson
ec76510534 Merge branch 'master' into index-calls 2019-03-19 10:36:34 -04:00
Patrick Thomson
139b0c5bd1 Use external fused-effects-exceptions package.
This was OSS'd because it turned out to be a little tricky and we
didn't want external consumers to have to implement it themselves. No
reason to keep it around in our tree.
2019-03-19 10:34:13 -04:00
Max Brunsfeld
3249307ccd Use Tree-sitter's built-in timeout API instead of a separate timeout thread 2019-03-18 16:30:15 -07:00
Rick Winfrey
e64fa5ad3b This should still be Prelude 2019-03-18 16:11:18 -07:00
Josh Vera
b59bf0622e Merge branch 'master' into signal-handling 2019-03-18 18:29:56 -04:00
Rick Winfrey
3a596f97e4 Merge branch 'master' into filter-gensymed-names 2019-03-18 13:51:50 -07:00
Josh Vera
bc4dce9725 Merge branch 'master' into signal-handling 2019-03-18 16:41:51 -04:00
Timothy Clem
a507a687be Just pick out the selector 2019-03-18 12:23:54 -07:00
Timothy Clem
8208a4154f Include function calls in symbols output 2019-03-18 10:53:02 -07:00
Patrick Thomson
1268b209de Regenerate data types from hydro.
Now that twirp-haskell generates significantly better code, we should
use it for our data types. This overcomes the significant problems
associated with JSON instances for protobuf objects, since now the
FromJSON and ToJSON instances are defined in terms of the JSONPB
instances, which brings them in line with the standard.

This is a breaking change, but we don't have any consumers of this API
yet, so @tclem gave me the all clear.
2019-03-18 13:14:39 -04:00
joshvera
9486196cb7 indentation 2019-03-18 13:08:21 -04:00
joshvera
a9e4a71fd0 Move catchSync to Control.Effect.Catch 2019-03-18 12:56:46 -04:00
Rick Winfrey
f6df1854d1 Add 📝 2019-03-15 16:06:29 -07:00
Rick Winfrey
864aa0af9f Remove comments, these are no captured as issues 2019-03-15 16:04:41 -07:00
Rick Winfrey
8d4bd5d944 Fix copy pasta mistake 2019-03-15 12:13:07 -07:00
Rick Winfrey
4714579627 Move for readability 2019-03-15 12:06:19 -07:00
Rick Winfrey
e572bcb5b3 Merge branch 'master' into filter-gensymed-names 2019-03-15 11:43:25 -07:00
Rick Winfrey
8d5f0bb549 Fix lint 2019-03-15 11:25:54 -07:00
Rick Winfrey
1af0ea0534 Update TypeScript syntax terms to avoid throwNoNameError where possible 2019-03-15 11:23:18 -07:00