1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

15055 Commits

Author SHA1 Message Date
Rob Rix
90b0475b1a Define a function to construct singleton tables. 2017-08-31 22:40:50 -04:00
Rob Rix
a827e8d331 Derive Foldable, Functor, & Traversable instances. 2017-08-31 22:40:40 -04:00
Rob Rix
238d0fdb4a Only show the populated branches. 2017-08-31 22:32:56 -04:00
Rob Rix
ea01aa9e2b Define a Show1 instance for Table. 2017-08-31 22:29:42 -04:00
Rob Rix
207db7c0a1 Explicitly export the Table datatype & its addresses selector. 2017-08-31 22:15:27 -04:00
Rob Rix
9c94c36c3e Stub in a datatype for the array-based jump table. 2017-08-31 22:15:13 -04:00
Rob Rix
20e10ff3a4 Re-export the Array module. 2017-08-31 22:08:17 -04:00
Rob Rix
e0d2debad5 Stub in a module for IntMap-based jump tables. 2017-08-31 22:07:38 -04:00
Rob Rix
e0a9b5681e Stub in a module for array-based jump tables. 2017-08-31 22:07:12 -04:00
Rob Rix
d89d82924a Stub in a module for jump tables. 2017-08-31 22:04:49 -04:00
Rob Rix
14dfcfa170 Attach the error handler to the choice. 2017-08-31 17:34:55 -04:00
Rob Rix
7df83715dd catchError adds handlers to choices. 2017-08-31 16:04:13 -04:00
Rob Rix
3f00e0a1af Add a committed failure handler to choices. 2017-08-31 16:01:52 -04:00
Rob Rix
c82cb8c9e9 Choose holds full assignments. 2017-08-31 15:49:00 -04:00
Rob Rix
0d492cc899 Unpack Alt rules in choices. 2017-08-31 15:16:01 -04:00
Rob Rix
ca16c9c0c3 Rename Jump to Choose. 2017-08-31 14:55:24 -04:00
Rob Rix
7c01239a0d 🔥 Choose nodes. 2017-08-31 14:54:53 -04:00
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