Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Basic Compiler for Windows and Linux

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Various
View previous topic :: View next topic  
Author Message
TSEYFARTH

Bascom Member



Joined: 01 Jul 2006
Posts: 1042

usa.gif
PostPosted: Wed Aug 18, 2010 2:05 am    Post subject: Basic Compiler for Windows and Linux Reply with quote

Hello all!

I am looking for a compiler, that uses the BASIC language, preferrably one that is not interpreted (need fast), can import or at least use vb6 code as a starting off point, and uses syntax very very similar to VB6.

I want it specifically to work with serial ports, and read/write to a database.

I want to be able to write one app and compile for use in both windows and linux. Compiling twice, once on each target machine is fine - just don't want to have to re-write source code.

Can anyone recommend such a beast?

Thank you
Tim
Back to top
View user's profile
Dave

Bascom Member



Joined: 05 Feb 2005
Posts: 266
Location: McMinnville, OR

blank.gif
PostPosted: Mon Oct 25, 2010 1:29 am    Post subject: Reply with quote

Hi Tim,
Sorry I don't have an answer for you. I hope you find one. I've been looking on and off for years for that very thing.

I'm trying to teach myself Python. It's an interpreter so not so good for you but in does scientific plots well, that's what I'm needing.

Cheers,
Dave
Back to top
View user's profile
TSEYFARTH

Bascom Member



Joined: 01 Jul 2006
Posts: 1042

usa.gif
PostPosted: Mon Oct 25, 2010 2:48 am    Post subject: Reply with quote

Well hello there Dave! Hope you've been well!

I *did* find a couple of cool things since that post. I should have gone back and posted them but did not Embarassed

I found an interpreted product that is really really cool, is so close to VB6 that even though not a clone made me feel right at home. It is also cross platform: KBASIC.COM Although it is iterpreted, it is done pretty much the same way as VB6, compiling to P-Code or Native Code. So it does still have a run-time (a handful of dll files).

A cousin of it is called Q7Basic which is fully compiled - no run time required. It is a top layer for QT using either a GNU C++ compiler for windows or Linux, OR for window, MS C++ compiler. This one is in its beta stage but looks promising! QT is Nokia open source cross platform IDE and compiler. The Q7B product takes BASIC syntax, converts for QT, then gets compiled by the QT engines with its regular compiler (described above). Q7Basic.org


Finally, for Java, I found Jabaco BETA. Jabaco.org

All three use VB6 like syntax. In the case of KB, you can choose a variety of BASIC syntax including really old, VB6, .net and KB.

Take a look.

For database, I have chosen MySQL. Just getting into it using the visual design tools, working from an imported script generated by SQLScriptBuilder from my existing Btreive/Pervasive Database. The MySQL tool is the newest to me but is very very nice to work with so far!

So there you go! Perhaps this will help some others.

Tim
Back to top
View user's profile
Dave

Bascom Member



Joined: 05 Feb 2005
Posts: 266
Location: McMinnville, OR

blank.gif
PostPosted: Mon Oct 25, 2010 1:32 pm    Post subject: Reply with quote

Tim,
Thanks for the info. Q7Basic is a new one for me. I'll take it for a test drive.
Dave
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Various All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum