Commit Graph

256 Commits

Author SHA1 Message Date
Martin Atkins
0c1a99df48 Utilities for constructing diagnostics
Wrangling diagnostics is a common concern in the parsers and evaluator,
and these helper functions are intended to make that code more concise.
2017-05-15 08:33:22 -07:00
Martin Atkins
45d426b99c json: Generate EOF tokens marking the end of scanning
This helps the parser include a good position when it needs to generate
"unexpected EOF" diagnostics.
2017-05-15 07:15:53 -07:00
Martin Atkins
b5ce4360cd json: initial scanner implementation
Currently lacking correct support for unicode text segmentation into
grapheme clusters, so it miscounts "Column" in positions. This will be
addressed later.
2017-05-15 07:02:13 -07:00
Martin Atkins
b9183e85e4 Initial stubs of the public API 2017-05-13 17:44:11 -07:00
Martin Atkins
bde4c176b9 LICENSE 2017-05-13 08:51:32 -07:00
Martin Atkins
fb168c8128 Why, hello! 2017-05-13 08:50:05 -07:00