1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

15038 Commits

Author SHA1 Message Date
Rob Rix
3cd2d2b4c2 Always construct Alt nodes in <|>. 2017-08-31 14:53:36 -04:00
Rob Rix
d655429fc0 Only map over populated cells. 2017-08-31 12:38:04 -04:00
Rob Rix
38ec3182e8 symbol constructs Jump nodes. 2017-08-31 12:33:24 -04:00
Rob Rix
3e5953c0c2 Construct jump arrays in choice. 2017-08-31 12:21:38 -04:00
Rob Rix
682dfb41e1 Merge overlapping entries in choice. 2017-08-31 11:52:30 -04:00
Rob Rix
9531432789 Use some1 in the Python assignment. 2017-08-31 11:42:41 -04:00
Rob Rix
6ca0bc8077 Avoid dropping rules when merging choices. 2017-08-31 11:40:28 -04:00
Rob Rix
0eab75c320 foldMap the symbols/choices/atEnd. 2017-08-31 11:33:09 -04:00
Rob Rix
e6ccc0106b Select from all the alternatives at end. 2017-08-31 11:14:25 -04:00
Rob Rix
1cec072932 Factor labels in. 2017-08-31 11:05:11 -04:00
Rob Rix
2e671db7e3 Factor catchError in. 2017-08-31 11:03:58 -04:00
Rob Rix
2d65031643 Factor repetitions in. 2017-08-31 11:02:34 -04:00
Rob Rix
0715f8a0b2 Construct a Choose node from a list of Choose nodes. 2017-08-31 11:02:18 -04:00
Rob Rix
90ea2e5193 Use choice to construct the expression table. 2017-08-31 10:53:54 -04:00
Rob Rix
e06a8f1fbc Use asum to construct infix context. 2017-08-31 10:52:49 -04:00
Rob Rix
7b16cd4ddf Build the expression choice with the choose operator. 2017-08-31 10:11:47 -04:00
Rob Rix
52248fcbd4 Add an operator to explicitly construct a Choose node. 2017-08-31 10:02:52 -04:00
Timothy Clem
8baf0d7775 Merge pull request #1328 from github/ruby-singleton-class-fix
++tree-sitter-ruby - singleton class fix
2017-08-30 13:27:31 -07:00
Timothy Clem
ebf6395427 ++tree-sitter-ruby 2017-08-30 13:08:23 -07:00
Rob Rix
06870707b2 Merge pull request #1268 from github/q2-roadmap-results
Q2 roadmap results
2017-08-29 18:55:26 -04:00
Rob Rix
3a6bfca632 Merge branch 'master' into q2-roadmap-results 2017-08-29 15:28:57 -04:00
Rob Rix
5bc709a372 Merge pull request #1324 from github/update-python-assignment
Update python assignment
2017-08-28 16:02:50 -04:00
Rob Rix
4c38049e2f Merge branch 'master' into update-python-assignment 2017-08-25 13:21:32 -04:00
Rob Rix
528a453d4f Merge pull request #1310 from github/pretty-printing
Pretty-printing
2017-08-25 13:19:53 -04:00
Rob Rix
84aaba64d9 Add a convenience to read a file and guess its language. 2017-08-25 12:25:18 -04:00
Rob Rix
c7b7d1516e Define a pretty-printing convenience. 2017-08-25 12:23:22 -04:00
Rob Rix
b318e31b2b Stub in a Semantic.Util module. 2017-08-25 12:22:22 -04:00
Rob Rix
9a370137df Define prettyBytes once for all syntax modules. 2017-08-25 12:20:17 -04:00
Rob Rix
ab397fd41e Merge branch 'master' into pretty-printing 2017-08-25 10:33:36 -04:00
Rick Winfrey
8f9b96dc3d Update Python integratin specs
In tree-sitter-python, `(a)` is not a tuple of identifier, it is an expression that evaluates to the value of `a`.
2017-08-24 16:35:15 -07:00
Rick Winfrey
0afabb1183 Bump Python grammar 2017-08-24 16:34:31 -07:00
Rick Winfrey
b6bf941ae9 🔥 no longer valid symbols 2017-08-24 16:23:13 -07:00
Rick Winfrey
3eded7f4eb 🔥 argument 2017-08-24 16:22:59 -07:00
Rick Winfrey
6a2994f701 Update everything for new assignments 2017-08-24 16:22:45 -07:00
Rick Winfrey
8609e7dced Assign parenthesizedExpression 2017-08-24 16:22:21 -07:00
Rick Winfrey
9a91b19d25 Assign keywordArgument 2017-08-24 16:22:12 -07:00
Rick Winfrey
f8e5e939be Assign dictionarySplat 2017-08-24 16:22:03 -07:00
Rick Winfrey
840bef4fbf Assign listSplat 2017-08-24 16:21:55 -07:00
Rick Winfrey
8d91e7344c Bump tree-sitter-haskell 2017-08-24 16:07:39 -07:00
Rob Rix
b7daadf4cb Merge pull request #1321 from github/remove-unused-fixtures
🔥 these un-needed fixtures that duplicate parse expectations
2017-08-24 16:39:11 -04:00
Timothy Clem
86f65b39ff 🔥 these un-needed fixtures that duplicate parse expectations 2017-08-24 12:59:08 -07:00
Rob Rix
3cf40a72e1 Fix the fix to Syntax’ Pretty1 instance. 2017-08-23 12:10:31 -04:00
Rob Rix
7c89e45c53 Add GAlign to the deriving clause. 2017-08-23 12:10:24 -04:00
Rob Rix
0d9b29f6b6 Fix Syntax’ Pretty1 instance. 2017-08-23 12:09:22 -04:00
Rob Rix
622a7b714a Give explicit (generic) definitions of liftPretty for all the syntax types. 2017-08-23 12:08:04 -04:00
Rob Rix
13df366dcd Define Patch’s Pretty1 instance generically. 2017-08-23 12:07:39 -04:00
Rob Rix
2c722a59c7 Define a Generic1 instance for Patch. 2017-08-23 12:07:26 -04:00
Rob Rix
562be941fe Fix up a few manual instances. 2017-08-23 11:52:00 -04:00
Rob Rix
fdd12d4718 Fix up all of the imports. 2017-08-23 11:49:43 -04:00
Rob Rix
9edec90492 Re-export the whole module. 2017-08-23 11:49:29 -04:00