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

11598 Commits

Author SHA1 Message Date
Rob Rix
c936064e1b Define a Result type. 2017-04-13 09:35:34 -04:00
Rob Rix
e598e460fa Assigning all must exhaust the input nodes. 2017-04-13 09:03:47 -04:00
Rob Rix
ae5fd2001a Simplify the top-level Ruby assignment. 2017-04-12 16:28:43 -04:00
Rob Rix
c46e0904d1 Slice in linear time. 2017-04-12 16:18:26 -04:00
Rob Rix
da022960f4 toAST unfolds the whole tree. 2017-04-12 16:02:12 -04:00
Rob Rix
f7e6a13173 Bump haskell-tree-sitter to handle null document ptrs gracefully. 2017-04-12 15:25:47 -04:00
Rob Rix
12eca8a3b0 Structure Ruby AST importing as an unfold(ish). 2017-04-12 15:03:35 -04:00
Rob Rix
6abce74472 Derive Foldable & Traversable instances for RoseF. 2017-04-12 15:02:47 -04:00
Rob Rix
2f252e46b0 Export RoseF. 2017-04-12 14:39:07 -04:00
Rob Rix
fb4415d5dc Define Recursive & Corecursive instances for Rose. 2017-04-12 14:37:05 -04:00
Rob Rix
e50ec88a01 Export parseRubyToAST. 2017-04-12 14:32:32 -04:00
Rob Rix
ce075494cf Stub in a function to produce AST for Ruby. 2017-04-12 14:31:55 -04:00
Rob Rix
9d6a8b438d Bump haskell-tree-sitter for its bump of tree-sitter to master. 2017-04-12 12:45:49 -04:00
Rob Rix
b61e144324 Merge branch 'master' into ruby-production-type 2017-04-12 12:45:37 -04:00
Rob Rix
fb2c8930b0 Bump haskell-tree-sitter for better constructor naming. 2017-04-12 11:49:30 -04:00
Rob Rix
3f70f06864 Merge branch 'master' into ruby-production-type 2017-04-12 11:47:39 -04:00
Rob Rix
1f403dcf64 Merge pull request #1050 from github/syntax-a-la-carte
[Experiment] Syntax à la carte
2017-04-12 11:46:58 -04:00
Rob Rix
eb8d0e3c19 Add a go syntax module & grammar datatype. 2017-04-12 10:53:04 -04:00
Rob Rix
be9c4a42ff Add a typescript syntax module & grammar datatype. 2017-04-12 10:51:31 -04:00
Rob Rix
99b574cdd1 Bump haskell-tree-sitter for inclusion of the symbol in Node. 2017-04-12 10:44:07 -04:00
Rob Rix
83dd7c15c2 Bump haskell-tree-sitter for better templated production datatypes. 2017-04-12 10:13:07 -04:00
Rob Rix
bacba50ec5 Define the Grammar datatype using TemplateHaskell. 2017-04-11 11:50:59 -04:00
Rob Rix
7e3698c7bb Bump haskell-tree-sitter for TH grammar datatypes. 2017-04-11 11:50:17 -04:00
Rob Rix
c4233a7a34 Export tree_sitter_ruby explicitly. 2017-04-11 09:22:08 -04:00
Rob Rix
b6872f55d0 Sort the imports. 2017-04-11 09:21:59 -04:00
Rob Rix
000fa34a50 s/Switch/Match/. 2017-04-10 16:44:57 -04:00
Rob Rix
e50ebc2765 Use a single code path for assigning all nodes in a list. 2017-04-10 16:37:00 -04:00
Rob Rix
aa0d65747f Make the Eq & Eq1 instances agree. 2017-04-10 16:09:40 -04:00
Rob Rix
848f0759bb Explicit exports. 2017-04-10 16:02:33 -04:00
Rob Rix
35fb87c1f9 Merge branch 'master' into syntax-a-la-carte 2017-04-10 11:29:28 -04:00
Rob Rix
ae71489aa1 Merge pull request #1075 from github/what-the-hspec
Combine output stats for all specs
2017-04-10 11:29:05 -04:00
Rob Rix
a151a24885 What the efff, apparently. 2017-04-10 11:27:26 -04:00
Rob Rix
5ad80666ad Test that children assignments match multiple nested children. 2017-04-10 11:24:30 -04:00
Rob Rix
5938d21653 Children assignments run their sub-assignment and then yield. 2017-04-10 11:24:20 -04:00
Rob Rix
3684872e32 Tighten up rule assignment with guard. 2017-04-10 11:14:04 -04:00
Rob Rix
b1b1d2bd2f Test that assignment continues after children assignments. 2017-04-10 10:52:12 -04:00
Rob Rix
c2482a0610 Test that children assignments nest. 2017-04-10 10:35:39 -04:00
Rob Rix
c9cf3d0bb8 Tidy up the repetition test. 2017-04-10 09:01:33 -04:00
Rob Rix
5349354910 Merge branch 'master' into what-the-hspec 2017-04-08 10:30:22 -04:00
Rob Rix
52263c7aa4 Reformat children assignment evaluation. 2017-04-08 09:12:42 -04:00
Rob Rix
72ad4e027e Generalize the ast helper over the grammar type. 2017-04-07 21:26:02 -04:00
Rob Rix
755b448ac5 Show assignments after effects. 2017-04-07 18:31:37 -04:00
Rob Rix
b4847b0a1c Class scope can have multiple independent entries. 2017-04-07 16:42:15 -04:00
Rob Rix
f73542ea8e Define a Show1 instance for AssignmentF. 2017-04-07 16:42:09 -04:00
Rob Rix
22c9fb404d Show data constructors. 2017-04-07 16:39:33 -04:00
Rob Rix
cc5ba7674f Clarify Union’s Show1 instance. 2017-04-07 16:34:56 -04:00
Rob Rix
e3140636b7 Don’t export AssignmentF or its constructors. 2017-04-07 15:00:44 -04:00
Rob Rix
a43ff988ae Test that rule assignment does not advance the cursor. 2017-04-07 14:59:13 -04:00
Rob Rix
79454112c5 Test that content assignment advances the cursor. 2017-04-07 14:57:44 -04:00
Rob Rix
c2a2b0b32b Test that content assignment produces nodes’ content. 2017-04-07 14:57:00 -04:00