Rob Rix
|
d1a5167999
|
Make doubly sure we don’t close over the wrong variable.
|
2017-02-10 15:45:02 -05:00 |
|
Rob Rix
|
94c448bef3
|
Take the range from the source.
|
2017-02-10 15:42:16 -05:00 |
|
Rob Rix
|
26efa43611
|
Close over the correct source.
|
2017-02-10 15:35:10 -05:00 |
|
Rob Rix
|
672ff179ed
|
Source carries its Range.
|
2017-02-10 15:33:41 -05:00 |
|
Rob Rix
|
f723b576e1
|
Pass the getter in.
|
2017-02-10 12:59:22 -05:00 |
|
Rob Rix
|
ad5d659941
|
Cut down on crossing the FFI.
|
2017-02-10 12:58:15 -05:00 |
|
Rob Rix
|
5688c2b447
|
Pre-slice the source passed to toTerm.
|
2017-02-10 12:26:02 -05:00 |
|
Rob Rix
|
9bcabf21b7
|
Extract a function to retrieve the range for a node.
|
2017-02-10 12:24:10 -05:00 |
|
Rob Rix
|
bc2a29d84e
|
Source is no longer parametric in the character type.
|
2017-02-10 11:21:24 -05:00 |
|
Rob Rix
|
e85eb49e0e
|
Tidy up the imports a bit.
|
2017-02-10 11:02:38 -05:00 |
|
Rob Rix
|
060680f070
|
🔥 a redundant import.
|
2017-02-10 09:32:10 -05:00 |
|
Rob Rix
|
42871bcc94
|
Fix do notation.
|
2017-02-10 09:28:57 -05:00 |
|
Rob Rix
|
2108d7287a
|
Use the new input string with length API.
|
2017-02-10 09:23:51 -05:00 |
|
Timothy Clem
|
d6796afd6f
|
Pass Text to tree-sitter
|
2017-02-09 21:31:29 -08:00 |
|
Rob Rix
|
2929fb3cb4
|
Rename Syntax.Error to ParseError.
|
2017-01-25 03:09:53 -05:00 |
|
Rob Rix
|
296c53f187
|
Rename Category.Error to ParseError.
|
2017-01-25 03:08:06 -05:00 |
|
Rob Rix
|
833f2f755e
|
Add a language-agnostic assignment of Throw .
|
2017-01-25 03:02:03 -05:00 |
|
Rob Rix
|
6207e474b6
|
Add a language-agnostic Yield assignment.
|
2017-01-25 02:58:04 -05:00 |
|
Rob Rix
|
9a4c92d735
|
Only pass the category to term assignment.
|
2017-01-23 16:04:31 -05:00 |
|
Rob Rix
|
a27edde9e4
|
Return Syntax from Go term assignment.
|
2017-01-23 16:01:42 -05:00 |
|
Rob Rix
|
281df3178f
|
Handle Case language agnostically.
|
2017-01-23 15:12:38 -05:00 |
|
Rob Rix
|
e95ae2c5d9
|
Ruby uses Switch/Case like anyone else would.
|
2017-01-23 15:06:05 -05:00 |
|
Rob Rix
|
974020891a
|
Assign Switch terms language-agnostically.
|
2017-01-23 15:04:05 -05:00 |
|
Rob Rix
|
a7cbea7051
|
Handle break/continue statements language-agnostically.
|
2017-01-23 14:09:07 -05:00 |
|
Rob Rix
|
a0bdcb9f60
|
Handle pairs in the default term assignment.
|
2017-01-23 14:07:47 -05:00 |
|
Rob Rix
|
3809b07723
|
Group language-agnostic patterns.
|
2017-01-20 16:49:45 -05:00 |
|
Rob Rix
|
ed217d9d10
|
Add language-agnostic handling of while statements.
|
2017-01-20 16:40:34 -05:00 |
|
Rob Rix
|
a49ca3cbe6
|
Add language-agnostic handling of return statements.
|
2017-01-20 16:39:27 -05:00 |
|
Rob Rix
|
24753de48d
|
Add a default handler for if statements.
|
2017-01-20 15:20:36 -05:00 |
|
Rob Rix
|
c9af7b1196
|
Per-language term assignment is pure.
|
2017-01-20 15:03:40 -05:00 |
|
Rob Rix
|
6abb7d812a
|
Handle operators in the default term assignment.
|
2017-01-20 14:59:49 -05:00 |
|
Rob Rix
|
a16f3b4e99
|
defaultTermAssignment receives the list of all children.
|
2017-01-20 14:55:43 -05:00 |
|
Rob Rix
|
3ed32e9225
|
defaultTermAssignment returns in IO.
|
2017-01-20 14:54:03 -05:00 |
|
Rob Rix
|
427afdf61c
|
Ruby term assignment returns Syntax.
|
2017-01-20 14:15:09 -05:00 |
|
Rob Rix
|
600b861135
|
C term assignment returns Syntax.
|
2017-01-20 14:12:56 -05:00 |
|
Rob Rix
|
17ce8d6988
|
JavaScript term assignment returns Syntax.
|
2017-01-20 14:09:44 -05:00 |
|
Rob Rix
|
a538d39b31
|
Per-language term assignment returns Syntax , not Term .
|
2017-01-20 14:09:29 -05:00 |
|
Rob Rix
|
af8b3bf268
|
Go term assignment is (notionally) partial.
|
2017-01-20 13:51:52 -05:00 |
|
Rob Rix
|
27a01e8ddc
|
Fall back to default term assignment if we don’t have a language.
|
2017-01-20 13:48:52 -05:00 |
|
Rob Rix
|
45621eedd8
|
JavaScript term assignment is (notionally) partial.
|
2017-01-20 13:47:06 -05:00 |
|
Rob Rix
|
2e7c4c2ac4
|
C term assignment is (notionally) partial.
|
2017-01-20 13:45:05 -05:00 |
|
Rob Rix
|
5432eaab34
|
Ruby term assignment is (notionally) partial.
|
2017-01-20 13:37:20 -05:00 |
|
Rob Rix
|
740f1ee174
|
Write a fallback path for partial term assignment.
|
2017-01-20 13:35:38 -05:00 |
|
Rob Rix
|
f84c578371
|
Construct parse error terms for all languages.
|
2017-01-20 13:11:04 -05:00 |
|
Rob Rix
|
44ecf732fa
|
Curry defaultTermAssignment.
|
2017-01-20 13:07:19 -05:00 |
|
Rob Rix
|
a6c897163c
|
Rename termConstructor to termAssignment.
|
2017-01-20 13:05:55 -05:00 |
|
Rob Rix
|
8dbf54bcca
|
Export the default term assignment.
|
2017-01-20 13:04:36 -05:00 |
|
Rob Rix
|
c1e82f9b37
|
Define a default term assignment.
|
2017-01-20 13:03:52 -05:00 |
|
Rob Rix
|
1c0c7e4bdf
|
Factor slicing the source out of term assignment.
|
2017-01-20 12:59:56 -05:00 |
|
Rob Rix
|
c93d9abe0b
|
Pass the annotations in whole.
|
2017-01-19 16:36:49 -05:00 |
|