News for hackers. Stuff that matters.
Re:Nimrod: The Return of Pascal by mojuba on Monday September 02, 2013 @06:14PM (#6317481)
Simple and great idea that's been in my mind for at least a decade now (seriously): just give us Pascal sets and ranges with Python-like super-minimalist syntax and all the other sugar and fructose of modern languages. And, if you can, some sort of unification of functions and classes, JavaScript-style.

Nimrod is quite close, though probably not exactly there (yet).

Anyway, there are two kinds of programmers: those who build compilers and those who start writing ones but never finish.

Re:Nimrod: The Return of Pascal by saejox on Monday September 02, 2013 @06:38PM (#6317591)
Possibly the best compile to C language. Easy to setup, fast, feature rich, works nice with C and best part: configurable GC.

One thing i don't like tho: Case insensitivity. I write many in many languages, all but Nimrod are case sensitive. Lot's of 'already defined' errors. There is nice discussion about it here: https://github.com/Araq/Nimrod/issues/521

Re:Nimrod: The Return of Pascal by jk4930 on Monday September 02, 2013 @07:11PM (#6317729)
Ada (Pascal-inspired) was designed to be a language that's safe against (mediocre) programmers. And it's case-insensitive. Note that Ada is especially made for reliable systems and they really look for error sources. Case sensitivity didn't show up as a problem, so they didn't have to change it in any later version (Ada 2012 now).
Re:Nimrod: The Return of Pascal by dom96 on Monday September 02, 2013 @06:54PM (#6317669)
In my experience case insensitivity is very rarely a problem. It's convenient once you get used to it.

> Lot's of 'already defined' errors.

That's false, or at least an exaggeration.

Re:Nimrod: The Return of Pascal by cafard on Tuesday September 03, 2013 @09:07AM (#6320658)
I'm not sure that Thompson and Ritchie really did the world a favor with case-sensitive identifiers. I write a fair bit of PL/SQL, and don't mind the narrower range.
Re:Nimrod: The Return of Pascal by amarsahinovic on Monday September 02, 2013 @05:05PM (#6317191)
A recent discussion which includes Nimrod benchmark, for those who are interested: https://news.ycombinator.com/item?id=6263173
Re:Nimrod: The Return of Pascal by hcarvalhoalves on Monday September 02, 2013 @11:37PM (#6318660)
Pascal was (is?) a great language, never had trouble hacking and figuring out Pascal/Delphi code, even code clearly written by below-average programmers. I don't think many languages pass this litmus test.

Also interesting is looking at old Pascal code and seeing how it stood the test of time. I had a lot of fun reading the Photoshop v1 source [1]

[1] http://computerhistory.org/atchm/adobe-photoshop-source-code...

Re:Nimrod: The Return of Pascal by nnq on Tuesday September 03, 2013 @01:58AM (#6319257)
How come nobody comments about this feature of Nimrod:

> a powerful (AST based, hygienic) macro system

...and I can't find any easy to digest example of it? I know, macros are "evil" and shouldn't be overused and this is not Lisp and all, but it actually seems like a potential killer feature for a language targeting the C/Rust/Go niche.

Re:Nimrod: The Return of Pascal by lobster_johnson on Tuesday September 03, 2013 @07:41AM (#6320326)
Easy enough if you go to the Nimrod site and look at the documentation:

http://nimrod-code.org/tut2.html#macros

http://nimrod-code.org/manual.html#macros

Note that Nimrod also has templates, which also uses AST-based macro expansion.

Re:Nimrod: The Return of Pascal by kibwen on Tuesday September 03, 2013 @08:36AM (#6320516)
Hygienic AST-based macros are starting to surface in quite a few non-sexpr languages. Rust has them, and IIRC Elixir does too. It's an exciting trend.
Re:Nimrod: The Return of Pascal by ret on Monday September 02, 2013 @04:24PM (#6316993)
Looks like Algol68 with some OOP.
Re:Nimrod: The Return of Pascal by coolsunglasses on Monday September 02, 2013 @04:40PM (#6317087)
Looks like Golang but cleaned up and with generics added in.

Maybe it's a bird, maybe it's a plane, maybe it's Superman.

Re:Nimrod: The Return of Pascal by pekk on Monday September 02, 2013 @07:42PM (#6317846)
In other words, Python
Re:Nimrod: The Return of Pascal by stewbrew on Tuesday September 03, 2013 @03:49AM (#6319608)
Looks like a nice language. The warning of "Caution: This section is already outdated! XXX" in the language manual makes me wonder though whether it's ready to use.
Re:Nimrod: The Return of Pascal by mkr-hn on Tuesday September 03, 2013 @09:10AM (#6320679)
I used to frequent a bookstore whose owner loved Pascal. He didn't like it when people pronounced it the way it looks.
Re:Nimrod: The Return of Pascal by reirob on Tuesday September 03, 2013 @03:29AM (#6319530)
I like the syntax, maybe because my first productive language was Pascal.

Does Nimrod support Unicode?

Re:Nimrod: The Return of Pascal by dom96 on Tuesday September 03, 2013 @11:24AM (#6321450)
Yes, it does. In strings and for var/proc names.