Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Nexus Programming Language
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam Campbell  
View profile  
 More options Jun 9 2012, 10:45 pm
Newsgroups: comp.lang.misc
From: Adam Campbell <abcampbell...@gmail.com>
Date: Sat, 9 Jun 2012 19:45:43 -0700 (PDT)
Local: Sat, Jun 9 2012 10:45 pm
Subject: Nexus Programming Language
The Nexus programming language version 0.5.0 has been released. It is
an "object-oriented, dynamically-typed, reflective programming
language", drawing from Lua and Ruby. www.nexuslang.org

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BartC  
View profile  
 More options Jun 10 2012, 6:22 am
Newsgroups: comp.lang.misc
From: "BartC" <b...@freeuk.com>
Date: Sun, 10 Jun 2012 11:22:31 +0100
Local: Sun, Jun 10 2012 6:22 am
Subject: Re: Nexus Programming Language

"Adam Campbell" <abcampbell...@gmail.com> wrote in message

news:5372d4ac-92a3-41ba-a966-3ed44e17685f@p13g2000yqk.googlegroups.com...

> The Nexus programming language version 0.5.0 has been released. It is
> an "object-oriented, dynamically-typed, reflective programming
> language", drawing from Lua and Ruby. www.nexuslang.org

It seems very fussy about where the { and } go. So:

while (i<10)
{
 ++i

}

is a syntax error, but:

while (i<10) {
 ++i

}

works. Yet the former style of braces is used for method definitions.  Also,
I can't write {return n} inside an if-statement, but have to split the
braces a certain way. Any special rules apply? The grammar doesn't say
anything about white-space.

(BTW the screen-shot in the Getting Started..Try Me pages suggests for-loops
are written as for (i; 1..n) instead of for (i in 1..n); it doesn't like
that..)

--
Bartc


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nomen Nescio  
View profile  
 More options Jun 10 2012, 2:46 pm
Newsgroups: comp.lang.misc
From: Nomen Nescio <nob...@dizum.com>
Date: Sun, 10 Jun 2012 20:46:45 +0200 (CEST)
Local: Sun, Jun 10 2012 2:46 pm
Subject: Re: Nexus Programming Language

> It seems very fussy about where the { and } go. So:

Tcl does this too. Very frustrating and seemingly pointless.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rugxulo  
View profile  
 More options Jun 11 2012, 12:29 pm
Newsgroups: comp.lang.misc
From: Rugxulo <rugx...@gmail.com>
Date: Mon, 11 Jun 2012 09:29:05 -0700 (PDT)
Local: Mon, Jun 11 2012 12:29 pm
Subject: Re: Nexus Programming Language
Hi,

On Jun 10, 1:46 pm, Nomen Nescio <nob...@dizum.com> wrote:

> > It seems very fussy about where the { and } go. So:

> Tcl does this too. Very frustrating and seemingly pointless.

Welcome to the bracing wars: stylistic arguments, and syntax
woes!   ;-)

I know of two potential reasons for this (besides personal taste):

1). Emacs requires { } to be on separate lines in order to recognize
the functions as functions (for use with certain built-in key
bindings).

2). Google's Go used similar syntax because it wanted to avoid tons of
semicolons as statement terminators (a la BCPL ??), so some
terminators are implied "behind the scenes", hence the syntax
restriction of { on same line as function name.

(I'm probably describing it vaguely incorrectly, but you get the idea.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marco van de Voort  
View profile  
 More options Jun 12 2012, 10:29 am
Newsgroups: comp.lang.misc
From: Marco van de Voort <mar...@toad.stack.nl>
Date: Tue, 12 Jun 2012 14:29:23 +0000 (UTC)
Local: Tues, Jun 12 2012 10:29 am
Subject: Re: Nexus Programming Language
On 2012-06-11, Rugxulo <rugx...@gmail.com> wrote:

>> Tcl does this too. Very frustrating and seemingly pointless.

> Welcome to the bracing wars: stylistic arguments, and syntax
> woes!   ;-)

> I know of two potential reasons for this (besides personal taste):

> 1). Emacs requires { } to be on separate lines in order to recognize
> the functions as functions (for use with certain built-in key
> bindings).
> 2). Google's Go used similar syntax because it wanted to avoid tons of
> semicolons as statement terminators (a la BCPL ??), so some
> terminators are implied "behind the scenes", hence the syntax
> restriction of { on same line as function name.
> (I'm probably describing it vaguely incorrectly, but you get the idea.)

I don't think that is true. You could use the whitespace as separator and
then define whitespace as set of [space,tab,cr,lf].

In general, I think it is simply a leftover of linebased scanning where
linefeeds had meaning. ( vs scanning of a token stream).

It might be that Emacs default parser was linebased. In the case of GO that
is less logical, since it is so new.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Faried Nawaz  
View profile  
 More options Jul 15 2012, 8:38 am
Newsgroups: comp.lang.misc
From: Faried Nawaz <f...@hungry.org>
Date: Sun, 15 Jul 2012 17:38:13 +0500
Local: Sun, Jul 15 2012 8:38 am
Subject: Re: Nexus Programming Language
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/12/2012 07:29 PM, Marco van de Voort wrote:

> It might be that Emacs default parser was linebased. In the case of GO that
> is less logical, since it is so new.

Go didn't start off that way, but the brace change was prompted by the
implicit semicolon feature.  Here's the original proposal:

https://groups.google.com/d/msg/golang-nuts/XuMrWI0Q8uk/kXcBb4W3rH8J

Faried.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlACubQACgkQWVufAqdzMWORLACdHQg56icx9LQQfEeAZpeTKfOK
KJwAnjFq1DuQvZSEGE/mWeIzNytX8vDa
=rFeR
-----END PGP SIGNATURE-----


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »