PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Scripting Host

So, I've been working feverishly on 4 apps and what is now 2 libraries...

The short story is that I started making a Scripting Host for PPC, and I am looking for some feedback.

-Does anyone have a need for one?
-Does anyone have any suggestions to make as far as functionality they would like to see?

It all started so innocently as I was writing XEdit and wanted to put in support for macros...next thing ya know I'm writing a Scripting Host.

As it stands, the language is pretty much like VBScript with semicolons.
It is a dll, but there is an .exe associated with .rms files that will allow for double clicking on a files and launching it.
There is support to pass it void * to objects and some other info that will let an app pass in custom objects for use in there scripts.
There is file operation support.
VBScript with semicolons, eh? Nice description. :)

I actually think it's a pretty good idea. I haven't yet needed one, but i can think of a few things that it'd come in pretty useful. How far along have you got so far?

I think it'd be kinda cool if it could be used to do quick changes to the registry, much like .reg files on a desktop.
I am at the point where the interpreter can load and parse the language pretty quickly. And I have implimented the big stuff like value resolution and variable assignment (I have a call stack and a variable stack...how geeky am I).

I think the use will be in its native ability to do things exactly like you mention. Say modify the registry with simple commands and move files around and stuff.
kaiton · 27 Mar 2002, 08:43 UTC — Why?
Hi!

Just one thought;

Why don't you use the VBScript or Jscript
engine from PocketIE???

I use that too in PocketAdventures Beta.
It's real easy to get it working (if you
know COM and MFC).

There's a tutorial on MSN about it.

That way you have a real programming language(better
than you could ever make).
Than you could easily expose some
functions to Jscript(like printf, messagebox,fopen,etc).



Greetz,

kaiton
Can you post a link to the MSDN article?

I went looking for this when I started and couldn't find anything...I found the .h file now, but I would rather have a real tutorial.
kaiton · 28 Mar 2002, 11:56 UTC — URL
Hi,

Here's the url:

It's compatible with EVC3++.

Just follow the directions

Greetz,

kaiton

http://support.microsoft.com/support/kb ... 1/9/92.asp
kaiton · 28 Mar 2002, 11:57 UTC — Oh
I forgot to mention:

The emulator supports only VBSCript.
You can, however, download the
JScript engine from http://www.pocketpc.com


Kaiton
Uh...where on pocketpc.com?
Actually, PocketPC2002 comes with VBScript and JScript support built in. Of course, this is information I wish I had BEFORE I started this project. :)
kaiton · 07 May 2002, 16:32 UTC — Source
Hi!

If you want some working source of a working VB/JScript parser ,
mail me at
Kaiton@mk-it.nl.

It supports just VBscript with Inputbox and messagebox.

Kaiton
BurningSheep · 07 May 2002, 19:23 UTC
RICoder wrote:
Of course, this is information I wish I had BEFORE I started this project. :)


lol, it does pay off to do a bit of research before coding ;)

I'm going to try to get LUA running on my iPAQ btw, you can find almost any kind of distribution on www.lua.org (except for PocketPC (as for now atleast))
BurningSheep · 07 May 2002, 19:26 UTC
*double post :roll:*
kaiton · 13 May 2002, 11:01 UTC — Lua
Hi!

How far are you implementing LUA?
I tried getting it to work, but it was to
much work.

I am very interested in having LUA on my IPAQ.
I think it's a great language, and if it was released
on PocketPC it would be great!

Greetz

Kaiton