Results 1 to 3 of 3

Thread: Oxygen Compiler Downloads

  1. #1

    Oxygen Compiler Downloads

    thinBasic Oxygen Compiler Module

    OxygenBasic is a Just-In-Time compiler assembler, deployed in a single DLL that takes source code strings and returns executable binary. It is an extension of the Oxygen assembler. This implementation can be used with thinBasic to provide high speed functions for time critical operations, that would otherwise be impractical using interpreted code alone. The compiler can also generate conventional executables and dynamic link libraries (DLL).

    OxygenBasic supports Object Oriented Programming with multiple inheritance and also single inheritance modes (more suited to COM). It can also compile & execute strings of source code at run time with its built in compile() function, opening new possibilities for functional programming.

    The built in function set is small. but contains the necessary tools to build class / function libraries to any scale.

    OxygenBasic can interact directly with thinBasic Variables - including User-Defined Types, or it can return values using Subs and Functions like an external DLL.

    In addition to understanding Basic in the QBasic genre, OxygenBasic can read sufficient C syntax to deal with most C headers directly, eliminating the need to translate them.

    Since this is still alpha software, please take reasonable precautions when testing it and ensure that no vital data is exposed unsecured. There are frequent updates of OxygenBasic on this thread & occasionally some of the older examples will break with adjustments to syntax and namespace. But I will endeavour to ensure that all the examples included in work correctly.


    Installing the latest version with thinBasic

    Follow this link for the new thinBasic_Oxygen:

    Oxygen Website and Forum

    For the detached version of Oxygen; latest versions, examples and discussion. Oxygen can now compile 64 bit EXE and DLLs. Many thanks to John Spikowski for creating and sponsoring this site!


    Legacy Version

    The simplest way to deploy the this version of thinBasic_Oxygen.dll is to transfer it into \thinBasic\Lib overwriting the previous version.

    One warning: Some examples which have become obsolete or broken have been removed but may linger in your thinBasic\SampleScripts folder from previous installations. To avoid this you can delete or rename the prior \thinBasic\SampleScripts\Oxygen folder before installing a new thinBasic Beta.
    Attached Files Attached Files
    Last edited by Charles Pegge; 08-01-2014 at 13:56. Reason: Update

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Milan - Italy
    Blog Entries
    Rep Power

    Re: O2H Compiler Download

    Dear Charles,

    thanks a lot for this new fantastic present.
    Syntax is wonderfull and much much easier.
    The way you linked thinBasic script variables to O2 source is so easy.
    I think I can "get" some ideas and port them into thinBasic too.

    It would be nice to use some thinBasic speed test script and rewrite them with O2 to see the difference.
    I will experiment with this so I will get more confidedent with O2.

    For the moment: THANKS
    Eros | |
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3

    Re: O2H Compiler Download

    Thank you Eros,

    I owe much to you and your forum for providing a most friendly habitat, not to mention an excellent platform for developing software and exploring new ideas. And I would be delighted if any of the innovations in Oxygen might also be usefully deployed in thinBasic itself.


Similar Threads

  1. Latest downloads
    By Petr Schreiber in forum M15 file format
    Replies: 3
    Last Post: 10-09-2009, 22:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts