inweb-bootstrap/Languages/ACME.ildf

29 lines
617 B
Text
Raw Normal View History

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: "\""
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
prefix "!" => !element on both
2020-04-04 19:46:43 +00:00
}
characters {
+ => !identifier
- => !identifier
}
}
2020-04-04 12:07:08 +00:00
}