1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

12642 Commits

Author SHA1 Message Date
Rob Rix
edefb5c5fb Compute 1-indexed totalSpans. 2017-05-19 10:45:51 -04:00
Rob Rix
8e1ba92729 Move rangeToSourceSpan up with sourceSpanToRange. 2017-05-19 10:33:10 -04:00
Rob Rix
58a2cb79d2 ALaCarteRubyParser is total (sort of). 2017-05-19 10:32:26 -04:00
Rob Rix
16b406dcd4 Compute the total span of a Source. 2017-05-19 10:31:30 -04:00
Rob Rix
1c33f9faf3 Compute actualLineRanges over the whole Source. 2017-05-19 10:30:58 -04:00
Rob Rix
1d1b51c163 We don’t need to pattern match the Range here. 2017-05-19 10:29:12 -04:00
Rob Rix
aa20a2f14e Better docs of totalRange. 2017-05-19 10:18:07 -04:00
Rob Rix
b91ac39b63 Define an à la carte Ruby parser. 2017-05-19 10:01:06 -04:00
Rob Rix
25f7db5bbc Produce a single root term. 2017-05-19 10:00:15 -04:00
Rob Rix
748ea87c85 Move parserForLanguage into the Parser module. 2017-05-19 09:57:03 -04:00
Rob Rix
4958387ee4 Use Parsers for parsing. 2017-05-19 09:56:28 -04:00
Rob Rix
6cf0e83fe0 Define a Markdown parser. 2017-05-19 09:56:04 -04:00
Rob Rix
1d838e00cd Define a line-by-line Parser. 2017-05-19 09:53:56 -04:00
Rob Rix
bfb85e69ea Define an eliminator for parsers. 2017-05-19 09:51:12 -04:00
Rob Rix
a5ab3637fb Define a Parser GADT. 2017-05-19 09:51:01 -04:00
Rob Rix
b9e947b605 🔥 the Parser type synonym. 2017-05-19 09:43:31 -04:00
Rob Rix
7c3309d571 🔥 the import of Parser from the TreeSitter module. 2017-05-19 09:42:58 -04:00
Rob Rix
80f9c20c0b 🔥 the import of Parser from the Semantic module. 2017-05-19 09:41:53 -04:00
Rob Rix
1559c31394 🔥 the import of Parser from the Markdown module. 2017-05-19 09:40:09 -04:00
Rob Rix
8e54da32bf Merge pull request #1128 from github/syntax-algebra-module
Syntax algebra module
2017-05-19 09:19:50 -04:00
Rob Rix
2052909d7e Remove the ' from Identifier. 2017-05-19 09:17:07 -04:00
Rob Rix
3ba57c56f1 Move the syntax algebras into Data.Syntax.Algebra. 2017-05-19 09:16:26 -04:00
Rob Rix
6d2e115da7 Stub in a module for syntax algebras. 2017-05-19 09:13:03 -04:00
Rob Rix
40b0c2189d Merge pull request #1118 from github/unaligned-json-diff-rendering
Unaligned JSON diff rendering
2017-05-18 21:37:12 -04:00
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
Timothy Clem
a518a4ad19 Use These to enforce patch style valid input of before/after 2017-05-18 16:45:37 -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
Timothy Clem
2a828703b0 Always with the imports 2017-05-18 14:09:58 -07:00
Timothy Clem
7121f827e3 Handle various language inputs and test them 2017-05-18 14:05:29 -07:00
Timothy Clem
2fd81ce5a4 Clean up readFromHandle 2017-05-18 14:05:29 -07:00
Timothy Clem
c0e8c7fe84 TIL about Alternative 2017-05-18 14:05:29 -07:00
Rob Rix
a4be9b0a99 Merge branch 'master' into unaligned-json-diff-rendering 2017-05-18 16:32:21 -04: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