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

12489 Commits

Author SHA1 Message Date
Rick Winfrey
13077a3f9b Merge branch 'master' into python-assignment 2017-05-18 18:12:36 -07:00
Rick Winfrey
39cae9bf65 Update return assignment to use expressionList rule 2017-05-18 18:01:06 -07:00
Rick Winfrey
d104867718 🔥 comment 2017-05-18 17:28:52 -07:00
Rick Winfrey
3f114241c9 Use emptyTerm 2017-05-18 17:25:48 -07:00
Rick Winfrey
0fe09ce6d3 Assign assignment and augmented assignments fully 2017-05-18 17:25:26 -07:00
Rick Winfrey
4879134f20 Add [] to Syntax Union 2017-05-18 17:25:01 -07:00
Rick Winfrey
2cd05505de Add emptyTerm combinator 2017-05-18 17:24:45 -07:00
Rick Winfrey
0693132298 Assign expression list 2017-05-18 17:24:33 -07:00
Rick Winfrey
d6711ecf1f Assign yield statements 2017-05-18 17:23:59 -07:00
Rick Winfrey
94778fe0b2 Revert "Revise binaryOperator assignment"
This reverts commit dad11b92c248752d9d18d94069c7df922937d013.
2017-05-18 16:30:41 -07:00
Rick Winfrey
4fcdaff32c Revise binaryOperator assignment 2017-05-18 16:10:55 -07:00
Rick Winfrey
b0e4c60d6e Update tuple assignment 2017-05-18 13:14:57 -07:00
Rick Winfrey
52b0fd2656 Move Tuple from Expression to Literal 2017-05-18 13:12:17 -07:00
Rick Winfrey
7b6663cc59 Assign global statements 2017-05-18 12:59:36 -07:00
Rick Winfrey
7230ed7b74 Assign assert statement 2017-05-18 12:56:12 -07:00
Rick Winfrey
16ef36e0fc 🔥 chevron assignment 2017-05-18 12:47:14 -07:00
Rick Winfrey
2ced9749de Revise printStatement into Do notation 2017-05-18 12:46:55 -07:00
Rick Winfrey
fe915581e5 Assign print statements with and without redirection 2017-05-18 12:41:02 -07:00
Rick Winfrey
c7545a42fa Assign simple print statements
- This does not include chevrons yet
2017-05-18 10:18:30 -07:00
Rick Winfrey
ff597b3a9c Reorder error message to add callstack after the error syntax node 2017-05-18 09:47:14 -07:00
Rick Winfrey
1747860e99 Assign both arithmetic and binary expressions 2017-05-18 09:14:47 -07:00
Rick Winfrey
6aba00f500 Fix spelling 2017-05-18 08:38:49 -07:00
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
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