fparser
fparser copied to clipboard
This project maintains and develops a Fortran parser called fparser2 written purely in Python which supports Fortran 2003 and some Fortran 2008. A legacy parser fparser1 is also available but is not s...
ATM the output of the dependency creation tool does not support the output of subdirectories, e.g.: ``` $ cd fparser/example $ ./create_dependencies.py test_files/* $ cd test_files/ $ ../create_dependencies.py * b.o:...
In PSyclone we still manipulate the fparser2 parse tree in certain circumstances. I've found that if one deletes all the content from a Specification_Part node then asking for the string...
blockbase has a strict_order option. This is not used for the Module rule but (barring unknown bugs) should be. Using this should improve the performance of fparser as it reduces...
There are a lot of constraints for allocate-stmt and currently we do not enforce/check any of them.
We have a lot of lines that are too long. I'll fix those in this issue.
If I understand it correctly, the ParserFactory does not return different objects but instead updates a global SYMBOL_TABLE and fparser.two.Fortran2003.Base.subclasses and returns always an instance of Fortran2003.Program. Subsequent calls to...
With more people contributing/using fparser I think a Reference Guide would be useful. (At least, I'll certainly find it useful :-) ) This will be a two-stage thing - add...
Hi, I am the dev behind the [`fortls`](https://github.com/gnikit/fortls) Fortran Language Server. There has been a few discussions in the Fortran community [[1](https://github.com/gnikit/fortls/issues/85), [2](https://github.com/hansec/fortran-language-server/issues/205)] about utilising a single Fortran parser to...
In some situations we only need to parse the declarations of a file. There should be a way to specify this and take advantage of any potential performance improvement. An...
fparser is still the main bottleneck when executing PSyclone, it takes 70%-80% of its execution time. There are some low code-impact modifications that can be explored without changing the main...