Qbasicnews.com
freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: General (http://qbasicnews.com/newforum/forum-6.html)
+--- Forum: General/Misc (http://qbasicnews.com/newforum/forum-18.html)
+--- Thread: freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. (/thread-4948.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - ShadowWolf - 11-09-2004

Doesn't allegro have a bunch of macro's i.e. END_OF_MAIN

well anyway allegro would be kick ass to have also getting the winsock header converted would be nice to if it isn't already done.


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Jofers - 11-09-2004

Yeah - it might be beneficial to get the fundamentals complete before you tackle a bunch of game libraries.


Quote:As i said in this same thread, i tried other names, all taken.. [somenamehere]BASIC seems to be really common Tongue
YOU SEE? YOU SEE WHAT I HAVE FRUITLESSLY WARNED YOU ABOUT?? DO YOU? *points*


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - ShadowWolf - 11-09-2004

getting the compiler complete isn't the problem it's the macro's how would you handle somthing like that .

but if you did get it done then you have a cross platform gaming lib for two builds of FB a linux version and a windows version.


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - marzecTM - 11-09-2004

i'll convert the winsock headers, they'll be up at 3:00 approx. will add the example from beej's guide, so nevermind translating this stuff.

btw. see http:/ratatoskr.bad-logic.com/fb/ for freebasic related stuff like the preprocessor (need to write a doc) and the sdlheaders. if you want to use sdl with freebasic you at least need the sdl.dll and sdlmain.lib sdl.lib all available from http://www.libsdl.org

night

edit: just noticed, the winsock.h contains a bunch of defines used as constants plus some macros (SET shit... nargh), i'm really not going into writing them as basic constants by hand, so you'll need to use the preprocessor in order to translate the defines hehe, yeah smells like microsoft politics doesn
t it? hehe... dunno how i should handle the set macros since they involve some pointer stuff to... hm v3c implement pointer arithmetics...


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Nexinarus - 11-09-2004

You would tackle macros by... using macros. If v3ct0r releases FreeBasic without macros I will personally gaurantee i will kick his ass. So theres nothing to worry about.

Im working on porting headers at the moment too, most of my probels at the moment is all C headers are complex as they only work by them including other headers and so on, so you have to take in to consideration 10 other headers just to port one header.


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - ShadowWolf - 11-09-2004

marzecTM i wonder if the Powerbasic community has done a winsock header translation.


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Jofers - 11-09-2004

Powerbasic has some winsock include files in here:

http://www.powerbasic.com/files/pub/pbwin/pbdll16/dns.zip

but they use wee tiny function statements and call integers with "%" in the front, or some other wierd convention I don't understand.

EDIT: There is what seems to be a slightly less muddled, but equally unusable visual basic include here:
http://www.thevbzone.com/modWINSOCK.bas


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - ShadowWolf - 11-09-2004

man the powerbasic code looks a little waked pluse i think it's for win 3.1 api a little dated don't you think.


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - relsoft - 11-09-2004

v1c cool!!!!

BTW, is the inline ASM already implemented?

Guys: Transucency 32-bit style. :*) Still bruteforce and tinyptc. :*)

http://quickhost.qbtk.com/download.php?id=314



Context has been perfect for FB. I can be able to make a highlighter with it editing a built- in highlighter adnd you can make shortcuts with it like:

1. F9 = compile prog
2. F10 = run prog


freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - aetherfox - 11-09-2004

Jeez, this is turning out to be better than i thought!

Whats the headway on that IDE?

And when's the first official release?

And whats going to happen with the website?