On Friday, 11 December 2020 at 20:19:49 UTC, H. S. Teoh wrote:
On Fri, Dec 11, 2020 at 07:49:12PM +0000, vnr via
Digitalmars-d-learn wrote:
[...]
If you want a *really* fast lexer, I recommend using GNU Flex
(https://github.com/westes/flex/). Unfortunately, AFAIK it
does not support D directly; it generates a lexer in C that you
then compile. Fortunately, you can interface with the generated
C code quite easily from D.
[...]
Thank you for this answer :)
I hadn't imagined using Flex, but it's true that the integration
of C in D is quite impressive.