Quote:
Originally Posted by Moneypulation
You already mentioned both of my biggest problems with AutoIt 
Another nice thing would be if the program wasn't easy to decompile to make sure the code is safe. I'll write more down if any ideas come to mind
|
Because Ill use for my solution a "My Language" to "Bytecode" Compiler.
Ill get 2 big advantages:
1. The generated Bytecode will run much faster than the corresponding AutoIt-Code (at the moment SpeedUp of around 5-7)
2. Decompilation is really hard and the Bytecode cannot be decompiled to the origin Code. It is possible to get really near to the original Code (and even this means a lot of work) but it is impossible to get exactly the original Code.
These 3 things were the main reason I wanted to create something "new".
What about the Syntax, what would you prefer:
Solution 1 (original AutoIt-Syntax):
PHP Code:
While 1
Wend
If ... Then
EndIf
Solution 2 (my current supported Syntax):
PHP Code:
While 1
EndWhile
If ...
EndIf
Solution 3 (C/C++/Java/PHP like Syntax):
PHP Code:
While (1)
{
}
If (...)
{
}
I highly prefer Solution 2, because it will make it easier for beginners to understand/read Code and the Syntax is also more "consistency" than AutoIts but still easy to read.
But I am also looking forward to answers of other questions.
A few questions that also striked my attention were:
- Would it be really helpful if we could use real Inline-Assembler or will no one use it at all?
- Should escaping of characters be allowed (so \n means newline \r carriage return etc.) or should we prefer @CR and @LF?
- Should some "Anti-Hackshield-Detections" been implemented or will they soon get useless because everyone knows them then?
- Are the keywords "global" and "local" really needed? Or should we remove them?
- Do we need a x64 and a x86 version?
- Should we check "if index is out of bound" etc.? If yes this will slow down scripts quite a bit of cause. If not beginners may have got a hard time?
- Should it be able to overwrite "given/standard" functions? E.g. declare a function "MsgBox" and whenever you use "MsgBox" in your script it will call your declared function and not the "standard" one.
- Should we use a real IDE (or create one) or should we use something similiar to Scite, which is "just" an advanced Editor. I highly prefer an own solution but of cause someone would have to create it.
Maybe you have some more questions/suggestions.