logos
logos copied to clipboard
Use Lexer with lazy file readers
Hello,
First, I really like your project, and I'd like to thank you for that! Second, I am quite new to this project, so I hope this question is not a duplicate (if so, I will delete it).
I was wondering if it was possible to use Logos (and its Lexer) on "lazy" file readers? My goal is to skim through a file only once and copy bits of contents that match specific patterns, discarding the rest. The file will then, hopefully, only be read blocks by blocks (the size of the block depending on how much characters Logos must read before encountering the next Token).
Thanks in advance