coffee-ahk
v0.0.55
Published
coffeescript -> ahk
Downloads
27
Maintainers
Readme
coffee-ahk
Translate coffeescript
to ahk
.
Usage
pnpm i coffee-ahk
import c2a from 'coffee-ahk'
await c2a('./script/toolkit/index.coffee', {
salt: 'toolkit',
save: true,
verbose: false,
})
Test
npm run test
Notice
Not yet supported
?
;Does not yet support inverted syntax such as
a = 1 unless a >= 1
; normal syntax must be used;No
NaN
,null
andundefined
, which are all converted to the empty string''
;No
getter
/setter
;No implicit
return
, allreturn
s must be written explicitly;The distinction between characters and numbers in
ahk
is blurred,'0'
returnsfalse
inahk
;Using
=>
outside ofclass
is not recommended, because pure functions inahk
do not havethis
;Use
utf8
for encoding.coffee
files. The encoding of.ahk
files usesuft8 with BOM
;Import and export are not yet complete;
Npm package management support is not complete;
You can use
true
,false
,on
andoff
, but be careful not to use type judgments. Theboolean
type does not exist inahk
;