Results 1 to 1 of 1

Thread: Oxygen like module but with the same thinbasic functions syntax

  1. #1

    Oxygen like module but with the same thinbasic functions syntax

    just wondering if it is possible this thinbasic scenario:

    dim v(1000000) as double
    #call superMOde
    'same thinbasic functions syntax
    for i=1 to 1000000
    v(i)= 0.4+sin(i)*....etc
    #End superMode
    now provide v(..) array for tbgl or opengl for display
    end function

    i mean by the superMode is a super.DLL tiny compiler made using powerbasic compiler and contains only part of the thinbasic normal functions , basically the math and iterations functions.
    i say that because i see oxygen compiler can be called from thinbasic, so what prevents if the tiny compiler are made from powerbasic and its functions names and method are the same as normal thinbasic, i say that because in this way we stay in the same environment of thinbasic, we just add #begin superMode before clark wear his nice clothes as a superman to help luis and after doing his job we write #End superMode and then superman returns and wear again the clark clothes.
    i am sure powerbasic can be used to the end of time even its dev stopped, since all programming languages are made from 0,1 and 0,1 will never be deprecated. it is only the existence of people like Lex Luthor who don't contribute to anything but their only job is just like worms making holes in a wonderful texture

    Edit:this suggested Hyprid thinbasic (interpreter + compiler) could be commercial while the usual thinbasic could stay as freeware, i think the Hyprid thinbasic will appeal to many users, since thinbasic contains much more than the compiler it is made from (tricks and many golden eggs etc). i don't know the legal issues of the question: can we make compiler from another commercial complier ? this needs a law expert advice.
    Last edited by primo; 16-11-2015 at 16:10. Reason: adding more suggestions at the end of the post

Similar Threads

  1. Oxygen can call thinBasic functions
    By Charles Pegge in forum O2h Compiler
    Replies: 9
    Last Post: 18-07-2013, 22:40
  2. String format of Oxygen dll functions
    By MouseTrap in forum O2 JIT Compiler / Assembler / Oxygen project
    Replies: 11
    Last Post: 28-09-2009, 19:50
  3. Using Oxygen subs and functions in thinBasic
    By Charles Pegge in forum O2h Compiler
    Replies: 0
    Last Post: 18-03-2009, 13:25
  4. Oxygen and Basic syntax
    By ErosOlmi in forum Legacy
    Replies: 20
    Last Post: 24-09-2008, 08:59

Posting Permissions

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