Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Spectacle (Programming Language) - *Update*

Author
Message
Killswitch
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: School damnit!! Let me go!! PLEASE!!!
Posted: 12th Nov 2005 22:13
You are free to use all or part of Spectacles source so long as you GIVE CREDIT for it!

Well I've been working on Spectacle (a BASIC programming langauge written in PB) for well over a month now and I thought it's about time I relased an alpha, as I'm quite proud of how the langage is progressing!

This is more of a sneaky-peak relase, as many parts of the language are incomplete (such as the debugger, and many command sets). I've introduced a new feature: Result Warping. I don't know about you, but I really get annoyed having to use Str(), Val() (etc) lots and lots of times. So, with specticle you can define a return type of a command, in the same way you'd define a variables type!

Here's some code exaples:

Comments


Maths



Operators



Binary, Octal and Hexadecimal support



Commands



Meta Expression



I've also implimented a whole new, stack based, variable-handling system which has reduced memory usuage dramatically!

Here's the command set:

End
Val
ValF
Len
LCase
UCase
Right
Left
Asc
Chr
RTrim
LTrim
Trim
Space
Binary
Hex2Bin
Oct2Bin
Bin2Hex
Bin2Oct
hex2Dec
Oct2Dec
ElapsedMilliseconds
Wait
Rnd
RndF
Seed

I'd still like some help with the project, as well as ideas and comments! contray to what I've said before the source (PureBasic) is avaliable as it's easier to see whats going on with it than the .exe.

To Spectacle code you must write your soure in a file called 'Code.txt' in the same directory as either the .exe or Main.pb (depending on how you want to run it).

The exe will probally look like it's doing nothing - that's why the source is included!

DOWNLOAD

~It's a common mistake to make, the rules of the English langauge do not apply to insanity~

Login to post a reply

Server time is: 2024-11-16 02:36:16
Your offset time is: 2024-11-16 02:36:16