Author Topic: Nimrod: An interesting language that might interest you guys  (Read 14480 times)

0 Members and 2 Guests are viewing this topic.

JRS

  • Guest
Re: Nimrod: An interesting language that might interest you guys
« Reply #30 on: September 22, 2013, 03:39:41 PM »
Sorry, I don't have much interest in Nimrod on Windows at this time. OxygenBasic is my preferred compiler on that platform.


kryton9

  • Guest
Re: Nimrod: All BASIC Development forum - SB install
« Reply #31 on: September 22, 2013, 07:57:34 PM »
...Lets assume you unzipped you SB archive in /home/kent/scriptbasic. All you need to do to get scriba to run from anywhere is point your search path to the SB bin directory.
Code: [Select]
export PATH=$PATH:/home/kent/scriptbasic/bin
...You can add these startup commands to your login shell profile once you get settled in.
John

Thanks John, will try it out tonight!

JRS

  • Guest
Re: Nimrod: An interesting language that might interest you guys
« Reply #32 on: September 22, 2013, 08:44:09 PM »
One thing I should mention and will be changed in the next SB 2.2 beta release is the SB include path in the configuration file doesn't work like the module path as relative to where scriba is started from. The include path is relative to where you are not where scriba lives. Once you decide where you are going to install ScriptBasic, edit the SB configuration file and use full paths for the module and include paths.  

Here is my SB startup script I run after opening a terminal window.

Code: [Select]
export PATH=/home/jrs/sb/sb22/bin:$PATH
export SCRIBACONF=/home/jrs/sb/sb22/bin/basic.conf
export UBUNTU_MENUPROXY=0

Note the last entry is because I use the classic shell and not Unity. This prevents a client area size display issue with IUP.

To rebuild your basic.conf file to its binary form, follow these steps.

You can dump the current SB configuration to the screen or file (scriba -D > basic.conf.txt) and edit it in gedit. To convert the text file version of the basic.conf to its binary form, scriba -k basic.conf.txt will create a binary form where ever SCRIBACONF path points to. Just type scriba at the command line for a list of switches.


kryton9

  • Guest
A Peek into Nimrod's Compiler
« Reply #33 on: September 24, 2013, 09:25:27 PM »
Charles and Peter, you guys might be interested in looking at this. It is all about the Nimrod Compiler and hacking it.
http://nimrod-code.org/intern.html

JRS

  • Guest
A Peek into Nimrod's Translator
« Reply #34 on: September 24, 2013, 10:31:06 PM »
Correction: Hacking the Nimrod translator. Nimrod generates C code by default.