Rob Rix
|
0854ba66e2
|
Evaluate the SourceSpan strictly.
|
2017-01-18 13:39:58 -05:00 |
|
Rob Rix
|
60a8f588e4
|
Term assignment takes a pure SourceSpan.
We always access this now, so we don’t need to guard it in IO.
|
2017-01-18 13:39:40 -05:00 |
|
Timothy Clem
|
5c0ee56565
|
Bring in new tree-sitter API to query all child nodes
|
2016-12-06 11:21:31 -08:00 |
|
joshvera
|
30a3961409
|
Add go, defer, and subscript access statements
|
2016-11-14 19:05:02 -05:00 |
|
joshvera
|
0d58e97070
|
Merge remote-tracking branch 'origin/master' into go-parser
|
2016-11-02 15:25:50 -04:00 |
|
Timothy Clem
|
4b42939bf3
|
Basics of Ruby termConstructor
|
2016-10-19 08:30:46 -07:00 |
|
joshvera
|
9d81396317
|
construct Go terms with its termConstructor
|
2016-10-17 15:51:53 -04:00 |
|
joshvera
|
098655b1d9
|
Remove filepath from SourceSpan
|
2016-10-11 15:09:24 -04:00 |
|
joshvera
|
c0a8483263
|
Merge remote-tracking branch 'origin/master' into add-source-spans
|
2016-10-07 11:28:57 -04:00 |
|
joshvera
|
4c219279b2
|
SourceSpans are one-indexed
|
2016-10-06 18:31:06 -04:00 |
|
Timothy Clem
|
fa2f13ab74
|
Update to latest tree-sitter and parsers
|
2016-10-06 11:07:40 -07:00 |
|
joshvera
|
7ba5607cc8
|
Add source spans to terms
|
2016-10-05 17:27:45 -04:00 |
|
Rob Rix
|
fc43dd54a0
|
🔥 a redundant import.
|
2016-09-14 19:23:40 -04:00 |
|
Rick Winfrey
|
67d5bec5ff
|
Format comment
|
2016-09-09 16:23:19 -05:00 |
|
Rob Rix
|
29e5b5d1da
|
Filter empty nodes out at the assignment of children.
|
2016-09-08 09:42:16 -04:00 |
|
Rob Rix
|
eccaab1fbd
|
Use record wildcards to destructure the source blob.
|
2016-09-08 09:40:00 -04:00 |
|
Rob Rix
|
8ff6b1aa96
|
Use $! instead of seq.
|
2016-09-08 09:39:19 -04:00 |
|
Rob Rix
|
1e9785fc67
|
Add a fallback term constructor for other languages.
|
2016-09-07 15:14:20 -04:00 |
|
Rob Rix
|
a1be4c2841
|
Map C productions into terms using a term constructor.
|
2016-09-07 15:11:55 -04:00 |
|
Rob Rix
|
c194d4578a
|
Select the term constructor using the language.
|
2016-09-07 13:00:59 -04:00 |
|
Rob Rix
|
9750b252ed
|
Rename the term constructor for JS.
|
2016-09-07 11:57:24 -04:00 |
|
Rob Rix
|
0c0a67ba65
|
Move javascriptTermConstructor into its own module.
|
2016-09-07 11:56:28 -04:00 |
|
Rob Rix
|
bd7fab0cd8
|
🔥 defaultCategoryForNodeName.
|
2016-09-07 10:31:58 -04:00 |
|
Rob Rix
|
18bcc8bd0c
|
🔥 categoriesForLanguage.
|
2016-09-07 10:31:52 -04:00 |
|
Rob Rix
|
b5534682a8
|
Construct in javascriptTermConstructor.
|
2016-08-25 18:20:40 -04:00 |
|
Rob Rix
|
07c0d89805
|
Declare the export list for TreeSitter.
|
2016-08-25 15:42:30 -04:00 |
|
joshvera
|
38fd0431f7
|
Fix semantic-git-diff-tests
|
2016-08-22 17:56:48 -04:00 |
|
joshvera
|
bbc2c2b9b2
|
Add the empty statement
|
2016-08-19 15:53:04 -04:00 |
|
Rick Winfrey
|
1b542a89ba
|
Promote "rel_op" to general language production
|
2016-08-17 11:55:20 -05:00 |
|
Rick Winfrey
|
9907711099
|
Make "bitwise_op" a generic language production
|
2016-08-17 11:00:25 -05:00 |
|
joshvera
|
8bcf292ba0
|
Merge remote-tracking branch 'origin/master' into comma-summaries
|
2016-08-16 19:34:30 -04:00 |
|
Rick Winfrey
|
5f23992143
|
Merge branch 'master' into more-detail-more-problems
|
2016-08-16 16:10:04 -05:00 |
|
joshvera
|
329c050811
|
Merge remote-tracking branch 'origin/master' into comma-summaries
|
2016-08-16 15:44:09 -04:00 |
|
joshvera
|
a9c3bfa671
|
Add CommaOperator
|
2016-08-16 15:44:02 -04:00 |
|
Rick Winfrey
|
e29651ce07
|
Create Comment Category instances from TreeSitter productions
|
2016-08-16 13:09:43 -05:00 |
|
Rob Rix
|
62c5eb758f
|
Apply fromIntegral strictly.
|
2016-08-16 11:35:12 -04:00 |
|
Rob Rix
|
fba230319b
|
Be very explicit about evaluating the SourceSpan eagerly.
|
2016-08-16 11:04:52 -04:00 |
|
Rob Rix
|
1666c536f8
|
Take the SourceSpan in the monad.
|
2016-08-16 10:59:10 -04:00 |
|
Rob Rix
|
4190abe065
|
Generalize termConstructor to return its argument in a Monad.
|
2016-08-16 09:50:50 -04:00 |
|
Rob Rix
|
97e5ee5aa2
|
🔥 redundant parens.
|
2016-08-15 17:46:43 -04:00 |
|
Rob Rix
|
5a979aaf5b
|
Document why sourceSpan isn’t evaluated eagerly any more.
|
2016-08-15 17:41:13 -04:00 |
|
Rob Rix
|
f1c1d85ec8
|
Don’t evaluate the sourceSpan strictly, i.e. only compute it when there are actually errors (but then use it eagerly).
|
2016-08-15 17:40:07 -04:00 |
|
Rob Rix
|
eb99b40a15
|
Don’t inline toTerm after all.
It’s recursive and we want to see how its performance breaks down a
little better.
|
2016-08-15 17:28:17 -04:00 |
|
Rob Rix
|
d4022e0c43
|
Define getChild using >>.
|
2016-08-15 17:25:56 -04:00 |
|
Rob Rix
|
3a87e5501d
|
Evaluate sourceSpan eagerly too.
|
2016-08-15 17:17:03 -04:00 |
|
Rob Rix
|
8837f48d3d
|
Bind range instead of assigning it.
|
2016-08-15 17:12:15 -04:00 |
|
Rob Rix
|
5adb799b48
|
INLINE a bunch of stuff in documentToTerm .
|
2016-08-15 17:04:45 -04:00 |
|
Rob Rix
|
042b3b9c29
|
Bind sourceSpan instead of assigning it.
|
2016-08-15 17:04:38 -04:00 |
|
joshvera
|
e209199016
|
Add If constructor to Syntax
|
2016-08-11 17:39:44 -04:00 |
|
Rob Rix
|
48213c4134
|
🔥 some stray blank lines.
|
2016-08-10 09:48:16 -04:00 |
|