Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Editor with Perl

by stefan k (Curate)
on Apr 11, 2001 at 14:48 UTC ( [id://71622]=perlmeditation: print w/replies, xml ) Need Help??

Dear Monks,
during the last days I spent some time thinking about a possible editor with Perl as it's internal programming language. Right now I'm highly connected with XEmacs but elisp is not a favorite language of mine, whereas Perl is definetly my favorite language.

Now, before I start thinking about this and posting my first ideas for a whitepaper on the perlmonks (I'd never start such a thing without you, Monks!) I'd like to know whether there are already editors that use perl as their built-in language.
I know of perlmacs but that's not really what I was thinking about (though it would be cool to be able to use emacs' packages, too; but that's another story ;-)

Do you know of any such editors or would you be interested to get involved in such a thing?

Regards Stefan K

Replies are listed 'Best First'.
Re: Editor with Perl
by arhuman (Vicar) on Apr 11, 2001 at 15:13 UTC
    I don't know if it's a good idea of giving this answer to an Emacs user ;-)
    but, from perlfaq :

    Where can I get Perl macros for vi?
    For a complete version of Tom Christiansen's vi configuration file,
    see http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/toms.exrc.gz,
    the standard benchmark file for vi emulators.
    This runs best with nvi, the current version of vi out of Berkeley,
    which incidentally can be built with an embedded Perl interpreter
    -- see http://www.perl.com/CPAN/src/misc.


    "Only Bad Coders Badly Code In Perl" (OBC2IP)
      I don't know if it's a good idea of giving this answer to an Emacs user ;-)

      OK, I read it but consider this as an answer "No there is no such editor out there" *grin* No, no, no, please don't start bashing me! No editorwars here. If I'm ready to think about leaving my beloved XEmacs for starting something else I can't be that bad ;-)

      Actually I got to admit that I'm impressed that /n*vim*/ is capable of such things.

      Regards Stefan K

        Have no fear you will get no bashing from me. I was an emacsphile for 10 years or so. I have switched to vim recently for many reasons not limited to the perl support. I have been really pleasantly surprised at how nice it is.
        --

        Zigster
Re: Editor with Perl
by zigster (Hermit) on Apr 11, 2001 at 15:32 UTC
    VIM Vi(Imroved) already has the perl interp built into it. You can write perl subs to manipulate the browser in exactly the way you describe.
    --

    Zigster
Re: Editor with Perl
by greenFox (Vicar) on Apr 11, 2001 at 17:30 UTC

    When I was playing with perl Tk a lot (previous job) I built a very simple editor quite quickly using the Tk::Text widget, I think even more sophistication could be achieved using Tk::Text::SuperText Both would be good places to start if you were considering such an endeavour.

    You may also want to check this node which suggests the PerlTk text widget is superior to the GTK one.

    --
    my $chainsaw = 'Perl';

      If you do write an editory with perl embedded within it may I suggest the name clam.
      --

      Zigster
        I think you mean oyster.
      Actually I was thinking about a "real" editor.

      I started this thread to make sure I don't spent deeper thinking on something that has long before been done (probably better than I coud ;-)

      It should be a substitute for nothing less than XEmacs. I mean, if it weren't I wouldn't need to change, because XEmacs is cool (yeahyeah vim is pretty well, too ... _if_ you like it ... uhumm... sorry ;-)

      Regards Stefan K

Log In?
Username:
Password:

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

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

    No recent polls found