language bindings are in ubuntu 10.04 repository with examples

3 views
Skip to first unread message

Steve Bush

unread,
Jun 30, 2011, 1:20:18 PM6/30/11
to Exodus Users
http://devwiki.neosys.com/index.php/Installing_on_Ubuntu_10.04_LTS_from_repository

Fr hard core basic programmers without any particular attachment to
any other language, python feels the closest to BASIC by far. Its lack
of the curly brackets essential in most other languages clinches that.

The bindings (with the exception of python and c++) have a rather
clunky syntax in this first release - but this this will be solved
very shortly. Mostly the problem is that native language strings and
variables cannot be supplied as the arguments of exodus functions.
Currently you have to pass exodus variables as exodus function
arguments.

I will be making sure that, to the degree possible in each language,
that exodus variables and functions work seamlessly with native
variables and functions.

I will also be doing my best in each language to ensure that built in
operators work in the pick mentality with . Above all this means that a
+b will perform mathematical function always and throw "non-numeric"
runtime error if necessary. I will be hijacking the ^ operator where
possible to perform concatenation.

I believe there is a slowly growing acceptance that overloading
operators (famously "+" to perform concatenation) was a disaster in
dynamically typed languages. python is one of the worst with its
concept that a*b can mean string replication IF "a" happens at runtime
to contain a string and "b" contains a number.

Ashley Chapman

unread,
Jun 30, 2011, 1:58:02 PM6/30/11
to exodus...@googlegroups.com
On 30 June 2011 18:20, Steve Bush <neosy...@gmail.com> wrote:
> http://devwiki.neosys.com/index.php/Installing_on_Ubuntu_10.04_LTS_from_repository
>
> Fr hard core basic programmers without any particular attachment to
> any other language, python feels the closest to BASIC by far. Its lack
> of the curly brackets essential in most other languages clinches that.

Yes. A bit of a shame that JavaScript is THE language for
web-browsers. Hence my focus on that. Some sort of Python would have
been better IMHO.

>
> The bindings (with the exception of python and c++) have a rather
> clunky syntax in this first release - but this this will be solved
> very shortly. Mostly the problem is that native language strings and
> variables cannot be supplied as the arguments of exodus functions.
> Currently you have to pass exodus variables as exodus function
> arguments.
>
> I will be making sure that, to the degree possible in each language,
> that exodus variables and functions work seamlessly with native
> variables and functions.
>
> I will also be doing my best in each language to ensure that built in
> operators work in the pick mentality with . Above all this means that a
> +b will perform mathematical function always and throw "non-numeric"
> runtime error if necessary. I will be hijacking the ^ operator where
> possible to perform concatenation.

Sounds like a good plan.

>
> I believe there is a slowly growing acceptance that overloading
> operators (famously "+" to perform concatenation) was a disaster in
> dynamically typed languages. python is one of the worst with its
> concept that a*b can mean string replication IF "a" happens at runtime
> to contain a string and "b" contains a number.

Exactly. Drives me nuts! ;-)

Ashley

jthompson333

unread,
Jul 5, 2011, 11:52:00 AM7/5/11
to Exodus Users
Not that I've ever used python...

I've used php some, and some old time "Pickies" that have used it say
its similar because its a "typeless" language, and some of the
features in it are similar, even if it does use the squirley braces.

On Jun 30, 1:58 pm, Ashley Chapman <ashley.chap...@billabong-
services.co.uk> wrote:
> On 30 June 2011 18:20, Steve Bush <neosys....@gmail.com> wrote:
>
> >http://devwiki.neosys.com/index.php/Installing_on_Ubuntu_10.04_LTS_fr...

Steve Bush

unread,
Jul 5, 2011, 12:45:09 PM7/5/11
to exodus...@googlegroups.com
php is VERY similar to pick in a number of other ways that most languages get completely wrong IMO. overall its math and logical operators are, unlike most languages, sane and sensible like pick. eg "2.0" is equal to "2" etc

and php has a proper concatenation operator, rather surprisingly the humble full stop. $a.$b means "convert any numbers to strings and concatenate" which is identical to pick!

logical comparison and math on strings - like pick it tries to convert them to numbers. if the string is not numeric, sadly i think the default is to use zero and carry on although i think there is an option to tell php to abort on non-numeric.

pick programmers would adapt to php very quickly
--
You received this message because you are subscribed to the Google Groups "Exodus Users" group.
To post to this group, send email to exodus...@googlegroups.com.
To unsubscribe from this group, send email to exodus-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/exodus-users?hl=en.


Reply all
Reply to author
Forward
0 new messages