help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: For text processing, which is more powerful, emacs or perl?


From: Hongyi Zhao
Subject: Re: For text processing, which is more powerful, emacs or perl?
Date: Sat, 19 Dec 2020 20:17:49 +0800

On Sat, Dec 19, 2020 at 5:16 PM Jean Louis <bugs@gnu.support> wrote:
>
> * Hongyi Zhao <hongyi.zhao@gmail.com> [2020-12-19 10:44]:
> > It's well known that perl's regexp is very powerful for its capability
> > of text processing. So, which is more powerful, emacs or perl, in this
> > scenario?
>
> Well it is better to tell what you wish to achieve. What kind of text
> do you wish to process?
>
> I was doing many command line processing with Perl, importing data
> with Perl, processing text, importing into databases, processing large
> programs. It is more for command line processing and programmatic
> processing.
>
> Today I do those things with Emacs Lisp so I import CSV data, process
> entries, insert into databases. I do not miss Perl today. Emacs Lisp
> seem to me simpler now than Perl back then.
>
> You may evaluate this function below:
>
> (info "(elisp) Regular Expressions")
>
> Then research regular expressions in Emacs.
>
> With Emacs I can process in real time and by watching on screen what
> is happening. I can undo the process if I made a mistake.
>
> You may use any tools. Including you may combine tools.

1. What about use emacs as an IDE to debug perl code?
2. Nowadays, it seems that many packages on cpan cannot be updated in
time like those packages on pypi for python, so I think whether this
means that Perl is obsolete.
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic Vocational and Technical University
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

[Prev in Thread] Current Thread [Next in Thread]