Re: scripting languages...

2006-04-28 Thread Andrea Venturoli
Gary Kline wrote: Somebody in the UK turned the perl regex stuff into a ch library. IMHO, nobody can touch perl's regex ... so it would be nice to have in the C world. AFAIK regex is going to be in the upcoming C++ standard; for now you can get it with add-on libraries. I guess

Re: scripting languages...

2006-04-28 Thread Arne Skjaerholt
On Thu, 2006-04-27 at 15:34 -0700, Gary Kline wrote: Somebody in the UK turned the perl regex stuff into a ch library. IMHO, nobody can touch perl's regex ... so it would be nice to have in the C world. There are other perl features that would serve if they were

Re: scripting languages...

2006-04-28 Thread Igor Robul
On Fri, Apr 28, 2006 at 03:35:03AM +0200, Arne Skjaerholt wrote: Getting at argv/argc is actually pretty simple in Perl. The global array @ARGV contains the arguments given on the command-line, but not the name of the file (this datum is contained in $0). Therefore your argv[1] in C is

Re: scripting languages...

2006-04-28 Thread Arne Skjaerholt
On Fri, 2006-04-28 at 14:54 +0400, Igor Robul wrote: Except there is one big drawback for me (I'm not Perl-guru :-) ): If there are some file names on command line of perl-script, then perl redirects stdout to read from these files, which makes impossible to read from real stdout. At least

Re: scripting languages...

2006-04-28 Thread cpghost
On Fri, Apr 28, 2006 at 10:51:37AM +0200, Andrea Venturoli wrote: Gary Kline wrote: Somebody in the UK turned the perl regex stuff into a ch library. IMHO, nobody can touch perl's regex ... so it would be nice to have in the C world. AFAIK regex is going to be in the

Re: scripting languages...

2006-04-28 Thread Peter Clutton
On 4/28/06, Gary Kline [EMAIL PROTECTED] wrote: The only thing I recall reading about C# is that it was a DOS/Win C++ ish language. There's more to it than that, and not really DOS, it's a fairly new fully object oriented alternative to languages like Java. Not that it's

Re: scripting languages...

2006-04-27 Thread Alex Zbyslaw
Gary Kline wrote: I am NOT trying to start any kind of flame debate, but would like to know what real advantage perl has over the newer so-called all-in-one language, ch. (Other than the obvious fact that there are literally billions of lines of perl existant.) I don't

Re: scripting languages...

2006-04-27 Thread Gary Kline
On Thu, Apr 27, 2006 at 06:10:43AM +0300, Giorgos Keramidas wrote: On 2006-04-26 19:41, Gary Kline [EMAIL PROTECTED] wrote: Hi People, I am NOT trying to start any kind of flame debate, but would like to know what real advantage perl has over the newer so-called all-in-one language, ch.

Re: scripting languages...

2006-04-27 Thread Giorgos Keramidas
On 2006-04-27 14:48, Gary Kline [EMAIL PROTECTED] wrote: On Thu, Apr 27, 2006 at 06:10:43AM +0300, Giorgos Keramidas wrote: Don't you really mean ``C#'' by writing ``ch''? The only thing I recall reading about C# is that it was a DOS/Win C++ ish language. ch is a C/C++ scripting language

Re: scripting languages...

2006-04-27 Thread Arne Skjaerholt
On Thu, 2006-04-27 at 14:48 -0700, Gary Kline wrote: I like the C main(int argc, char *argv[]) intro or starting-point. main() has to be there in C. Given argc and argv, I can hack away freely. /bin/sh, /bin/csh, and perl's lack if arg[cv] means that I have to think

Re: scripting languages...

2006-04-27 Thread Gary Kline
On Thu, Apr 27, 2006 at 10:21:53AM +0100, Alex Zbyslaw wrote: Gary Kline wrote: I am NOT trying to start any kind of flame debate, but would like to know what real advantage perl has over the newer so-called all-in-one language, ch. (Other than the obvious fact that

Re: scripting languages...

2006-04-27 Thread Gary Kline
On Fri, Apr 28, 2006 at 01:15:34AM +0300, Giorgos Keramidas wrote: On 2006-04-27 14:48, Gary Kline [EMAIL PROTECTED] wrote: On Thu, Apr 27, 2006 at 06:10:43AM +0300, Giorgos Keramidas wrote: Don't you really mean ``C#'' by writing ``ch''? The only thing I recall reading about C# is that

Re: scripting languages...

2006-04-27 Thread Gary Kline
On Fri, Apr 28, 2006 at 03:35:03AM +0200, Arne Skjaerholt wrote: On Thu, 2006-04-27 at 14:48 -0700, Gary Kline wrote: I like the C main(int argc, char *argv[]) intro or starting-point. main() has to be there in C. Given argc and argv, I can hack away freely. /bin/sh,

Re: scripting languages...

2006-04-27 Thread Danny Pansters
To get back to the original question, I think there's one crucial part: libraries. Or modules, or function sets or whatever they're called in [ pick language ] sphere. It's the extra stuff that you can easily add or import which makes a language worth while, whether it's interpreted or not.

Re: scripting languages...

2006-04-27 Thread Giorgos Keramidas
On 2006-04-27 16:58, Gary Kline [EMAIL PROTECTED] wrote: Getting at argv/argc is actually pretty simple in Perl. The global array @ARGV contains the arguments given on the command-line, but not the name of the file (this datum is contained in $0). Therefore your argv[1] in C is $ARGV[0] in

Re: scripting languages...

2006-04-26 Thread Giorgos Keramidas
On 2006-04-26 19:41, Gary Kline [EMAIL PROTECTED] wrote: Hi People, I am NOT trying to start any kind of flame debate, but would like to know what real advantage perl has over the newer so-called all-in-one language, ch. (Other than the obvious fact that there are literally billions of