Author Topic: Making Oxygen  (Read 11880 times)

0 Members and 3 Guests are viewing this topic.

Charles Pegge

  • Guest
Re: Making Oxygen
« Reply #15 on: September 18, 2013, 01:18:10 PM »
From FB, I think it will have to be manually coded ,as Patrice did with his PB-based libraries. An automated translation would cause too many cryptic bugs.

The trivial stuff like curly braces and semicolons could be automated quite easily though.

JRS

  • Guest
Re: Making Oxygen
« Reply #16 on: September 18, 2013, 01:34:54 PM »
I think the smart way is to use Daniel's tool to convert BaCon to C. You have a working model to use as a guide. That could then be the gold standard for a traditional BASIC to ANSI/C tranlator. Variations could be derived from that. The biggest obstacle I see is a efficient memory/string manager. Is multi-threading a feature that should be considered for a BASIC to C translator?  

Trying to convert the O2 compiler to C++ is unrealistic IMHO.

« Last Edit: September 18, 2013, 02:52:44 PM by John »