Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?

Replies are listed 'Best First'.
Re^2: Interactive post-coloring of readline input?
by LanX (Bishop) 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?
[muthusathish]: Hi All i need a help
[Eily]: hello muthusathish, we have many helps here
[muthusathish]: i have a perl based dll, how to decompile
[hippo]: :-D
[Eily]: you mean a dll where the SW was written in perl? That sounds unlikely
[muthusathish]: please help me regarding this
[hippo]: Easier just to go and look at the source, no?
[Eily]: mostly because perl isn't compiled in the usual sense of the meaning, you can't execute the opcodes directly, you need the perl engine
[muthusathish]: i dont have the environment too, but i need to get the logics so that i can re-wite
[Eily]: what makes you think your dll is "perl based" ?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2018-02-23 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (301 votes). Check out past polls.

    Notices?