Skip to content

Instantly share code, notes, and snippets.

@budRich
Last active December 20, 2015 00:49
Show Gist options
  • Save budRich/6044337 to your computer and use it in GitHub Desktop.
Save budRich/6044337 to your computer and use it in GitHub Desktop.
;Default (everything not below: spaces, untyped parameters)
Allan med ballan från halland
;Line Comment
/* Block Comment
*/
;Escape
`E
;Operators, logical connectives, etc.
+= -= *= /= :=
;Expression assignement operator
//= .= |= &= ^= >>= <<= = == != <> && || ?: < <= > >= ** & // << >> & | ^ !
;String
"Heavy Metal is the Law!"
;Number
666
;Identifier (variable & function call)
%StonerRock%
;Label & Hotstrings (& Function definition?). Also defines a bit of style for hotkeys.
Heavy:
;Keyword - Flow of control
global if else loop return If Ifequal Ifexist Ifgreater Ifgreaterorequal Ifinstring
;Keyword - Commands
Autotrim Blockinput Clipwait Control Controlclick Controlfocus Controlget
;Keyword - Functions
_Addref _Clone _Getaddress _Getcapacity _Haskey _Insert _Maxindex _Minindex _Newenum
;Variable keyword (built-in) dereferencing %A_xxx%
list%A_Index%
;Keyword - Directives
#Hotstring #IfWinActive #IfWinExist #Include #InstallKeybdHook #InstallMouseHook #KeyHistory
;Keyword - Keys & buttons
Wheeldown Wheelleft Wheelright Wheelup Xbutton1 Xbutton2 Click
;Keyword - Built-in Variables
A_AhkVersion A_AppData A_AppDataCommon A_AutoTrim A_BatchLines A_CaretX A_CaretY
;Keyword - special parameters ("Keywords")
Abort Add ahk_class ahk_group ahk_id ahk_pid All Alnum Alpha AltSubmit AltTab
;Error (unclosed string, unknown operator, invalid dereferencing, etc.)
"asdlkjasd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment