1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00
Commit Graph

12639 Commits

Author SHA1 Message Date
Rob Rix
7b45a7e71e Merge pull request #1125 from github/map-error-productions-onto-nothing
Handle parse errors safely
2017-05-18 08:53:03 -04:00
Rob Rix
b142cb92a2 Bump haskell-tree-sitter to master. 2017-05-18 08:27:08 -04:00
Rick Winfrey
561dee4753 Add questions for statements 2017-05-17 17:31:55 -07:00
Rick Winfrey
558706014b Assign chevron 2017-05-17 17:31:30 -07:00
Rick Winfrey
82bba4eee6 Fix typo 2017-05-17 17:31:08 -07:00
Rick Winfrey
3de93387b7 Add variable declaration 2017-05-17 17:30:58 -07:00
Rick Winfrey
e39e136f7e Assign simple assignment 2017-05-17 17:30:48 -07:00
Rick Winfrey
4b2df064c9 Assign Boolean 2017-05-17 16:20:16 -07:00
Rick Winfrey
7002862245 Assign booleanOperator 2017-05-17 16:15:56 -07:00
Rick Winfrey
fe9c8fb9d2 📝 problem with assigning Bitwise and Arithmetic binary operators in a single rule 2017-05-17 16:08:30 -07:00
Rick Winfrey
02b5ff376d Assign Bitwise BinaryOperators 2017-05-17 15:57:20 -07:00
Rick Winfrey
27e79fecb1 Assign Arithmetic BinaryOperators 2017-05-17 15:47:40 -07:00
Timothy Clem
1a97d42acf Only require path on the blob level 2017-05-17 14:03:08 -07:00
Timothy Clem
08deafb142 Formatting of test file 2017-05-17 13:40:01 -07:00
Timothy Clem
48f7ce7793 Docs 2017-05-17 13:38:26 -07:00
Timothy Clem
674e7893eb Merge remote-tracking branch 'origin/master' into diff-stdin 2017-05-17 13:34:23 -07:00
Timothy Clem
4af9b02737 Expand API to support parsing 2017-05-17 13:34:09 -07:00
Timothy Clem
8c7179ddd7 Rename and clean up imports 2017-05-17 12:54:42 -07:00
Timothy Clem
9777937d9d Read any handle and assert in specs 2017-05-17 12:47:45 -07:00
Rob Rix
9c75981833 Construct well-formed nodes. 2017-05-17 15:36:53 -04:00
Rob Rix
2a3f0294ac Export ErrorCause. 2017-05-17 15:36:43 -04:00
Rob Rix
516daa7e4f Correct the spec. 2017-05-17 15:35:15 -04:00
Rob Rix
d0f42f11aa Don’t drop error nodes. 2017-05-17 15:34:26 -04:00
Rick Winfrey
d4288d6e68 🔥 unnecessary function 2017-05-17 12:32:21 -07:00
Rick Winfrey
88d95bedff Add Language.Python.Grammar 2017-05-17 12:32:07 -07:00
Rob Rix
3b91e39fe3 Rename ErrorNode to ParseError. 2017-05-17 15:29:40 -04:00
Rob Rix
48fcfcaf07 Carry expected symbols for error nodes. 2017-05-17 15:29:00 -04:00
Rob Rix
25cd23a056 Catch error nodes at the end. 2017-05-17 15:27:15 -04:00
Rob Rix
3774bf8f3a Represent error conditions with ErrorCause. 2017-05-17 15:26:29 -04:00
Rob Rix
2d7f91703e Define a Show1 instance for ErrorCause. 2017-05-17 15:23:40 -04:00
Rob Rix
1ff09b9f81 Provide a list of expected symbols at the end of input. 2017-05-17 15:22:53 -04:00
Rob Rix
92f86217b2 Define an ErrorCause datatype. 2017-05-17 15:17:27 -04:00
Rob Rix
588ff85c54 Represent errors for error nodes distinct from end of input. 2017-05-17 15:15:11 -04:00
Rob Rix
107921f62a Short-circuit fail on error productions. 2017-05-17 15:11:33 -04:00
Rob Rix
d3e63cfac7 Node symbols are in Maybe to accommodate errors. 2017-05-17 15:07:27 -04:00
Rob Rix
17f63a6b8a 🔥 a redundant constraint. 2017-05-17 14:58:20 -04:00
Rob Rix
2ef8c5c9fb Define a function to safely construct values of enumerations. 2017-05-17 14:58:09 -04:00
Rob Rix
8ce618ec1f Bump haskell-tree-sitter for Ix instances. 2017-05-17 14:54:23 -04:00
Rick Winfrey
1c745726d8 Merge branch 'master' into python-assignment 2017-05-17 11:48:09 -07:00
Rob Rix
544fc901ed Bump haskell-tree-sitter for the addition of Bounded instances. 2017-05-17 14:46:19 -04:00
Rob Rix
1e59f65d27 Merge pull request #1124 from github/backport-repl-workflow-factoring
Backport “REPL workflow factoring”
2017-05-17 14:44:39 -04:00
Rob Rix
6ada58ed88 Merge branch 'master' into backport-repl-workflow-factoring 2017-05-17 14:31:47 -04:00
Rob Rix
75e8fb9543 🔥 parseRubyToAST. 2017-05-17 14:29:18 -04:00
Rob Rix
8f35aa4d14 Extract & generalize toAST. 2017-05-17 14:27:38 -04:00
Rob Rix
c2cc74a33c Extract anaM to the top level. 2017-05-17 14:26:46 -04:00
Rob Rix
53a8b34497 Merge branch 'master' into unaligned-json-diff-rendering 2017-05-17 14:25:02 -04:00
Rob Rix
8a3e5f6dc6 Merge pull request #1123 from github/quicker-ruby-assignment-workflow
Quicker ruby assignment workflow
2017-05-17 14:24:49 -04:00
Rick Winfrey
eeaafe1ec0 Assign concatenated strings 2017-05-17 11:20:46 -07:00
Rob Rix
392775cc97 Apparently this import is redundant. 2017-05-17 14:15:47 -04:00
Rob Rix
e5aa98a7c1 Move the Ruby Grammar datatype into its own module. 2017-05-17 14:15:27 -04:00