Another ahk solution, coffeescript to ahk

Discuss Autohotkey related topics here. Not a place to share code.
Forum rules
Discuss Autohotkey related topics here. Not a place to share code.
Mimiko
Posts: 4
Joined: 09 Dec 2020, 10:37
GitHub: phonowell

Another ahk solution, coffeescript to ahk

09 Dec 2020, 10:54

This is a little toy I recently wrote in my spare time at work that converts coffeescript (a javascript dialect, very similar to ruby) to ahk.
For me, this solution solves a lot of problems. Not only did it allow me to implement features with a more familiar syntax, but it also implemented some capabilities that v1 did not have, such as anonymous functions, template strings, function nesting, etc.

The following is the address of the project, which may not be very stable since it is a new project written on the fly.
https://github.com/phonowell/coffee-ahk

This is an example of what was actually written with the project, a game script for Genshin Impact.
https://github.com/phonowell/genshin-impact-script
Mimiko
Posts: 4
Joined: 09 Dec 2020, 10:37
GitHub: phonowell

Re: Another ahk solution, coffeescript to ahk

16 Jan 2021, 04:11

This is an html for quick preview, drag and drop it into your browser and start playing immediately.
However, due to browser security policy restrictions, features like `include` and `import/export` are not available.
Attachments
coffee-AHK preview 0.0.31.zip
(647.44 KiB) Downloaded 2 times
Last edited by Mimiko on 23 Feb 2021, 01:27, edited 1 time in total.
SOTE
Posts: 1211
Joined: 15 Jun 2015, 06:21

Re: Another ahk solution, coffeescript to ahk

22 Jan 2021, 18:47

Yes, very interesting and thank you Mimiko for showing this. Also, reversing this transpiler and going from AHK to Coffeescript, appears quite intriguing as well.
Mimiko
Posts: 4
Joined: 09 Dec 2020, 10:37
GitHub: phonowell

Re: Another ahk solution, coffeescript to ahk

22 Feb 2021, 05:35

https://github.com/phonowell/coffee-ahk/blob/master/doc.md
Simply write an instruction document.
I've been using this tool for practical development myself, and feel pretty good abt it.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests