Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GScript BASIC 1.3 - Major Revision

2 views
Skip to first unread message

limtc

unread,
Aug 30, 2008, 12:20:47 PM8/30/08
to
I just uploaded the first major rewrite of GScript BASIC! Now in 1.3
and it has a new UI which includes an interactive editor.

Finally, you can sit down and write:

gr()
color = "red"
plot(10, 10)

click on "Run" and see the result.

To see what a total novice do - this is her first GScript BASIC
program - take a look:
http://retromaccast.ning.com/photo/photo/show?id=1672786%3APhoto%3A28941

Except for a save command (I still don't know how to do this properly
in web), now this has become the tool I have always want - sit down
and write a Lores or Super Hires program, without any prior
knowledge.

Give it a try! You can simply select any script and see the listing
and result at the same time, and modify it and run to see the changes.

limtc

unread,
Aug 30, 2008, 12:22:07 PM8/30/08
to
The URL of GScript BASIC:
http://virtualgs.larwe.com/gsbasic/

To download a local version (recommended):
http://virtualgs.larwe.com/gsbasic.zip

Works for Safari and Firefox.

heuser...@freenet.de

unread,
Aug 30, 2008, 2:13:14 PM8/30/08
to
On Aug 30, 6:20 pm, limtc <thyech...@gmail.com> wrote:
>
> I just uploaded the first major rewrite of GScript BASIC!
> Now in 1.3 and it has a new UI which includes an interactive editor.

Phew! And I thought there were no more revisions for today!

(Just kidding! ;-)

bye
Marcus

limtc

unread,
Aug 30, 2008, 8:46:12 PM8/30/08
to
You bet!

I just do an update this morning (but since I don't want to do another
announcement, so remains 1.3...) with the following changes:

- iPhone / iPod touch support: custom UI for iPhone / iPod touch
- auto redirection to iPhone / iPod touch
- UI changes to reflect the load/run/new is associate to the editor
window

I am now working on adding events to the language so we can do some
sort of Lores painting program... it will be cool to see what will
Lores + event driven programming looks like.

limtc

unread,
Aug 31, 2008, 11:51:58 AM8/31/08
to
1.3.1 is uploaded. Added early implementation for event driven
programming (need to think of way to hide those details from
users...), and have some more demo codes, including a simple doodle
program, some Hires and Lores drawing done by beginners.

http://virtualgs.larwe.com/gsbasic

limtc

unread,
Aug 31, 2008, 8:27:36 PM8/31/08
to
Have uploaded a Lores painting program for kids. You can view the
Lores Doodle, as well as Doodle, in GScript BASIC (http://
virtualgs.larwe.com/gsbasic).

This is how the current event listener codes look like:

// Lores Doodle

gr()
inverse()
print(" Lores Doodle ")
normal()
print("Double click to clear screen.")

draw = false

listen("mousedown")
listen("mousemove")
listen("mouseup")
listen("dblclick")

// Handle mouse down event

function mousedown(event) {
draw = true
color = rnd(15) + 1
mousemove()
}

// Handle mouse move event

function mousemove() {
if (draw)
plot(mousex, mousey)
}

// Handle mouse up event

function mouseup() {
draw = false
}

// Handle double click event

function dblclick() {
gr()
}

limtc

unread,
Sep 1, 2008, 10:07:34 PM9/1/08
to
GScript BASIC 1.3.3 released. Updated event model, better demos,
improved UI.

Try it at: http://virtualgs.larwe.com/gsbasic/index.html

GScript BASIC is the JavaScript library for Apple II programmers.

Have fun!

limtc

unread,
Sep 3, 2008, 12:26:13 AM9/3/08
to
GScript BASIC 1.3.5 released.

Now able to load and save program (only 1 at the moment as I don't
want to make it too confusing) directly in the browser. This is good
for testing codes.

limtc

unread,
Sep 4, 2008, 8:19:36 PM9/4/08
to
GScript BASIC 1.3.8 released.

Now tested working under Google Chrome.

This version added audio support to now just Safari, but also to
Safari 3 and Google Chrome. MIDI file is also now supported.

Keyboard event is now supported under Firefox and Google Chrome. New
commands like asc() and chr() are now supported. When clear screen,
hires text will now be removed.

If you are using Safari, Firefox or Google Chrome and love Apple II
style programming:

http://virtualgs.larwe.com/gsbasic/

Lores example by a first time programmer:
http://virtualgs.larwe.com/gsbasic/run.html?file=birthday (you can run
it direct)
http://virtualgs.larwe.com/gsbasic/scripts/birthday.js

0 new messages