Hi!
I've tried to use your Syntax and SyntaxTree packages for creating myself a viewer for JSON files. These files that I want to inspect can become quite large, more than a megabyte in size with 50.000 lines of code. I'm using the JSON parser from the projects unit tests. But when I try to execute
JSONParser().syntaxTree(jsonString)
it never completes. Smaller files work fine - but these large files never complete. I stopped a test after 20 minutes. However, it's not sucking up memory. The memory usage was constant and not growing. Do you have any idea what could be the reason? Why does the conversion to a SyntaxTree never complete?
Hi! I've tried to use your
Syntax
andSyntaxTree
packages for creating myself a viewer for JSON files. These files that I want to inspect can become quite large, more than a megabyte in size with 50.000 lines of code. I'm using the JSON parser from the projects unit tests. But when I try to executeit never completes. Smaller files work fine - but these large files never complete. I stopped a test after 20 minutes. However, it's not sucking up memory. The memory usage was constant and not growing. Do you have any idea what could be the reason? Why does the conversion to a SyntaxTree never complete?