Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Zonnon

Name: Anonymous 2015-02-03 18:15

Name: Anonymous 2015-02-03 18:25

Zonnon offers a new computing model based on active objects with their interaction
defined by syntax controlled dialogs. It also intr
oduces new features includ
ing operator overloading,
indexers and exception handling

Name: Anonymous 2015-02-03 18:57

>>2
how well does it copy with kopipe?

Name: Anonymous 2015-02-03 19:00

>>3
how well does it copy with copypasta?

FTFY.

Name: Anonymous 2015-02-03 19:05

>>4
What sort of value do you believe you just added to this thread?

Name: Anonymous 2015-02-03 19:55

>>5
I've cleaned an ugly weeaboo word from it.

Name: Anonymous 2015-02-03 21:21

>>6
You must be very proud of your life, spending your time on /prog/ correcting weeaboos.

Name: Anonymous 2015-02-03 21:41

static typing
instant fail.

Name: Anonymous 2015-02-03 21:42

ETH Zurich

unsurprisingly these fascists can only love BDSM languages. Ever heard of a dynamic programming language coming out of Germany?

Name: Anonymous 2015-02-03 21:44

- Object is a self-contained run-time program component. It can be instantiated dynamically under program control in arbitrary multiplicity.

- Module can be considered as a singleton object whose creation is controlled by the system. In addition, a module may act as a container of logically connected abstract data types, operators, and structural units of the runtime environment. In combination with the import relation, the module construct is a powerful system structuring tool.

- Definition is an abstract view on an object (or on a module) from a certain perspective. It is a facet of the object or, in other words, an abstract presentation of one or more of its services.

- Implementation typically provides a possibly partial default implementation of the corresponding definition. It is a unit of reuse and composition that is aggregated into the state space of an object (or module), either at compile time or at runtime.

Name: Anonymous 2015-02-03 21:48

>>9

Ever heard of an american knowing basic level geography?

Name: Anonymous 2015-02-03 22:49

>>8,9

Lol'd at unityped illiterates.

Name: Anonymous 2015-02-03 22:50

So what are the differences vs SML, for example?

Name: Anonymous 2015-02-04 0:30

>>12
typewriters are out of date.

Name: Anonymous 2015-02-04 7:19

>>14
Have you read your TAPL today?

Name: Anonymous 2015-02-04 7:58

7.1 The Assignment Statement

No, thank you.

Name: Anonymous 2015-02-04 8:24

Look at all the nested ifs in chapter 17. These retards really need to get a clue about Monads and MonadPlusses.

Name: Anonymous 2015-02-04 13:26

>>17
Email them suggesting that, so we can possibly have Monads and MonadPlusses on Zonnon's next version.

Name: Anonymous 2015-02-04 13:29

>>18
If the only way to implement 'em is at the language level, then it's a damn shitty language.
If, however, they can be implemented via a library, then it's just developer incompetency and low level of education on their part; and no email will change that.

Name: Anonymous 2015-02-05 1:56

>>15
I have no need for Typing Another Page Length. I sit in front of my computer and it knows what to create from my presence.

Name: Anonymous 2015-02-05 13:47

>>20
How's tomorrow's homework doing? Better close the internet and finish it before dinner or mom's gonna be angry at you, kid.

Name: Anonymous 2015-02-06 18:53

There is nothing new under the sun.

Have you seen Algol 68? As you might imagine, it's an Algol variant that came out in 1968. (Which makes it older than I am.) It begat Pascal, Modula, Oberon etc and is a cousin of C. (I think it's Lua's uncle.) There's a good Wikipedia page:

http://en.wikipedia.org/wiki/ALGOL_68

It's a bit scary. It looks *just like a modern programming language*. It's got C-like types (although to be more accurate, C has Algol-68-like types). It's got user defined polymorphic perators (with user defined precedence). Keywords and identifiers occupy different namespaces. Identifiers can contain spaces! It's got block expressions. It's got OCCAM-like concurrency (there's a par keyword for running processes in parallel and built-in support for namespaces). You can use values before you define them! Most syntax elements have a short form and a long form, where the short form is designed for single statements and the long form for multiline statements.

