Pascalinterpreterinjava (soon to be a SCAR emulator)
So, I am mostly done with my latest project, a pascal interpreter in java, aptly named "pascalinterpreterinjava". If you have any better suggestions for a name, please post them.
Basically, I wrote an interpreter in java with the goal of being able to run SCAR scripts without SCAR. At this point, the only language feature it is missing is pointers.
In terms of the SCAR library (being able to call built-in SCAR functions), it currently supports: Input and output, String manipulation, File IO, Networking, and Script control, but is missing Forms, Keyboard/mouse control, and pixel/bitmap image finding.
You may notice that it is missing the most important functionality. This is partly because I haven't gotten around to it yet, but also because I am planning on giving it SMART- like functionality, and have it interface directly with the game, rather than taking control of your pointer.
So, here is the source code and class files. To run it, run run.sh or run.bat (for windows)
At this point it won't really do much besides give you a sandbox for writing pascal scripts (much like SCAR), except it lacks the macroing capability of SCAR. However, that brings me to my next point.
I would appreciate help with this project in three areas: First, I would be very grateful to anyone who tinkers around with it and finds bugs. Second, if anybody has experience coding GUIs in java, my GUI could use a real makeover (try resizing it to see what I mean.) Finally, if anybody knows about (or wrote) a good client loader I could use to directly send events to (and read pixels from) the applet, that would be great. Otherwise I will have to do something with the user specifying the top left corner of the applet or something like this. (also, it will allow me to make it send events silently and to multiple applets at the same time.) Once I get a client loader, I will finish writing the last of the api (although I don't know if I will ever implement forms)
Oh, I almost forgot to post the SVN for my project: http://pascalinterpreterinjava.googlecode.com Hosts the code, and you can find instructions there for downloading the latest code I have been working on.
Thanks a lot!