Nexus Programming Language

Nexus Programming Language

Post by Avata » Mon, 16 Feb 2009 09:43:26


An interesting new programming language appears to be on the
horizon ... Although not officially released there are some
interesting details already published at a seeming in-progress website
(www.nexuslang.org). Seems to be a marriage of the Lua and Ruby
programming languages. Strong influences from both with a few twists
-- strict left-to-right expression evaluation (no operator
precedence), left-to-right assignment.
 
 
 

Nexus Programming Language

Post by Tony » Mon, 16 Feb 2009 18:22:54


Why would no-operator-preference be a good thing? That sounds like a bad
idea as a PL is to make the programmer's job easier, rather than to penalize
the programmer for the sake of the lexer/parser or compiler writer, if that
indeed is the reason. Changing what we learned in elementary school math
does not seem like any kind of improvement.

 
 
 

Nexus Programming Language

Post by James Harr » Tue, 17 Feb 2009 00:45:48


...


...


I know someone who bought a ZX Spectrum years ago. The manual
explained how ZX Basic carried out multiplications and divisions
before additions and subtractions etc. His comment: the computer works
totally different from what we're told at school? I guess you need to
distinguish between what we are taught and what we learn. :-)

I think Nexus' no-precedence would have suited him.

James
 
 
 

Nexus Programming Language

Post by thomas.mer » Tue, 17 Feb 2009 19:28:58


Agree.


I dont think that such an aproach will succeed.

Defining a programming language and writing a lexer/parser is a
compromise between conventions used by humans and technics to
analyze a program automatically. Analyzing expressions with infix
operators with priority and associativity is an easy task. Humans
and computers can do this without problems.

OTOH: When something is complicated to parse by a program it is
probably also hard to understand by a human. Such things must be
investigated in detail before they are included in a language.

Especially technics which claim that they read the mind of the
programmer are suspicious. There are programs that pretend to be
smarter than the user and do some corrections (e.g. spelling)
without being asked to do it.

Most heuristics are not obvious and fail to some degree. In programs
this could introduce bugs.

Complicated algorithms like type inference can involve big parts of
a program and a human must also use the same algorighm and the same
big parts of the program just to determine a type.

Greetings Thomas Mertes

Seed7 Homepage: http://www.yqcomputer.com/
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.
 
 
 

Nexus Programming Language

Post by Avata » Tue, 21 Jul 2009 03:58:32

In the spirit of agile software development practices "release early,
release often" a pre-beta release of the Nexus binaries has been made
available for download. www.nexuslang.org
 
 
 

Nexus Programming Language

Post by Avata » Fri, 08 Jan 2010 21:58:52

In the spirit of agile software development practices "release early,
release often" pre-beta release 0.3.0 of the Nexus binaries has been
made available for download. www.nexuslang.org
 
 
 

Nexus Programming Language

Post by Mike Austi » Mon, 18 Jan 2010 12:16:00


Hmm, in the about section, the only example source is the factorial method. It
would be handy to show lots of examples without having to download the source.

Lua architecture + Ruby design sounds good. :)

Mike
 
 
 

Nexus Programming Language

Post by Avata » Mon, 14 Feb 2011 11:07:22

In the spirit of agile software development practices "release early,
release often" pre-beta release 0.4.0 of the Nexus binaries has been
made available for download. www.nexuslang.org