admin wrote:Using an external language is something that does not appeal to me. Maybe I'm a control freak but I like fix my own bugs.
I could drop the need for $ (even could make that a user-option) without having to change anything. The scripting engine runs perfectly without $ identifiers. Now. But in future, when I might add conditions, functions, loops, it might make parsing a lot easier (for me!) if I can rely on an variable identifier.
First to the $ - the main problem isn't the $ itself - even though I don't like it. The problem is the concept of a "language" where you think you need this prefix!
For (a restricted) example: there is no problem to distinguish between
<clipboard>, a variable
clipboard, and a function
clipboard(...), isn't it? Especially, if var-names have to be "complete words", as well as function names.
And then again (I will try to do this for the last time) something to the idea of an "external scripting interpreter". But I still think it's important to talk about that...
On one side I understand, that you want to make "everything" by yourself. As it will have "your own bugs". And I think, as it's interesting and some kind of fun :-)
But you
do use Windows, VB, Installer, Packer, VB-Routines, System-Functions, ...
Sometimes I read "the used Windows-API works like this", "it's the shell that..." and such. I think you could make it better - but you don't have the time - and have more things to do. So you
do use these not-own "functions"
OK - there
is a little difference between these things, and an external interpreter
on the user PC, but at least I think there are same analogies...
I'm afraid, when your scripting is ready, you will know quite much about the concepts of scripting you should have started with. One example is the change in use of variable names from beginning to now - and I'm afraid, that such things will often arise... And if you find things that shpuld be changed, you will not frequently be able to tell the people, that syntax has changed and they all have to change their scripts...
As was with the mentioned REXX: that language was designed, maybe 30 years ago, by people having made some other interpretative languages before, and having learned very much from all the problems they had in those systems. (Though these still can be used today - but nobody likes them.) REXX was enhanced all the years to be as reliable as needed for mainframe-automation. And later was ported to PC. (At that time as a comercial product.) And after all, *this* was given to the "REXX Language Association" in the Open Source community, to people still enhancing the functions.
So I think I'm right to expect REXX is very reliable, and a very "complete" and consistent language! And all problems
you will have in the next years(!) with defining a language, and programming an interpreter for it, has been done by these people, over years and years!
This is the reason why I would ask you to possibly think one more time about using an "external interpreter" for scripting. I'd expect that you could save *very* much time, and have a
much better result! (In sense of concept for the language - not for the programming you have to do.)
But it's no question: it would need "some" work for you to supply an XY-interface
to REXX - only then it would make sense.
Maybe there are other people knowing about other "products" usable for this task? For my kind of view it must not be ooREXX - maybe there other products? But I only happen to know of this one.
But, after all: finally it's your choice...