Jump to content
  • Advertisement

Archived

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

jumpjumpjump

Sharb Basic Dev team accepting 48 Beta testers

This topic is 5229 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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
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
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
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
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
You might want to consider changing the name to avoid confusion with the BASIC language available on various computers made by the Sharp Corporation.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!