Dark Bit Factory & Gravity

PROGRAMMING => Other languages => Yabasic => Topic started by: rain_storm on June 10, 2008

Title: Yabasic 3
Post by: rain_storm on June 10, 2008
I just discovered that there are plans underway to release yabasic version 3.0

  http://forum.basicprogramming.org/index.php?topic=239.0

I have already asked that on that forum for support of the ps2yabasic version. I will be keeping a close eye on this one
Title: Re: Yabasic 3
Post by: Shockwave on June 10, 2008
Great that it is still being developed, sadly I cant see anything in that thread about sound support though. It would be cool if Yabasic had the capacity to play sound effects :)
Title: Re: Yabasic 3
Post by: Jim on June 10, 2008
Since I (and Pieter Bas-iJdens) wrote win32yabasic, Sony wrote ps2yabasic, I suspect there's no way Marcus can do anything to make yabasic compatible with either of these - what did you ask for Rain?

I've always been able to add features to win32yabasic but my ultimate aim was only ever to make a perfect PC emulation of the yabasic in the PS2's demo disk.

Jim
Title: Re: Yabasic 3
Post by: rain_storm on June 10, 2008
There are two programmers working as a team on this project they are building the parser themselves so I would imagine that anything they dont have the source code for they will also code themselves.
I suggested that they add in gourad shading / double buffering ps2yabasic style. Its only a few commands that are not cross compatible. gtriangle, setrgb, setdispbuf, setdrawbuf and peek("port1/2") so if only these commands are included it will 90%-100% supported.
The admin over there agrees that this is a great idea. but the developers havent got back yet. I have my hopes built up about this I know I shouldnt but I do hope that they add support for ps2yabasic. Of course it would no longer be ps2yabasic (but it will be to me). I guese I just have to wait and see.
Title: Re: Yabasic 3
Post by: Jim on June 11, 2008
That's a great idea, and much cleverer than the possibilities I was considering!
Good luck!

Jim
Title: Re: Yabasic 3
Post by: bikemadness on June 11, 2008
I've known about this site for a while, and I let them know about Jims emulator and this site. They're fine with it.
Their yabasic uses things like, draw and col.


Title: Re: Yabasic 3
Post by: rain_storm on June 11, 2008
Anywhere where there are people keeping yabasic alive is worth a visit. I havent tried there version yet though, but they do mention jims emulator in some threads so thanks for informing them of that. I would imagine that people over there are happy to see this place still has some yabasic guys too, just like Im happy to see that place alive and well.
Title: Re: Yabasic 3
Post by: rain_storm on June 29, 2008
 features that are planned for inclusion for yabasic 3 -

 0] structures (they will have a trailling # in the name)
 1] functions as variables
 2] infinit loops that are not a do ... loop will raise an error
 3] local variables for loops
 4] new way to step through numbers in a for loop
 5] for loop's internal information made avaiable
 6] gosub can call function variables

structures are going to come in useful. No release date yet. Just be patient
Title: Re: Yabasic 3
Post by: rain_storm on July 05, 2008
Just a little update here the parser is nearly complete and when its done the real work can begin. At the moment the parser is roughly 80% complete. as for the interpreter here are some new things that are planned to be included -

 to access a variable inside a struct you need to use a point (.)
 to know to struct a variable belongs you can compare it with == like you compare numbers
 C-style comment blocks (comment blocks that may span more than one line)

the developers aim to address many issues I had with the other versions of Yabasic mainly the issue of drawing speed. Possibility that SDL will be used and thats great in anybody's books. Looks like this project is in good hands, Yabasic 3 is looking like a sunny future ahead for you yabasic nuts.