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
Timothy Clem
005a5f43d0
Parse BEGIN/END {} for Ruby
2016-12-12 13:41:55 -08:00
Timothy Clem
5b10012466
Parse Ruby scope operator
2016-12-12 08:30:43 -08:00
Timothy Clem
1741cef639
Parse Ruby range expressions
2016-12-11 08:36:26 -08:00
Timothy Clem
7c9fc3e0c6
Parse singleton classes
2016-12-09 16:12:07 -08:00
Timothy Clem
aa26c5472e
Properly parse classes (with new tree-sitter trees)
2016-12-07 10:45:55 -08:00
joshvera
563652355d
Add ArrayTy, DictionaryTy, StructTy, Struct
2016-12-06 16:09:04 -05:00
Timothy Clem
97c17a1b5c
Just moving operator_assignment around
2016-12-06 11:42:41 -08:00
Timothy Clem
907d9d6cff
Update termConstruction for ruby with new unary and binary
2016-12-06 11:23:10 -08:00
Rick Winfrey
171544de29
Merge branch 'master' into javascript-improvements
2016-12-05 18:07:51 -06:00
joshvera
e9489780d6
Add support for float literals and var assignments
2016-12-01 15:33:37 -05:00
Rick Winfrey
859820cfb2
Added support for Continue statements in JavaScript
2016-11-30 15:40:06 -06:00
Rick Winfrey
7a1d80e914
Add missing Break category
2016-11-30 15:30:11 -06:00
Rick Winfrey
bab0debf6d
Merge branch 'master' into parser-option
2016-11-22 15:19:30 -06:00
joshvera
c434f79162
Merge remote-tracking branch 'origin/master' into go-parser
2016-11-22 11:30:48 -05:00