 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
AHKnow
Joined: 03 Jul 2004 Posts: 118
|
Posted: Mon Aug 22, 2005 9:02 am Post subject: AU3 to AHK and AHK to AU3 conversion script... |
|
|
Why not have a script that converts equivalent AU3 commands to AHK and AHK commands to AU3?
Now hold on before everybody starts putting bullets in their guns and breaking out the razor sharp axes... Here would be some things to think about first:
1. A script like that is very "do-able". If it can be done, why not put aside the "hate" and do it? For instance there are already, AU3 scripts to convert Visual Basic Script to AU3 script. This would be just an extension on this type of concept. Furthermore, the script(s) could be bi-directional, so nobody should feel "left out".
2. AHK and AU3 users could share each other utilities/tools. Obviously, not everything, because the languages do have some significant differences. There are differences between VBScript and AHK or AU3, but the advantages to this type conversion are obvious. Plus, there would be some interesting things that you could do in both languages as a result.
3. Not only just conversions between AHK or AU3, but perhaps some other target languages like VBScript, Perl, and other scripting languages as time goes by. These type of conversion scripts would make it easy for people to port their old scripting language programs to AHK.
What do you think? |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Aug 22, 2005 9:48 am Post subject: |
|
|
| Quote: | | not everything, because the languages do have some significant differences. | To have a start you should have/create an index which commands/functions in both are matching (eg. > 80%). If you show up with that list, you'd have a chance to get it ... sometime
I've started with something like that* ages ago, just to show that in most cases you've to code a similar number of lines regardless if you use either this or that.
Good luck.
*converting code snippets/samples
| Quote: | | Now hold on before everybody starts putting bullets in their guns and breaking out the razor sharp axes... | Real AHK users don't behave like that  Btw - jonny, have you brought back my AK47 ??  |
|
| Back to top |
|
 |
Invalid User
Joined: 14 Feb 2005 Posts: 442 Location: Texas, Usa
|
Posted: Mon Aug 22, 2005 6:33 pm Post subject: |
|
|
Johnny doesnt have it, he borrowed it to me some time back. But I am done with it so, here ya go. _________________ my lame sig  |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|