Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// .NET framework 4.6.1 / x64 + Release
// https://github.com/acple/ParsecSharp/tree/5ea648b20ac28cc032a669c8fbe0f346e3e947fc
using System.Diagnostics;
using static System.Console;
using static Parsec.Parser;
using static Parsec.Text;
namespace _
{
class Program
{
static void Main(string[] args)
{
var count = 10000;
//var parser = SkipMany(Any());
var parser = SkipMany(Any().Do(_ => WriteLine(new StackTrace().FrameCount)));
parser.Parse(new string('A', count));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.