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

11859 Commits

Author SHA1 Message Date
Rob Rix
5bac4505c9 Return & yield may not take parameters. 2017-04-13 12:01:53 -04:00
Rob Rix
00b1aed9a1 Merge branch 'master' into ruby-production-type 2017-04-13 11:57:14 -04:00
Rob Rix
4921dd346f 📝 Empty. 2017-04-13 11:55:13 -04:00
Rob Rix
9abd51cefa Define Empty syntax. 2017-04-13 11:47:58 -04:00
Rob Rix
731c7a5c1d Move Syntax into the Program type synonym. 2017-04-13 11:18:10 -04:00
Rob Rix
88c4081e0d Assign return & yield statements. 2017-04-13 11:12:11 -04:00
Timothy Clem
48c4edf362 Merge pull request #1072 from github/subparsers
Rename binary to 'semantic', new argument parsing with subparsers
2017-04-13 08:08:59 -07:00
Rob Rix
3b9c53c4c2 Skip anonymous nodes at the end of input. 2017-04-13 11:02:23 -04:00
Rob Rix
1943d62dbf Extract the anonymous skipping function to the top level. 2017-04-13 11:02:13 -04:00
Rob Rix
a0322cf652 Clearer error message for children assignment. 2017-04-13 10:50:00 -04:00
Rob Rix
3de5f3aaf9 Pull out the function to skip anonymous nodes. 2017-04-13 10:49:08 -04:00
Rob Rix
2e7627184a Clearer error messaging for content assignment. 2017-04-13 10:48:39 -04:00
Rob Rix
d3f91d2f96 Clearer error messaging for rule assignment. 2017-04-13 10:47:22 -04:00
Rob Rix
08b93f2dd0 Methods may not have bodies. 2017-04-13 10:40:10 -04:00
Rob Rix
309636dc2c Skip all but regular nodes. 2017-04-13 10:34:37 -04:00
Rob Rix
86f5e21529 Define field selectors for Rose. 2017-04-13 10:33:21 -04:00
Rob Rix
20b2d931e5 Bump haskell-tree-sitter for the Symbol typeclass. 2017-04-13 10:27:48 -04:00
Rob Rix
666e0c025f Assignment produces a Result. 2017-04-13 09:36:01 -04:00
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
Timothy Clem
e628e15016 Just refer to it as 'semantic' in version string 2017-04-12 13:33:50 -07:00
Timothy Clem
4d4eb5b22d Bump to 0.3.0 2017-04-12 13:32:33 -07: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
Timothy Clem
da90d950e9 Extra whitespace 2017-04-12 13:12:08 -07:00
Rob Rix
da022960f4 toAST unfolds the whole tree. 2017-04-12 16:02:12 -04:00
Timothy Clem
3704773965 Merge remote-tracking branch 'origin/master' into subparsers 2017-04-12 12:55:11 -07: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
joshvera
97549660af use foldl' in insertMapped and deleteRemaining 2017-04-12 14:46:27 -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
joshvera
2af05a1b0f Revert to using State 2017-04-12 12:14:36 -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
joshvera
502255b732 Let's see if foldr works 2017-04-11 18:33:59 -04:00
joshvera
95beaf8446 Move q application out 2017-04-11 18:23:32 -04:00
joshvera
1a78d5e1ea Rename k to q 2017-04-11 18:22:24 -04:00
joshvera
630c607f2b Remove pure 2017-04-11 18:22:16 -04:00
joshvera
5a8217f06b Revert to foldl 2017-04-11 17:10:25 -04:00