Re: [racket-dev] Misuse of terminology in `parser-tools/lex`?

2016-12-09 Thread Alexis King
> On Dec 9, 2016, at 10:23, Matthew Butterick wrote: > > 2) Relatedly: is the field ordering used by the `srcloc` struct — line > / column / position / span — recommended for other interfaces to > follow, or considered arbitrary? IMO, I would say “just use the srcloc struct” if you need srclocs,

Re: [racket-dev] Misuse of terminology in `parser-tools/lex`?

2016-12-09 Thread Robby Findler
On Fri, Dec 9, 2016 at 12:23 PM, Matthew Butterick wrote: > 1) Would you consider a PR (from me) for `parser-tools` that updates the > names to be consistent (while preserving the older ones of course)? Or is > there too much water under the bridge to bother with? Sure, cleaning up stuff like tha

Re: [racket-dev] Misuse of terminology in `parser-tools/lex`?

2016-12-09 Thread Matthew Butterick
1) Would you consider a PR (from me) for `parser-tools` that updates the names to be consistent (while preserving the older ones of course)? Or is there too much water under the bridge to bother with? 2) Relatedly: is the field ordering used by the `srcloc` struct — line / column / position / s