Hi there, I discovered Nimrod a little over 2 months ago, when reading an article about 10 upcoming programming languages. Nimrod stood out because it wasn't running on top of the JVM unlike many other languages mentioned and the article stated it 'looked like' Pascal and Python. The word Pascal, that got my attention. Why you ask, well Pascal was my first real programming language that I can credit into actually programming something useful way back when.
So I download the 0.9.4 binary for Windows and I wondered, will this work out of the box? Many of these newer languages do not support Windows out of the box, one has to go to hoops and bounds to get things working. But not Nimrod. No problems installing, everything worked out of the box. Uninstalling worked fine too. I was flabbergasted. Finally a project that works out of the box :-)
I use WinXP by the way... Yes I know... I am in the progress of building a new PC and moving to Win7 probably or a newer version. Although I am thinking to install Linux Mint or perhaps Lubunu (which I am already familair with), I like that they are going to use LXQt, which I find a interesting desktop enviroment project.
I have also been following the IRC logs. I noticed that they are a treasure chest of information. So I have seen the talk about the web-installer.
So I just Installed the Windows binary of version 0.9.6.
I check the version I see this:
nimrod --version Nimrod Compiler Version 0.9.6 (2014-10-15) [Windows: i386] Copyright (c) 2006-2014 by Andreas Rumpf
active boot switches: -d:release
Is that supposed to be there that active boot swichthingamajig line?
So I decide to test a simple echo("Hello there").
I compile this with nimrod c -r test.nim and it does not work! The new 0.9.6 binary does not work out of the box as 0.9.4 did.
I get this error message:
c:\program files\nimrod\config\nimrod.cfg(38, 2) Hint: added path: 'C:\Documents and Settings\username\.babel\pkgs\' [Path] Hint: used config file 'C:\Program Files\Nimrod\config\nimrod.cfg' [Conf] Hint: system [Processing] Hint: test [Processing]
The nimcache folder is created and there are only .c files in there.
So I am thinking here that the pathing of 0.9.6 in WinXP is incorrect. No .o files are present and therefore gcc is the file that cannot be found.
I check the pathing. So I notice that with 0.9.6 is that the PATH settings are now placed under the User variables, in version 0.9.4 they were placed under the System variables. It should not matter but I found it surprising.
These are the lines in the path of version 0.9.6: C:\Program Files\Nimrod\bin; C:\Program Files\Nimrod\dist\mingw; C:\Program Files\Nimrod\distbabel
These are the lines in the path of version 0.9.4 C:\Program Files\Nimrod\bin; C:\Program Files\Nimrod\dist\mingw\bin; C:\Program Files\Nimrod\dist
Seems obvious, path for mingw is not correct.
So I manually changed the pathing of mingw from C:\Program Files\Nimrod\dist\mingw to C:\Program Files\Nimrod\dist\mingw\bin and now it all works.
So is this path problem only present in WinXP? or present for all Win versions?
I think the installer needs to be fixed?
So again, on WinXP the 0.9.6. binary installer does not work out of the box.
Be that as it may I want to thank Araq for creating this cool language. I love the syntax everything is so clutter free, lovely. Well I tend to think it is clutter free, I really like it.
The path is set properly now. Compiling from the command line works again out of the box.
However now I have another issue with the fixed installer! When now trying to compile in Aporia (pressing F4) an error window appears with the following text: Error: unhandled exception: The filename, directory name, or volume label syntax is incorrect. [EOS]
Also I noticed that the shortcut for the local docs is not created in the startmenu. It used to be there with the previous installer.
bump!
just writing "bump!" gives this Error: Content not long enough :-(
Oke it seems we are having some babylonian speech confusion.
The 'Content not long enough' error is the forum. The forum does not allow posts if they are too short (WTF). I could not write the word 'bump' so I put a rant about it in that post. But this does not matter. (I am suspecting you did not write the forum).
"You mean the context written three days ago above the bump! Hence the bump."
I am referring to the post ABOVE the bump post, written on THURSDAY 2014-10-30 20:51:06
I am posting that post again:
The path is set properly now. Compiling from the command line works again out of the box.
However now I have another issue with the fixed installer! When now trying to compile in Aporia (pressing F4) an error window appears with the following text: Error: unhandled exception: The filename, directory name, or volume label syntax is incorrect. [EOS]
Also I noticed that the shortcut for the local docs is not created in the startmenu. It used to be there with the previous installer.
The post of thursday is what matters. Two 'issues' with the installer. Just trying to help here.
Perhaps this will help cut through the confusion:
http://www.urbandictionary.com/define.php?term=bump
@Karpax: It's best not to assume that everyone is familiar with such conventions. (It's also worth considering that it's not a good convention.)
@Varriount: Thanks for all the hard work. I will test and post back.
@jibal: Perhaps... but there were two days of crickets, so I bumped the post. It is very common on forums all over the world, even in languages other then English.
I don't think Araq is offended, as far as I can tell he probably would agree with me that when you are offering a binary installer, you are stating our project has a easy less time consuming way of getting started. The days that you need to jump through hoops to get started are really over, that is poor engineering imho. I think Araq would agree with me.
You see I am seeing this in my mind with the issues I adressed: a new user want to try something out, presses F4 in the IDE, crash. This was that users first impression with nimrod. This kind of stuff drives new users away.
@Varriount: Just downloaded again. No not fixed. I see no shortcut in the startmenu item for the local docs and Aporia still shows that strange error window after pressing F4 and crashes.
Only thing different with this installer is one extra rule in the PATH. Now there are 4 path rules first there were only 3.
Oke I will try to check again. Saw the IRC chatter about it. Ditching me for wanting local docs ehh... bunch of online only hipsters ;-) You guys put the option in the installer...
Regarding Aporia. Doubt it is XP, as my first reporting of the path problems with 0.9.6 was copied and pasted from Aporia. So that worked. I pressed F4 and I got the message it could not find the gcc, 'The system cannot find the file specified' this was shown in the console view window.
After that installer got 'fixed' Pressing F4 no longer worked and provided a messagebox appearing with the Error: unhandled exception: The filename, directory name, or volume label syntax is incorrect. [EOS].
So aporia used to work on XP. This older version you posted in this thread ( http://forum.nimrod-lang.org/t/131/2 ) works fine with 0.9.4.
This version you posted in this thread ( http://forum.nimrod-lang.org/t/587 ), gives the same strange error.
And again it wouldn't suprise me if it was XP.
Thanks again for all the work I'll move to another os soon. What was it again Xtra Problems right ... ;-)
And we have a shortcut to the local docs. Oh yeah ;-) Thank you Varriount and Araq :-)
And I installed this time to C:\Nimrod, instead of the old C:\Program Files\Nimrod, and lo and behold Aporia works... WTF windows!
So all is working out of the box again with the installer as it should.
Thank you again.