Wouldn't be nice if Sprache would be generalized to work on IEnumerable<Token> instead of chars?

33 views
Skip to first unread message

Liviu U

unread,
Nov 29, 2012, 9:55:56 AM11/29/12
to sprache...@googlegroups.com

I wrote a quick parser for Typescript definition files using Sprache. the parser looks ugly because of all WhiteSpace handling.

If i have a scanner for the source files, that returns an IEnumerable<Token>, it would be more convenient to consume the Tokens and not the chars using Sprache.

Is this support already baked in?
Reply all
Reply to author
Forward
0 new messages