LanX has asked for the wisdom of the Perl Monks concerning the following question:
I'm pondering about making Perl memorize parsing information (like from B::Xref , ctags, prototypes) in an extra location, like a static file ( something like "~.meta" or "~.ptags" )
Mechanism would be to compare last-edit time in the UNITCHECK phase.
If the Perl file is newer, parsing information would be stored.
I'm aware of edge cases like AUTOLOAD, but for far more than 90% of modules this should be a reliable approach. This would allow improving our toolchain, like IDEs.
Was this tried before?
Ideas?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Storing dynamic parse results for static introspection?
by perlfan (Parson) on Jul 21, 2020 at 17:30 UTC | |
by LanX (Saint) on Jul 21, 2020 at 17:55 UTC |