OT - generic Basic to C translator

General discussion for topics related to the FreeBASIC project or its community.
Locked
John Spikowski
Posts: 453
Joined: Dec 24, 2005 2:32
Location: WA - USA
Contact:

OT - generic Basic to C translator

Post by John Spikowski »

If you have some spare time on your hands and would like to help out with a generic Basic to C translator created by Basic programmers for Basic programmers, your contribution would be welcome.

We are using ScriptBasic to prototype the initial translator with a goal of self translation when it's stable enough. This project is based on using existing Basic to C translator open source, (BCX, QB64 and BaCon) optimize it, correct design flaws and try to address as broad range of Basic variations as possible.

We are aiming for multi-platform and as a foundation that is extensible by Basic users even if C isn't a language you normally develop in.

http://www.allbasic.info/forum/index.php?topic=67.0

This will be my one and only post here about this topic.
Jim Barlow
Posts: 43
Joined: Sep 23, 2005 0:37

Post by Jim Barlow »

QB64's web site states that QB64 outputs C++ code, not C.
John Spikowski
Posts: 453
Joined: Dec 24, 2005 2:32
Location: WA - USA
Contact:

Post by John Spikowski »

Jim,

The idea is to use the best of the three working translators coding concepts and adapt it to ANSI C. Portability of Basic code is the primary focus of this generic Basic translator project. The second most important goal is the ability to expand on the base translator and take it in whatever direction the programmer may want to go. I will try to adapt the open source license for this project to fall under the guidelines of the other projects from where source may be used.

BCX, BaCon and QB64 all did a great job with their variations of Basic and I hope they will benefit from whatever improvements are made with this project.

John
angros47
Posts: 2416
Joined: Jun 21, 2005 19:04

Post by angros47 »

You cannot "use the best of the three working translator"; the code is different, you can't mix it (as you can't mix parts of a steam engine with parts of a diesel engine). If you were a programmer, you'd know it.
John Spikowski
Posts: 453
Joined: Dec 24, 2005 2:32
Location: WA - USA
Contact:

Post by John Spikowski »

I'll take that as just another sour comment from the few bitter forum members that are too scared of their spouses to abuse them.
v1ctor
Site Admin
Posts: 3804
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Post by v1ctor »

John Spikowski wrote:I'll take that as just another sour comment from the few bitter forum members that are too scared of their spouses to abuse them.
Congratulations, John, you have been banned from this forum.

I can't remember the last time i had to do something severe like this.. anyways.


Bye. Good luck with "your" projects..
Locked