I have just uploaded the latest version of GScript BASIC 1.4. This
release focus on Applesoft BASIC like syntax. The aim is to create an
Applesoft-like BASIC language for the new generation, which runs on
browser, iPhone and iPod touch platforms.
This is how the GScript BASIC home page code looks like:
--
hgr
for i = 0 to 31 {
hcolor = i % 15 + 1
// Plot lines
hplot i * 20, 0 to 0, 400 - i * 12.5
hplot i * 20, 0 to 639, i * 12.5
hplot 640 - i * 20, 399 to 639, i * 12.5
hplot 640 - i * 20, 399 to 0, 400 - i * 12.5
}
// Description
hcolor = "red"
hprint "GScript BASIC" at 260, 180
hcolor = "white"
hprint "Applesoft BASIC for the Web" at 200, 200
inverse
print " GScript BASIC 1.4 "
normal
print ""
print "By Lim Thye Chean"
print "http://virtualgs.larwe.com"
--
You can test drive GScript BASIC in any modern browsers (except for
IE), iPhone or iPod touch here:
Now you can do a for loop with step. For example:
for i = 0 to 639 step 8 {
...
}
Now support more BASIC-like syntax (eg, you can now create a function/
subroutine without parenthesis) and new way of handling images (please
take a look at the Apple IIGS Pictures for example).
This is not meant to be offensive, but, when do you expect
a final version to be released? I thought I heard you say
that the last one was, and now this. Is the local file that
is called "gsbasic.zip" this version? I mean, it is getting
quite confusing.
Bill Garber from GS-Electronics
http://www.garberstreet.com
There is not intended to be a final product - just an on-going project
to make Applesoft way of programming available to my kids, without
using an emulator (for those of you who keep track of how my 7 year
old son Ding Wen grows up from an Applesoft programmer to Apple IIGS
programmers - using emulator - and now become an ActionScript
programmer, you will know what I mean).
You can download the gsbasic.zip that contains GScript BASIC itself
and all the sample scripts and do programming locally, or programming
it on the browser using the 40 column editor window and save it in
cookies (this is primary for testing - like trying our plotting dot or
draw a line - what my 5 years old daughter is doing now).
The project will stop when there is no more interest in this. Remember
I primary do this for 1 audience (my 5 year old daughter) but I think
there might be some other people interested in this - a modern style
Applesoft BASIC inspired language that can do web and iPhone
programming, that's why it is released to the world to play. You have
seen what it can do - Duet, Apple ][ Forever, etc. Right now there is
at least some interests, so it is still on going, it might stop
tomorrow, not sure.
The current version is 1.4.3 (at the time of this reply), it has new
features and more BASIC like syntax over 1.4.2 and before and
before... when a new version is up, I simply announce it here. I am
not sure what;s so confusing about it. Isn't all software evolved over
time? :)
Simply have fun - programming is fun.
It might be best to just announce 'major' versions like 1.4, 1.5, etc
with a list of changes between. If you keep a Changelog on your site,
those who are keen for the latest and greatest can always check for it
there.
Matt
http://virtualgs.larwe.com/gsbasic/
There is nothing you need to do. Just make sure you have a compatible
browser (basically anything but IE at the moment). You can load and
save (see the buttons at the bottom of the editor window) into browser
cookies. Suitable to check out demo and their codes (you can load and
run all demos, see the list on the top left corner). Also suitable to
do some simple test.
To run GScript BASIC locally, simply go to:
http://virtualgs.larwe.com/gsbasic.zip
It will download a copy. Unzip it and run GScript BASIC file and it
will launched in browser (notes it need a compatible browser, as
mentioned above). You can use any text editor, type in a script and
save it as a file ends with ".js" in the scripts folder (you should
also see all the demo files there). To run the script, simply type in
script name (with or without ".js" extension) on the input box on top
left, and click on run button beside. This is suitable for doing
larger projects. You can send me the script to be included in future
version of GScript BASIC - I have already received some demos on this,
you have seen various names in the demo.
The current version is 1.4.3 - I am of course working on future
version, based on feedback or my own needs.
I always have an idea of how I wanted Apple IIGS BASIC to be - as
simple as Applesoft, as modern as current language without the old
garbage. GScript BASIC is my idea of what that language looks like,
hope you like it.
http://retromaccast.ning.com/profiles/blog/show?id=1672786%3ABlogPost%3A27721
> This is not meant to be offensive, but, when do you expect
> a final version to be released? I thought I heard you say
> that the last one was, and now this. Is the local file that
> is called "gsbasic.zip" this version? I mean, it is getting
> quite confusing.
Yah plus it's getting a bit out of control that there are so many threads,
so many posts on a project that seems to be getting daily incremental
updates.
This is a good alternative. You might link to the zip and blog from here
<http://virtualgs.larwe.com/gsbasic/>
or here
<http://virtualgs.larwe.com/Virtual_GS/Fun_and_Games.html>
--
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews
Changelog is a good idea. My original idea is simple - I add a new
feature, I come here and post a note. I really have no intention to
make it formal. The more formal it becomes, it started to get the fun
out of the project, not sure whether I wanted to do that.
Anyway, will post again in 1.5 (if ever, but if it need, yes, it will
be a major update).
http://virtualgs.larwe.com/Virtual_GS/GScript_BASIC.html
1.4.3 remains the latest version.
That's great. Now when you add major changes to the system,
you post a quick note here, and we can all go to the page
to see it, and download the latest version changes.
Thank you,
I am already using it to teach BASIC programming and let people see it
running on real Apple IIGS and browser - a lot of syntax are similar
enough. 1.4.3 is already good enough (for me and my purpose for
teaching my kids and others) so I plan to let the development slow
down or stop for the moment, as I am back to programming for my
iPhonet.
- added confirmation dialog boxes to new/load/save buttons
- change the command naming from lowercase to mixed case (onevent ->
onEvent)