PDA

View Full Version : BASIC Compilers


KrisDwyer
July 28th, 2005, 05:39 AM
Hey, just wondering, if you know of any BASIC Compilers for Ubuntu...

celloandy
July 28th, 2005, 06:54 AM
There are several. I'm not a BASIC programmer (or at least I haven't been since I was in middle school), so I can't evaluate how good these are, but there are several Basic interpreters and/or compilers in Ubuntu's apt repositories. The most sophisticated is probably Gambas, which seems to be some sort of VB-like object oriented basic language, but there are a whole bunch of others. A quick search for "basic" turned up bwbasic and ybasic, among others, and both of those seem to be basic interpreters. Give those a try.

Andrew

(As an aside, I'm not sure why you want this. For real projects, use a more powerful language, and as a language with which to learn to programming, consider something newer. Python is, in my opinion, a good beginner's language [not to suggest that it's not very powerful], and doesn't teach crap habits like using "goto" statements for controlling program flow.)

KrisDwyer
July 28th, 2005, 07:28 AM
There are several. I'm not a BASIC programmer (or at least I haven't been since I was in middle school), so I can't evaluate how good these are, but there are several Basic interpreters and/or compilers in Ubuntu's apt repositories. The most sophisticated is probably Gambas, which seems to be some sort of VB-like object oriented basic language, but there are a whole bunch of others. A quick search for "basic" turned up bwbasic and ybasic, among others, and both of those seem to be basic interpreters. Give those a try.

Andrew

(As an aside, I'm not sure why you want this. For real projects, use a more powerful language, and as a language with which to learn to programming, consider something newer. Python is, in my opinion, a good beginner's language [not to suggest that it's not very powerful], and doesn't teach crap habits like using "goto" statements for controlling program flow.)
ok in that case can you please link me to python tutorials and tell me how to install a python compiler?

Thanks,
Kris

celloandy
July 28th, 2005, 05:48 PM
The Python website lists a whole bunch of tutorials for non-programmers at http://wiki.python.org/moin/BeginnersGuide/NonProgrammers. Also, Python is an interpreted language, not a compiled one, so there isn't a compiler, per se, but the python interpreter is already installed on Ubuntu systems. Type "python" at the command line to start the interactive shell.

Andrew