Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 23, 2005, 02:03 PM   #1
hotwire132002
macrumors 65816
 
hotwire132002's Avatar
 
Join Date: Jan 2004
Location: Cadillac, MI
Send a message via AIM to hotwire132002 Send a message via MSN to hotwire132002
QBASIC/BASIC Compiler for OS X?

I'm looking for a BASIC compiler for Mac OS X. I'm thinking maybe there's something that I could run in Terminal?

I don't need to do anything graphical, just basic BASIC, and I don't much feel like learning the differences in RealBASIC (or paying for an expensive compiler.)

The reason I want to use BASIC rather than C++ or something similar is that I am quite experienced with BASIC and would rather not learn a new language.

Any ideas? Thanks in advance!
hotwire132002 is offline   0 Reply With Quote
Old Feb 23, 2005, 03:59 PM   #2
bousozoku
Moderator emeritus
 
Join Date: Jun 2002
Location: Gone but not forgotten.
There are a couple others, but you have to pay for them.

There isn't exactly a good reason for anyone to develop a BASIC product (read compiler/interpreter) anymore.
bousozoku is offline   0 Reply With Quote
Old Feb 23, 2005, 04:14 PM   #3
hotwire132002
Thread Starter
macrumors 65816
 
hotwire132002's Avatar
 
Join Date: Jan 2004
Location: Cadillac, MI
Send a message via AIM to hotwire132002 Send a message via MSN to hotwire132002
Quote:
Originally Posted by bousozoku
There are a couple others, but you have to pay for them.

There isn't exactly a good reason for anyone to develop a BASIC product (read compiler/interpreter) anymore.
I can understand that, since the language is quite dated.

I ended up downloading a DOS emulator, and running QBasic on top of that. It works well.
hotwire132002 is offline   0 Reply With Quote
Old Feb 23, 2005, 04:15 PM   #4
Simon Liquid
macrumors regular
 
Join Date: Jul 2001
Location: Iowa
Send a message via AIM to Simon Liquid
Well, there're Chipmunk Basic and Metal Basic which are both free. I tried them a few years back and they've both seen several updates since so I'd rather not comment on their relative merits. In any case, I wasn't looking for a computer style programming language, just something I could program like my TI calculator.

If you just want a command line implementation, you might try one for Linux that can be or has been compiled on a Mac. One place to look would be sourceforge.net, home of many open source projects. A quick search shows one result here that, while there's no ready built package for Mac, seems like it should be buildable on any UNIX.

Good luck.
Simon Liquid is offline   0 Reply With Quote
Old Oct 9, 2005, 02:16 PM   #5
sushi
Moderator emeritus
 
sushi's Avatar
 
Join Date: Jul 2002
Location: キャンプスワンピー [Japan]
Quote:
Originally Posted by bousozoku
There are a couple others, but you have to pay for them.

There isn't exactly a good reason for anyone to develop a BASIC product (read compiler/interpreter) anymore.
Why? I would suggest that all depends on what you are developing.

C++, VB and others create huge files and are rather involved.

For a small tight app, BASIC is fine. Also good for teaching top down design and linear programming.

Just like FORTH, Ada, COBOL, FORTRAN, etc.

Each language has it's place -- even good ole assembly.

Speaking of which, one of my favorite Word Processors is written in assembly. Considering that it does page layout type tasks, still works in Classic today, and was last updated in 1996, that isn't bad. It comes on 4 floppy disks of which 2 are the dictionary and thesaurus.

Of course, if you really want to hit the 1's and 0's, you can always do object oriented programming with assembly.

Sure there are high level development tools which make developing more easy by simplifying the process. I'm not against those at all. Just think that older proven languages have their place as well.

Sushi
sushi is offline   0 Reply With Quote
Old Aug 20, 2011, 07:02 PM   #6
chainprayer
macrumors 6502a
 
Join Date: Feb 2008
Send a message via AIM to chainprayer
im actually quite happy to find a BASIC compiler for mac. although it may not be something that is used much anymore, i know the language quite well and can use it to write some quick programs to perform quick calculations and scenarios for my personal work use.
__________________
ViralPixel.net
chainprayer is offline   0 Reply With Quote
Old Aug 21, 2011, 12:08 PM   #7
robvas
macrumors 68000
 
Join Date: Mar 2009
Location: USA
Quote:
Originally Posted by chainprayer View Post
im actually quite happy to find a BASIC compiler for mac. although it may not be something that is used much anymore, i know the language quite well and can use it to write some quick programs to perform quick calculations and scenarios for my personal work use.
Give Ruby a shot for what you used to do in BASIC. It's pretty neat.

http://tryruby.org/

You can also type 'irb' into a Terminal session on your Mac.
robvas is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Where is my gcc and g++ compiler sysProgrammer Mac Programming 10 Nov 24, 2013 07:47 PM
LLVM-GCC Compiler issues rchaud10 iPhone/iPad Programming 1 Jun 12, 2013 01:12 PM
Free note app with basic formatting basic HTML Subu iPhone and iPod touch Apps 0 Mar 1, 2013 04:44 AM
Assembly Compiler/IDE SuperMiguel Mac Programming 7 Jun 23, 2012 06:36 PM
Broken C compiler dancks Mac Programming 2 Jun 15, 2012 04:04 PM

Forum Jump

All times are GMT -5. The time now is 08:54 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC