On Jan 2, 2008 11:22 AM, John H. Robinson, IV <[EMAIL PROTECTED]> wrote:
> Chuck Esterbrook wrote:
> >
> > I've created a programming language that could be described as a cross
> > between Python, Eiffel, Objective-C and C#. It runs on Linux, Mac and
> > Windows via Novell Mono or MS .NET.
>
> Does it support # style comments, so we can begin with
> #!/usr/bin/cobra
> ?
Yes. I'm a Unix-like command line junkie.
> On a personal note, COBOL-like whitespace significance is enough to turn
> me off of a language that any other problem it has will prevent me from
> using it.
I'm not familiar with COBOL's whitespace rules. I doubt they're identical.
Cobra simply requires that you indent blocks with one tab or 4 spaces.
Every professional programmer I know indents his code. And every
newbie programmer who writes this:
if (something) {
foo();
bar();
}
...gets schooled as soon as someone sees his code.
> I noticed that the POSIX ``compiler'' just creates a mono object. What
> it the benefit of using the mono object, instead of calling the cobra
> interpreter directly?
mono is just a command line tool that runs .exe's made for the
.NET/Mono VM which is what comes out of Cobra. It's just a wee bit
faster when you already have the .exe.
You can say "cobra myprog.cobra" and forget about the mono "shortcut"
and "exe" if you prefer. Some people think like that. Other people
think about compilation and .exe's. Cobra can operate in both modes.
-Chuck
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg