Re: Does natural language skill translate to programming skill?



Am Sun, 11 Mar 2007 11:16:27 +0100 schrieb Joachim Pense:

Am Sun, 11 Mar 2007 17:19:30 +0800 schrieb LEE Sau Dan:

"Aidan" == Aidan Kehoe <kehoea@xxxxxxxxxxxxx> writes:

Aidan> http://en.wikipedia.org/wiki/Larry_Wall . (Larry invented
Aidan> the language; his formal qualifications were in
Aidan> linguistics, but Iʼve never seen a really satisfactory
Aidan> explanation of what aspect of it.)


Well, Perl is my programming language of choice, but I don't really
like Larry's superficial references to "linguistics".

I see. But Perl is the computer language with the ugliest (but
convenient) syntax. It's not context free (of course) nor LALR(1).
It is said that there is so far only 1 implemenation of the parser for
Perl. Nobody is ambitious enough to implement another, because the
grammar is so complicated.


It was designed to be like that. The P in "Perl" doesn't mean
"practical" for nothing.

For comparison, many AI reseach try to process natural language using
LISP or Prolog, whose grammars are so much more regular and simpler
than Perl.

A simple and regular grammar doesn't often make using the language
easier.


And that's why computer scientists just hate Perl. (The same holds for
PL/1, btw. Of course I was fortunate enough to be exposed to _Multics_
PL/1)
.



Relevant Pages

  • Re: Python or PHP?
    ... > every language here and there more ways to do something. ... The best the programmer can do, as you imply, is to ... parse out into proper perl expressions. ... > lists, dictionaries, etc. etc. ...
    (comp.lang.python)
  • Re: Does natural language skill translate to programming skill?
    ... But Perl is the computer language with the ugliest ... Aidan> complete parser for any natural language--and the utility ... many AI reseach try to process natural language ...
    (sci.lang)
  • Re: Native language versions
    ... It is a different language which can be translated ... into perl and can use Perl modules. ... away quite a bit from the OP's notion of just translating perl keywords ... There's probably not much use for a user-accessible programming language ...
    (comp.lang.perl.misc)
  • Re: Wondering if you guys would like to comment on this
    ... >>ever tried using someone's highly customized EMACS setup? ... I've had the same experience with perl that he ... problem with any programming language, perl tends to make it worse ... I have the same rules on LISP programming that I do with perl ...
    (comp.lang.lisp)
  • Re: Why I never got into Lisp
    ... solutions in languages like Perl. ... and what you tried in Lisp, and how Lisp mapped better, for you. ... While this can be done to some extent in any language, ... liked the fact that Ruby, like lisp, seems to have sensible defaults ...
    (comp.lang.lisp)