suggestions for future QB64 - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2) +--- Thread: suggestions for future QB64 (/showthread.php?tid=24) |
RE: suggestions for future QB64 - Pete - 04-27-2022 (04-27-2022, 04:27 PM)Tim Wrote:(04-27-2022, 06:35 AM)admin Wrote: BAS, in this case is QB64 *.bas files. You can find our source files inside the internal/source folder, and internal/c folders, included with all versions of QB64. I don't develop QB64, but I don't see how it could be just QB64 statements. It translates code from QB64 to C/C++, and then uses an open source compiler to compile that code, and runs the program. So without any C/C++, how could it translate, right? I believe to covert to binary would mean translating to ASM or worse, machine code. Anyway, just spit-balling here. I've never really delved into it, but it will be interesting to see if this sparks some conversation from those who have. Pete RE: suggestions for future QB64 - Tim - 04-27-2022 (04-27-2022, 04:38 PM)Pete Wrote:(04-27-2022, 04:27 PM)Tim Wrote:(04-27-2022, 06:35 AM)admin Wrote: BAS, in this case is QB64 *.bas files. You can find our source files inside the internal/source folder, and internal/c folders, included with all versions of QB64. So, it would require a compiler to compile QB64 code directly, then? RE: suggestions for future QB64 - crumpets - 04-28-2022 The only thing I can think of is a fix for the current audio bug on macOS Big Sur and above. I know it has something to do with OpenAL but beyond that idk. RE: suggestions for future QB64 - SMcNeill - 04-28-2022 (04-27-2022, 11:39 PM)Tim Wrote: So, it would require a compiler to compile QB64 code directly, then? I think you misunderstand what QB64 actually is. QB64 isn't a compiler -- we're a translator. We turn BAS code into C code, and then compile that C code with the mingw compilers. If you're ever curious about what the bad looking, machine translated, C code looks like once its translated from your programs, you can always find it in internal/temp, with the largest portion of your code being in main.txt. All QB64 does is translate BAS to C. After that, g++ does the job of compiling that C code into an EXE for us. RE: suggestions for future QB64 - Coolman - 04-28-2022 Code: (Select All) For i = 1 To 10 resultas in the file main.txt : Code: (Select All) S_0:; difficult to understand. it is not directly modifiable. it would be necessary to study the method used by the original author of qb64. well it works, it is the main thing. RE: suggestions for future QB64 - CharlieJV - 04-28-2022 (04-27-2022, 04:38 PM)Pete Wrote:(04-27-2022, 04:27 PM)Tim Wrote:(04-27-2022, 06:35 AM)admin Wrote: BAS, in this case is QB64 *.bas files. You can find our source files inside the internal/source folder, and internal/c folders, included with all versions of QB64. fyi, from Wikipedia: Quote:QB64 was originally compiled with QuickBASIC 4.5. After significant development, Rob Galleon, the developer, became hindered by QuickBASIC's memory limitations and switched to Microsoft Basic PDS 7.1, which solved these problems for a short time.[5] After version 0.63, QB64 was able to compile itself so the conventional memory limitations no longer applied. So it sniffs like QB64 is used, i.e. BASIC code, to create QB64. QB64 compiles itself. How it gets from point A-Z makes for interesting factoid, but that's pretty much it. One doesn't need another language and compiler, in addition to QB64, to compile QB64. A QB64 install, QB64 itself, doesn't need any extras. Well, that's what I'm reading into it. RE: suggestions for future QB64 - bplus - 04-28-2022 I wonder how old your quote is @CharlieJV looks like Wikipedia needs an update, that was probably before the Sdl versions which is before current GL. I don't know, I'm waiting for Steve's "History of QB64" ;-)) RE: suggestions for future QB64 - CharlieJV - 04-28-2022 (04-28-2022, 05:15 PM)bplus Wrote: I wonder how old your quote is @CharlieJV looks like Wikipedia needs an update, that was probably before the Sdl versions which is before current GL. I don't know, I'm waiting for Steve's "History of QB64" ;-)) That's right, hence my vernacular ("it sniffs", as in it smells like it, but I ain't gonna be the one to taste it and make sure.) Ditto: RE: suggestions for future QB64 - bplus - 04-28-2022 Oh that's what sniff means, aha! I was rereading it like crocodile tears because you were insulted or trolled. BTW, a crocodile rock? RE: suggestions for future QB64 - SMcNeill - 04-28-2022 (04-28-2022, 05:15 PM)bplus Wrote: I wonder how old your quote is @CharlieJV looks like Wikipedia needs an update, that was probably before the Sdl versions which is before current GL. I don't know, I'm waiting for Steve's "History of QB64" ;-)) You guys will have to wait a while for me to write that book! I've already got my hands full with everything else already! |