2020-04-06 18:24:56 +00:00
|
|
|
Name: "ACME"
|
|
|
|
Details: "The ACME assembly language for 6502 and related CPUs"
|
|
|
|
Extension: ".a"
|
|
|
|
Line Comment: ";"
|
2020-04-06 11:26:10 +00:00
|
|
|
String Literal: "\""
|
2020-04-06 18:24:56 +00:00
|
|
|
String Literal Escape: "\\"
|
|
|
|
Character Literal: "'"
|
|
|
|
Character Literal Escape: "\\"
|
|
|
|
Binary Literal Prefix: "%"
|
|
|
|
Hexadecimal Literal Prefix: "$"
|
|
|
|
Negative Literal Prefix: "-"
|
2020-04-04 12:07:08 +00:00
|
|
|
|
2020-04-11 20:39:43 +00:00
|
|
|
Function Declaration Notation: / *\.([A-Za-z_][A-Za-z0-9_]*).*/
|
|
|
|
|
2020-04-04 19:46:43 +00:00
|
|
|
colouring {
|
|
|
|
runs of unquoted {
|
|
|
|
runs of !identifier {
|
2020-04-05 22:28:05 +00:00
|
|
|
=> !reserved
|
2020-04-11 20:39:43 +00:00
|
|
|
keyword of !function => !function
|
|
|
|
# prefix "." => !identifier on both
|
2020-04-06 23:53:26 +00:00
|
|
|
prefix "!" => !element on both
|
2020-04-04 19:46:43 +00:00
|
|
|
}
|
|
|
|
characters {
|
|
|
|
+ => !identifier
|
|
|
|
- => !identifier
|
|
|
|
}
|
|
|
|
}
|
2020-04-04 12:07:08 +00:00
|
|
|
}
|