mirror of
https://github.com/ksherlock/65816.tmbundle.git
synced 2024-11-22 11:34:35 +00:00
130 lines
3.2 KiB
Plaintext
130 lines
3.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||
|
<plist version="1.0">
|
||
|
<dict>
|
||
|
<key>fileTypes</key>
|
||
|
<array>
|
||
|
<string>src</string>
|
||
|
<string>s</string>
|
||
|
</array>
|
||
|
<key>name</key>
|
||
|
<string>ORCA/M</string>
|
||
|
<key>patterns</key>
|
||
|
<array>
|
||
|
<dict>
|
||
|
<key>include</key>
|
||
|
<string>source.asm.65816</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>include</key>
|
||
|
<string>source.asm.65816#hex_number</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>include</key>
|
||
|
<string>source.asm.65816#binary_number</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>include</key>
|
||
|
<string>source.asm.65816#decimal_number</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>\b(?i:BLT|BGE|CPA)\b</string>
|
||
|
<key>name</key>
|
||
|
<string>keyword.mnemonic.65816.alt</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>captures</key>
|
||
|
<dict>
|
||
|
<key>1</key>
|
||
|
<dict>
|
||
|
<key>name</key>
|
||
|
<string>entity.name.function</string>
|
||
|
</dict>
|
||
|
<key>2</key>
|
||
|
<dict>
|
||
|
<key>name</key>
|
||
|
<string>keyword.directive</string>
|
||
|
</dict>
|
||
|
</dict>
|
||
|
<key>match</key>
|
||
|
<string>^([_~A-Za-z][_~A-Za-z0-9]*)\s+((?i)START|DATA|PRIVDATA)\b</string>
|
||
|
<key>name</key>
|
||
|
<string>meta.function</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>^[*;!.].*</string>
|
||
|
<key>name</key>
|
||
|
<string>comment.line.m65816</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>comment</key>
|
||
|
<string>actually this is position dependent...</string>
|
||
|
<key>match</key>
|
||
|
<string>;.*</string>
|
||
|
<key>name</key>
|
||
|
<string>comment.line.m65816</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>^[_~A-Za-z][_~A-Za-z0-9]*\b</string>
|
||
|
<key>name</key>
|
||
|
<string>entity.name.label</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>\b(?i:ABSADDR|ALIGN|ANOP|APPEND|CASE|CODECHK|COPY|DATA|DATACHK|DC|DIRECT|DS|DYNCHK|EJECT|END|ENTRY|EQU|ERR|EXPAND|GEQU|IEEE|INSTIME|KEEP|KIND|LIST|LONGA|LONGI|MCOPY|MEM|MERR|MSB|NUMSEX|OBJ|OBJCASE|OBJEND|ORG|PRINTER|PRIVATE|PRIVDATA|RENAME|SETCOM|START|SYMBOL|TITLE|USING|65C02|65816)\b</string>
|
||
|
<key>name</key>
|
||
|
<string>keyword.directive</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>@[0-7]+</string>
|
||
|
<key>name</key>
|
||
|
<string>constant.numeric.octal</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>\b[aA]\b</string>
|
||
|
<key>name</key>
|
||
|
<string>variable.language</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>(?<=,)([xXyY])\b</string>
|
||
|
<key>name</key>
|
||
|
<string>variable.language</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>[=<>+-/|*#()^]|(<>|<=|>=)</string>
|
||
|
<key>name</key>
|
||
|
<string>keyword.operator</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>(?i:\.AND\.|\.EOR\.|\.OR\.)</string>
|
||
|
<key>name</key>
|
||
|
<string>keyword.operator</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>"[^"]*"</string>
|
||
|
<key>name</key>
|
||
|
<string>string.quoted.double</string>
|
||
|
</dict>
|
||
|
<dict>
|
||
|
<key>match</key>
|
||
|
<string>'[^']*'</string>
|
||
|
<key>name</key>
|
||
|
<string>string.quoted.single</string>
|
||
|
</dict>
|
||
|
</array>
|
||
|
<key>scopeName</key>
|
||
|
<string>source.asm.65816.orcam</string>
|
||
|
<key>uuid</key>
|
||
|
<string>20FD91A7-4399-46D9-B4C6-B733A52F7B40</string>
|
||
|
</dict>
|
||
|
</plist>
|