I just found this very little cute BASIC interpreter: Jasic and I decided to make a port to Flash in order to add basic graphics commands (just "setcolor" and "putpixel" actually) so I could see the little thing drawing a colored Mandelbrot fractal. It was very easy, thanks to the profusely commented code of the original author (Bob Nystrom). You can select the program demos from the drop-down menu and press the [Run] button to start the interpreter. So without further ado, Flasic:
It's not that slowly, but being a BASIC interpreter inside a Flex interpreter inside a Flash bytecode interpreter surely takes his toll, oh the irony... :D
The code is my repo, many thanks to the original author for releasing his original version, it was fun.
Hi,
ReplyDeleteA friend made 'input' work and I added some more demos and commands plus set it to work on the (soon to be released) BlackBerry PlayBook in case you are interested. I have a list of features I'd like to add so it's still a 'work in progress'.
@Harry: I'm also planning some updates to this, yeah the input was not working... any link to check?
ReplyDelete