Results 1 to 9 of 9

Thread: Compiler

  1. #1

    Compiler

    Eros--

    Do you have any plan to turn thinbasic into a real compiler ?

    ...

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10
    Ciao Patrice,

    I'm sorry but a compiler is something that is beyond my ability.

    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    Patrice,

    You really should have a peek at OxygenBasic. It creates both 32 and 64 bit binaries. (.exe, .dll and JIT in memory) You would be a valuable asset to the O2 project.

    John
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

  4. #4
    Quote Originally Posted by ErosOlmi View Post
    I'm sorry but a compiler is something that is beyond my ability.

    Something not impossible, if you are also familiar with C/C++ ?


    I am thinking of a code translator, and the real compiler could be the Microsoft CL (Command Line compiler) or any other command line utility.
    For me that would be the only way to create a reliable 64-bit version of PowerBASIC.


    And the use of macro could be part of the solution :
    "then" = "{"
    "else" = "} else {"
    "next" = "}"
    "end if" = "}"
    "end sub" = "}"
    "end function" = "}"
    etc.


    ...
    Last edited by Patrice Terrier; 28-08-2014 at 15:22.

  5. #5
    Patrice,

    You were one of the first PB pros to migrate t0 C/C++. What value do you see in PB syntax that would justify an epic effort to convert it to C/C++? Why would this be better than OxygenBasic? If you can't answer these questions than you may be wasting your time. (and everyone else's)
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

  6. #6
    It is not for me, but for those from the PowerBASIC forum that are relunctant to learn C/C++

    The thinBasic syntax is so close to what they are accustomed to.

    ...
    Last edited by Patrice Terrier; 28-08-2014 at 20:01.

  7. #7
    ThinBasic is an interpreter and a fine one at that. I can't speak for Eros but he has a real life (and family) and TB is a labor of love. Quit ignoring O2!
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

  8. #8
    Easy...Johnny...yie..haaa ....easy...
    Patrick have a good reason to ask about syntax ,o2 in current state is good choice but i am not
    sure that is good enough for compiler development.
    I understand this people...

  9. #9
    1. It's Patrice not Patrick.

    2. Patrice is not trying to create a compiler. His is looking for a BASIC solution to help his PowerBASIC friends out.

    3. Patrice needs to find a graphics forum that speaks the same language as he does. All the cool stuff he does is over 90% of the users heads reading it.

    4. If Patrice finds O2 or any other open source project interesting, he needs to learn how to be a team player.
    Last edited by John Spikowski; 03-09-2014 at 00:23.
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

Similar Threads

  1. thinBasic Compiler
    By John Spikowski in forum General
    Replies: 0
    Last Post: 24-04-2011, 20:12
  2. Which PowerBASIC compiler?
    By Johannes in forum Module SDK (Power Basic version)
    Replies: 3
    Last Post: 06-02-2011, 22:39
  3. Oxygen Compiler Compiler
    By Charles Pegge in forum Programs
    Replies: 11
    Last Post: 17-08-2010, 17:31
  4. O2H Compiler Notes
    By Charles Pegge in forum O2h Compiler
    Replies: 0
    Last Post: 17-03-2009, 14:41
  5. CO2 - proposal for a C like JIT compiler
    By Charles Pegge in forum Machine Code
    Replies: 13
    Last Post: 19-04-2008, 12:15

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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