Rob Rix
|
52c0de28a8
|
🔥 redundant parens.
|
2017-05-19 12:10:32 -04:00 |
|
Rob Rix
|
e3f95eb9a8
|
Define Language as a GADT.
|
2017-05-19 12:09:49 -04:00 |
|
Rob Rix
|
041f22ddca
|
Pass the Source to parsers.
|
2017-05-19 11:52:44 -04:00 |
|
Rob Rix
|
7a24e8fe01
|
Pass the Source to documentToTerm.
|
2017-05-19 11:50:08 -04:00 |
|
Rob Rix
|
13b6445309
|
Share the computation of the first line.
|
2017-05-19 11:45:51 -04:00 |
|
Rob Rix
|
406001f25f
|
Align startPos/endPos.
|
2017-05-19 11:44:57 -04:00 |
|
Rob Rix
|
96469f0bd1
|
📝 rangeToSourceSpan & sourceSpanToRange.
|
2017-05-19 11:43:10 -04:00 |
|
Rob Rix
|
9f847da265
|
Make sure the rangeToSourceSpan/sourceSpanToRange tests include newlines.
|
2017-05-19 11:41:16 -04:00 |
|
Rob Rix
|
e66122f0da
|
Correct the definition of rangeToSourceSpan.
|
2017-05-19 11:39:45 -04:00 |
|
Rob Rix
|
61e29e8fdb
|
Compute the line ranges within the range.
|
2017-05-19 11:20:52 -04:00 |
|
Rob Rix
|
71e3c1d482
|
sum rangeLengths.
|
2017-05-19 11:18:21 -04:00 |
|
Rob Rix
|
c89ee864ca
|
🔥 rangeAt.
|
2017-05-19 11:17:21 -04:00 |
|
Rob Rix
|
9ddbc5055d
|
s/dual to/inverse of/
|
2017-05-19 11:08:22 -04:00 |
|
Rob Rix
|
79e4a1f773
|
Simplify properties.
|
2017-05-19 10:59:33 -04:00 |
|
Rob Rix
|
bf5c266325
|
Test that rangeToSourceSpan and sourceSpanToRange are duals.
|
2017-05-19 10:52:12 -04:00 |
|
Timothy Clem
|
5d3d320eff
|
Individual lookup of before/after keys
|
2017-05-19 07:50:13 -07:00 |
|
Rob Rix
|
fd9a240dbb
|
Correct the columns in rangeToSourceSpan.
|
2017-05-19 10:49:03 -04:00 |
|
Rob Rix
|
0bb2551909
|
Simplify sourceSpanToRange’s handling of 1-indexed spans.
|
2017-05-19 10:46:53 -04:00 |
|
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 |
|