Archived

This topic is now archived and is closed to further replies.

jumpjumpjump

Sharb Basic Dev team accepting 48 Beta testers

Recommended Posts

jumpjumpjump    328
If you would like to beta test please click on the link in my sig and follow the instructions, but since you all here know C++ better and our syntax is similar please also post something you have coded. Thanks. Hurry we only have 48 spots out of 50 left! Sharp Basic baby!
My Homepage | My Forums Please Register | Google | Sharp Basic - Coming summer 2004! Wanna Beta test? Clicky!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
I went to your site and really could not find much info on sharb basic, what is it? is it like a DarkBasic or a blitzbasic?

Share this post


Link to post
Share on other sites
jumpjumpjump    328
I''ll post some links, but it is a basic language that me and deranged are making that uses Opengl 2d/3d/ Cross Plat/ Sockets/ sdl/ 3d sound/ math lib/ simple syntax/ oop/ TGA BMP PSD png loading. Not all will be in first beta testing versions though. It has a C++ style syntax. Here is a sample on making a opengl triangle:

Global width = 800
Global height = 600
Global depth = 32

SetGfx(width,height,depth,0)

MainLoop()
<
glGraphics(0) //sets 2d graphics uses gluperspective for 3d and ortho for 2d


glTriangles
<
glVertex2(0,0)
glVertex2(3,0)
glVertex2(3,3)
>



>


Sharp Basic baby!

My Homepage | My Forums Please Register | Google | Sharp Basic - Coming summer 2004! Wanna Beta test? Clicky!

Share this post


Link to post
Share on other sites
cozman    583
This is all just IMO.

Using < and > for brackets "just because" is not a good enough reason, it defies convention, making the transition more difficult, and also seems as if it would be irritating having the same symbol for a comparison operator and a scope delimiter.

Also, does the language run via a VM? or is it compiled?

[edited by - cozman on March 24, 2004 4:17:09 PM]

Share this post


Link to post
Share on other sites
Spudder    385
Using <> in place of {} makes that code look extremely ugly IMO, if your going for C++ style syntax then why not use curly braces if your planning on your target audience coming from a C++ background as it will make the transition easier.

Share this post


Link to post
Share on other sites
carb    139
What if you have code like this though?

if ((int a = 1)
<
2
...
...
...
&& a = 2
>)


The ambiguities are confusing - what is this? A less than symbol, or a brace? Would make it harder to debug code.

Share this post


Link to post
Share on other sites