Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Syntax highlighting for CPAN

by DStaal (Chaplain)
on Mar 24, 2011 at 15:28 UTC ( [id://895279]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Syntax highlighting for CPAN
in thread Syntax highlighting for CPAN

As for reasons why to use yet another parser, it might have something to do with wanting to parse code snippets, which may not even be complete valid Perl, and which are embedded in other text.

Most of the parsers I know tend to assume what you feed to them is supposed to be valid code, and is all supposed to be code.

Replies are listed 'Best First'.
Re^4: Syntax highlighting for CPAN
by LanX (Saint) on Mar 24, 2011 at 15:42 UTC
    Good point, but IMHO perltidy is quite tolerant, I once spoke to a PHP haker who used it (well he had to care about regexing the comment symbols)

    IMHO false positives with keyword based highlighting is so distracting, that it's rapidly switched off.

    But maybe it's just me...

    Cheers Rolf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-26 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found