1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

181 Commits

Author SHA1 Message Date
Rick Winfrey
dbaa0bde92 Merge branch 'master' into assignment-macro 2017-09-12 17:39:36 -07:00
Rick Winfrey
a6cbdab2e9 🔥 prettyprint 2017-09-12 15:40:24 -07:00
Rob Rix
aa78f3eaeb Move the ToJSONFields instance for Category into Category. 2017-09-09 17:30:34 +01:00
Rob Rix
3ad5374b94 Move all the Listable stuff into the tests. 2017-09-09 14:44:57 +01:00
Rob Rix
07bef3f75e 🔥 deepseq. 2017-09-08 17:35:55 +01:00
Rob Rix
41e0ea41a4 Define a Pretty instance for Category. 2017-08-22 13:06:39 -04:00
Timothy Clem
6bc00b46d7 Merge remote-tracking branch 'origin/master' into the-great-tree-sitter-update 2017-08-03 09:50:27 -07:00
Timothy Clem
6563a69ebc Update for Golang grammar changes 2017-08-03 08:00:20 -07:00
Rob Rix
7da8799e08 🔥 Prologue & protolude. 2017-07-28 14:37:02 -04:00
joshvera
9c5e73897b Add interfaces 2017-03-28 15:54:31 -04:00
joshvera
f86d43a6e5 Add namespace mapping 2017-03-28 15:43:21 -04:00
joshvera
d05e297084 Relax VarDecl and VarAssignment constraints 2017-03-27 16:28:37 -04:00
Timothy Clem
94dc2ac506 Implement NFData instances so we can deepseq 2017-03-13 16:46:52 -07:00
Timothy Clem
3647e740f7 Render sexpression output as ByteString 2017-03-07 14:08:32 -08:00
Timothy Clem
93c01e62d9 Implement tiers instead of list for Category 2017-02-27 16:02:26 -08:00
Timothy Clem
a10bc515c0 ++tree-sitter-ruby and parse singleton methods to fix ambiguity 2017-02-17 11:34:47 -08:00
Rob Rix
b7e052cb1a List all Category values.
Helps avoid the combinatorial explosion that comes from multiplying all of the Category constructors by all of the Syntax constructors.
2017-02-14 12:37:32 -05:00
Rob Rix
296c53f187 Rename Category.Error to ParseError. 2017-01-25 03:08:06 -05:00
Rob Rix
ae7a91d9da Deprecate RescueModifier. 2017-01-19 14:01:01 -05:00
Rob Rix
eb8c09f2b5 Revert "🔥 RescueModifier."
This reverts commit 9eda5f256678287b9252a7c654ffcaf486b22c21.
2017-01-19 13:51:24 -05:00
Rob Rix
21dabbe077 🔥 RescueModifier. 2017-01-19 13:13:57 -05:00
Rob Rix
408ad2ecc5 Add Modifier categories.
These are used when a normal syntactic category is attached as a modifier instead of as a statement, e.g.:

```ruby
if foo then bar end
```

vs.

```ruby
bar if foo
```
2017-01-19 12:55:06 -05:00
joshvera
7f396dd7b7 Rename Default to DefaultCase 2017-01-18 14:06:45 -05:00
joshvera
b3a300f745 Add docs 2017-01-18 14:02:06 -05:00
joshvera
8e88838495 Merge remote-tracking branch 'origin/master' into more-go-terms 2017-01-18 11:14:03 -05:00
joshvera
496e95a41f fix rune tests 2017-01-17 18:55:59 -05:00
joshvera
a95d57c8cf Parse struct type declarations 2017-01-17 12:23:56 -05:00
Rick Winfrey
4fcd80a6fe Add qualified identifiers for Go 2017-01-13 16:46:16 -08:00
Rick Winfrey
27196d8f6b Add Go support for increment / decrement statements 2017-01-13 15:03:42 -08:00
Rick Winfrey
25c79a31de Merge branch 'more-go-terms' of github.com:github/semantic-diff into more-go-terms 2017-01-12 15:59:00 -08:00
Rick Winfrey
86a456b285 Merge remote 2017-01-12 15:54:14 -08:00
joshvera
e3505286ba Add function types 2017-01-12 18:52:11 -05:00
joshvera
20ead53d1c Add send statements 2017-01-12 18:39:09 -05:00
joshvera
45fe48b1ad Map channel types 2017-01-12 18:33:13 -05:00
Rick Winfrey
2563a26a8a Add Literal category 2017-01-12 11:59:38 -08:00
Rick Winfrey
1caeb18406 Add Element category 2017-01-12 11:38:44 -08:00
Rick Winfrey
b69badb184 Add SliceTy category 2017-01-12 11:38:35 -08:00
Rick Winfrey
ad9895a28c Merge branch 'more-go-terms' of github.com:github/semantic-diff into more-go-terms 2017-01-11 15:23:04 -08:00
Rick Winfrey
ce8de2b833 Add FieldDecl category 2017-01-11 15:05:51 -08:00
joshvera
ccdaf8f663 Add PointerTy category 2017-01-11 17:45:31 -05:00
Rick Winfrey
2ac9497559 Add Default and TypeDecl arbitrary categories 2017-01-10 15:40:10 -08:00
joshvera
5d1e105dc3 Parse type declarations 2017-01-10 18:04:34 -05:00
joshvera
cbd132c8dc Add a Default Syntax for default cases 2017-01-10 16:05:55 -05:00
joshvera
3d95799fc7 Handle parameter declarations 2017-01-10 15:09:09 -05:00
Rob Rix
1ee9a60039 🔥 Arbitrary instances. 2017-01-09 14:59:04 -05:00
joshvera
ae40908cd2 Update go tests 2017-01-05 17:08:28 -05:00
Rob Rix
8d517541a0 Replace Category’s definition of ListableText. 2017-01-05 15:37:35 -05:00
Rob Rix
9b49fde245 Avoid exporting ListableText. 2017-01-05 15:01:34 -05:00
Rob Rix
5a6d8676cf Define a Listable instance over Category. 2017-01-05 14:59:55 -05:00
Rob Rix
c4c37914a0 Define a Listable newtype wrapping Text. 2017-01-05 14:59:39 -05:00