Example:

# create a new type, 'vector', of an array of reals indexed 1..3 #
mode vector = [1:3] real;

# now create a matrix type similarly #
mode matrix = [1:3, 1:3] real;

# create some vectors #
vector v1 := (1, 2, 3);
vector v2 := (2, 3, 4);

# create an operator that works on vectors #
op + = (vector a, b) vector:
begin
vector out;
for i from lwb a to upb a do
out[i] := a[i] + b[i];
od;
out # value of last expression in block is value of block #
end

# define a matrix from our vectors
matrix m := (v1, v2, v1+v2);

# get a reference to one of the rows of the matrix
ref vector horizontal = m[2,];

# get a reference to one of the columns of the matrix
ref vector vertical = m[,2];


There are a few features I haven't seen anywhere else, such as the universal loop construct which replaces both for...next and while...end, which I've never seen anywhere else:

# loop in 'for' mode
for i from 1 to 10 do print(i) od

# ...and in 'while' mode
while i < 10 do print(i); i := i + 1; od

# ...and in both!
for i from 1 to 10 while checkWhetherCancelled() do print(i) od

# ...just loop, no counter!
to 10 do print("Ten times!") od

# ...minimum syntax
do print("Loop forever") od

# ...maximum syntax
for i from 1 by 1 to 10 while checkWhetherCancelled() do print(i) od


Algol-68 has some particularly interesting pointer semantics, nicer than
C's IMO. This:

int i;

...is actually sugar for:

ref int i = loc int;

'loc int' is an expression that returns a new integer stored on the
stack. (You can also say 'heap int' to create a new integer stored on
the heap.) 'ref int' creates a pointer to an int. In other words, all
variables are actually pointers. Unlike C, Algol-68 has distinct
operations that work on the pointer and operations that work on the
value; most operators will implicitly dereference their operands. If you
want to, say, compare two references to see whether they're pointing at
the same thing, there is a specific 'a is b' operator for doing so.

Personally I think this is much more consistent and less ugly than C
(and Go's) approach, where you have to know whether you're dealing with
a pointer or a scalar before you can deal with it; but for some reason
it's not a concept that seems to have taken off.

...

So, to get back to the point: Go vs Algol-68. TBH, I think the
41-year-old language is richer, clearer and more expressive. It's
certainly missing some features, like any form of object orientation,
polymorphic functions, but the overall design is much more consistent
and well thought-out.

In 1968 Neil Armstrong was still pootling about in orbit and integrated circuits were rockets science. Why am I able to compare a language from this era with a contemporary one on an equal basis? Because, depressingly, state-of-the-art in programming languages hasn't moved much in those 41 years.

I think that it's entirely plausible that if someone were to take the Algol-68 spec, redraft it in modern terminology (types instead of modes, names instead of variables, etc), update some of the odder areas such as transput, give it a catchy Web-2.0 name and produce a decent compiler for it, then it would be heralded as the next great development in programming languages. Which is kind of depressing...

Name: Anonymous 2015-02-06 21:16

>>22
Is this kopipe from a blog post on Go? Because it seems to ignore everything about functional languages ever.

Name: Anonymous 2015-02-07 0:01

>>23
Types are shit. Functional languages are shit. Only imperative or multi-paradigm languages aren't shit.

Name: Anonymous 2015-02-07 9:41

>>24
Citation needed! IHNBT!

Name: Anonymous 2015-02-08 18:03

>>23
No, it's a copypasta from a blog post on Go.

Name: Anonymous 2015-02-08 18:09

>>26
How old are you, kid? 12? 13? Here's some advice: stop shitposting and forget about this textboard. And any other internet forums. It will do you a lot of good in the long run.

Name: Anonymous 2015-02-08 18:10

>>27
This is obviously spam.

Name: Anonymous 2015-02-08 18:12

>>28
How old are you, kid? 12? 13? Here's some advice: stop shitposting and forget about this textboard. And any other internet forums. It will do you a lot of good in the long run.

Name: Anonymous 2015-02-09 0:04

>>24
Enjoy your buggy state machines that waste precious cycles checking the integrity of unstable memory cells.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List