RetroBASIC
Offtopic => Offtopic => Topic started by: Tomaaz on September 27, 2016, 10:05:47 PM
-
Nim has been recommended to me by John (ScriptBasic) while we were discussing Pike and I finally decided to try it. I build it from source (in Ubuntu's repository there is still an older version) and the whole process was quick and easy. It seems to be fast and well documented. Has anyone tried Nim?
-
I have tried Nim, too clever for me.
Text based copy in SmallBASIC Code library:
http://smallbasic.sourceforge.net/?q=node/1613
-
Nim has been recommended to me by John (ScriptBasic) while we were discussing Pike and I finally decided to try it. I build it from source (in Ubuntu's repository there is still an older version) and the whole process was quick and easy. It seems to be fast and well documented. Has anyone tried Nim?
There are a bunch of posts on the All BASIC forum about Nim lead by AIR in most cases. I wish he would chime in and say hi.
-
I have tried Nim, too clever for me.
Text based copy in SmallBASIC Code library:
http://smallbasic.sourceforge.net/?q=node/1613
I was referring to the programming language called Nim (http://nim-lang.org/), not the game. ;)
Unfortunately, like with many new/unpopular languages, problems appear when you want to go beyond the core library and use something external. It may be just a matter of time and soon using external library with Nim will be more straightforward, but at the moment it's to problematic (at least for me and on the Linux distro I use).
-
Nim is a translator to C and not a language in itself.
-
Nim is a translator to C and not a language in itself.
Of course, it is a language in itself. I'm really surprised that someone with your experience and knowledge doesn't know the difference between a language (specification, syntax, philosophy behind it) and this language implementation (compiler/interpreter/translator).
-
Heh, I'm surprised you lot took as long as you did to figure that one out. C is not a language! It's just a translator to asm!
-
Heh, I'm surprised you lot took as long as you did to figure that one out. C is not a language! It's just a translator to asm!
;D
-
And ASM is a translator to binary code? 01000111100011100111 ;)
-
Nim is a translator to C and not a language in itself.
Of course, it is a language in itself. I'm really surprised that someone with your experience and knowledge doesn't know the difference between a language (specification, syntax, philosophy behind it) and this language implementation (compiler/interpreter/translator).
I'm surprised you missed my point.
Nim is a translator to C, JavaScript, ... with helper libraries to get that done.
I'm not surprised what you are willing to call a language. The landscape is littered with half baked BASIC attempts.
-
I'm surprised you missed my point.
Nim is a translator to C, JavaScript, ... with helper libraries to get that done.
No, Nim is a language. nim.exe and nim are translators. BaCon is a language. bacon.bash and bacon (compiled bacon.bac) are BASIC to C translators. Tcl is a language, tclsh is a Tcl language interpreter. Python is a language. python is a Python language interpreter and pypy is a Python language JIT compiler.
-
@Tomaaz - Do you consider markdown a language?
C is not a language! It's just a translator to asm!
I don't believe C translates to ASM before generating native machine code.
-
@Tomaaz - Do you consider markdown a language?
Yes. Of course, it's not a programming language.
I don't believe C translates to ASM before generating native machine code.
Doesn't matter. It's still not a language in itself. It's a translator to machine code. ;)
-
@Tomaaz - Do you consider markdown a language?
C is not a language! It's just a translator to asm!
I don't believe C translates to ASM before generating native machine code.
That's implementation dependent. Many C compilers use "as" as a back-end assembler for their final build phase before linking.