Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: RFC: LSP for Perl

by zakame (Pilgrim)
on Sep 07, 2017 at 06:52 UTC ( [id://1198820]=note: print w/replies, xml ) Need Help??


in reply to RFC: LSP for Perl

Yep, this is something on my radar too for a while now. FWIW there's already plsense (albeit haven't seen changes to it in a while,) so maybe a first shot at LSP would be to make plsense talk LSP?

I've added an issue to the plsense GitHub to try get things going.

Replies are listed 'Best First'.
Re^2: RFC: LSP for Perl
by LanX (Saint) on Jan 04, 2018 at 05:33 UTC
    Is it really that simple?

    From my understanding does plsense.el rely heavily on cperl.el, at least for parsing the language.

    It's not clear for me how LSP expects this to be done, if it's really a "Server" then you'd need an external parsing entity, like PPI.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

      It seems already here: Perl::LanguageServer.

      Note it uses Compiler::Lexer, not PPI, so it is definitely quite an early version to test the waters.

        Thanks, Compiler::Lexer sounds interesting, though there is practically no documentation what it does and how.

        update

        a quick look into the code reveals that it's similar to PPI in trying to parse Perl code. :(

        IMHO running perl -c and analyzing the resulting op-tree would be safer...

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Re^2: RFC: LSP for Perl
by RonW (Parson) on Sep 07, 2017 at 19:38 UTC

    Thanks.

    Looks like it could be a good starting point.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1198820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found