Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Interactive post-coloring of readline input?

by chrestomanci (Priest)
on Feb 09, 2012 at 10:41 UTC ( #952684=note: print w/ replies, xml ) Need Help??


in reply to Interactive post-coloring of readline input?

Are you aware of existing work to add syntax highlighting to the perl debugger?

Ovid has put together a prof of concept alpha quality module DB::Color. It is also on GitHub and he has Blogged about it.

It sounds like what you are doing does not closely overlap, as you are trying to syntax highlight the user's command line rather code listings, but I think it would be a good idea if you get in contact with Ovid, and discuss how you can share effort to create a single unified tool. For example you don't want to duplicate effort in writing a parser to identify keywords, and you want the same colour scheme to be used in both places.


Comment on Re: Interactive post-coloring of readline input?
Re^2: Interactive post-coloring of readline input?
by LanX (Canon) on Feb 09, 2012 at 17:00 UTC
    > but I think it would be a good idea if you get in contact with Ovid, and discuss how you can share effort to create a single unified tool.

    Thanks for the link... I didn't know that one!. :)

    But are you aware how many Perl-REPL and Perl-Shell projects already exist, where almost nobody teams up? (This post thread is one of many)

    Writing propiatory read-eval-loops is almost as popular as propiatory template engines.

    >It sounds like what you are doing does not closely overlap,

    No, not really. Ovid uses a Kate library for highlighting introspections and single steps by manipulating &DB::DB.

    Cheers Rolf

    BTW: When purely debugging (breakpoint, stepping) I use the emacs frontend. So inspected code is already highlighted out of the box in my color scheme. So Ovid's use case doesn't apply to me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-09-03 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls