fortls icon indicating copy to clipboard operation
fortls copied to clipboard

Change preprocessor parser to use pyparsing

Open gnikit opened this issue 2 years ago • 2 comments

Description The current preprocessor parser is flimsy and it does not work as expected

Describe the solution you'd like Use pyparsing https://github.com/pyparsing/pyparsing for parsing the preprocessor instead of the manual parsing

gnikit avatar May 20 '22 09:05 gnikit

Is the speed of pyparsing adequate?

cafhach avatar May 30 '22 11:05 cafhach

@cafhach I would suspect so. I have no indication that pyparsing would cause any problems, but in general performance is not that important for a language server when you compare it with the maintenance cost of the parser

gnikit avatar May 30 '22 13:05 gnikit