Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

C# • Re: Keysharp - the resurrection of IronAHK

$
0
0
Release 0.0.0.5 has been posted on the downloads page here:

https://bitbucket.org/mfeemster/keysharp/downloads/

The usual list of caveats and differences from AHK v2 are here:

https://bitbucket.org/mfeemster/keysharp/src/master/

We've ticked off all of the remaining features to get parity (minus caveats above) with AHK v2.

This last push included:


  • Getting ComCall(), DllCall() and the sound functions fully working

  • Implementing AHK's concept of threads

  • Fixing numerous parsing bugs

  • Upgrading to .NET 8


We've also added the ability to launch real threads which are independent of the usual "green" threads. This was done to accommodate users of AHK_H who desire that functionality.

So with this major milestone met, the question is: where do we go from here? I have some thoughts:


  • The parser is done in a very bad way, using all sort of string splits and special checks for edge cases. This makes parsing bugs extremely hard to fix. The ideal way would be to make a legitimate grammar and parser with a tool like ANTLR. I would very much appreciate if someone could begin looking into this, and we can coordinate in the #keysharp channel in Discord. I really need help here because I don't have the time or know-how to do it.


  • The editor with line numbers in Keyview is very sub-optimal. It's based on a control I found and copied. If anyone knows how to make IDE style code editors, I would greatly appreciate help improving Keyview. Adding support for multiple files would be nice too.


  • The more eyes on this project, the better. I'm sure there are still many bugs lurking. So a good way to find them would be to port well known AHK v2 projects piece by piece using Keyview, then reporting bugs on bitbucket or in the Discord.


  • One of the original purposes of this project is to get it working on Linux. Some parts of the code are cross platform, but other parts are very Windows specific. Trying to find the equivalent Linux calls is going to be a substantial effort. I would greatly appreciate help if someone could begin researching this. I can go over the code with them on Discord so they are not shooting in the dark. Note: Wayland prohibits much of what we want to do, so this will be an X11-only effort.



Those are my thoughts at this point, I welcome input.

Statistics: Posted by mfeemster — 16 minutes ago



Viewing all articles
Browse latest Browse all 579

Trending Articles