> On May 1, 2018, at 5:55 PM, Marco van de Voort <mar...@stack.nl> wrote:
> 
> I already stumbled on regex :_)

Anyone feel free to make a good example of a token parser in Pascal so I can 
see how it looks. I never an actual good parser that understands syntax so I 
don’t have any good examples to go by.

In PHP I always just load the file into string and loop over it line by line 
using regex to cut out the parts I need. I like it because it’s so easy to 
write and gets the job done. What ever I would make it Pascal would be 10x 
larger probably.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to