News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Script Engine Beta 3

Started by hutch--, February 13, 2006, 02:47:01 AM

Previous topic - Next topic

hutch--

This version has a lot more work done on it. I have added directory commands, it now supports named variables of either integer or string types and it is faster through internal optimisation. The documentation is still in SYNTAX.TXT but it is reasonably easy to follow.

The loader is a lot faster as I use a hash table for various symbols that must be replaced and do the same for the label offset replacements.

I have some example code written with it that shows some of the current capacity.

[attachment deleted by admin]
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

PBrennick

Hutch,
Have you thought of a name for it yet?  It looks very interesting.  I would be very interested in seeing how it could be used to manipulate a database (one that it creates, itself, of course).

Paul
The GeneSys Project is available from:
The Repository or My crappy website

hutch--

I have just finished regutting the loader and it is now fast enough for the moment. The runtime engine is still a lot faster than the loader but the loader actually does a lot more work when there is a high label count.

Paul,

Its currently SE which is no more esoteric than "script engine" so i don't have to think to hard about it. I am interested in your idea about a database. The target for the app is code production and it can already do that reasonably well but I am not sure what you had in mind. I have seen scripting for making SQL enquiries but there is plenty around that already does this well.

Something that has gone past me is the potential of security problem with a scripting engine. It would not be hard to make a setup that required the installer to enter a range of text that could be used as a pad generator which the script could be encrypted against and decrypted when its run. This would effectively prevent unauthorised scripts from running but I don't know how useful the idea is.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

PBrennick

My Church also has a social function which is used for the distribution of food baskets, milk and oil (for heat).  We need to keep a record on every person who applies.  The record can have many entries.  I was thinking of using it for this purpose, especially if it employs hashing.  It might be just the thing to give the script engine a good workout.
Paul
The GeneSys Project is available from:
The Repository or My crappy website

daydreamer

looks great, it inspired me to start with some macros, to try to emulate fluxuslike script, but with SSE
http://toplap.org/index.php/Live_coding_of_graphics
what register should be best to use for statestack pointer?statestack size?