StringTokenFormatter icon indicating copy to clipboard operation
StringTokenFormatter copied to clipboard

More Advanced Parsing

Open TonyValenti opened this issue 11 months ago • 1 comments

Hi @andywilsonuk / @andyrsc - I noticed that in the dev branch you have a lot of things you're working on with loops and such.

One of the things I love about the current library is that it is freaky fast. As parsing becomes more and more advanced, that speed will go away.

I had an idea I wanted to pass your way: Have you considered building a separate library that can use a C# Razor file for text generation?

That seems like an amazing approach to incorporate all other kinds of goodness.

TonyValenti avatar Mar 07 '24 12:03 TonyValenti

I share your concerns about features and performance and felt that it was worth the hit to provide common use cases.

Building on something like https://github.com/toddams/RazorLight might work for parsing see what you think. As you said, it's probably a new library at the point but it's a really interesting idea.

andywilsonuk avatar Mar 09 '24 11:03 andywilsonuk