coffee-ahk v0.0.55
coffee-ahk
Translate coffeescript to ahk.
Usage
pnpm i coffee-ahkimport c2a from 'coffee-ahk'
await c2a('./script/toolkit/index.coffee', {
salt: 'toolkit',
save: true,
verbose: false,
})Test
npm run testNotice
Not yet supported
?;Does not yet support inverted syntax such as
a = 1 unless a >= 1; normal syntax must be used;No
NaN,nullandundefined, which are all converted to the empty string'';No
getter/setter;No implicit
return, allreturns must be written explicitly;The distinction between characters and numbers in
ahkis blurred,'0'returnsfalseinahk;Using
=>outside ofclassis not recommended, because pure functions inahkdo not havethis;Use
utf8for encoding.coffeefiles. The encoding of.ahkfiles usesuft8 with BOM;Import and export are not yet complete;
Npm package management support is not complete;
You can use
true,false,onandoff, but be careful not to use type judgments. Thebooleantype does not exist inahk;
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago