brainfuck top-level property
Implementation
final brainfuck = Mode(refs: {
'~contains~3~contains~0':
Mode(className: "literal", begin: "[\\+\\-]", relevance: 0),
}, aliases: [
"bf"
], contains: [
Mode(
className: "comment",
begin: "[^\\[\\]\\.,\\+\\-<> \r\n]",
end: "[\\[\\]\\.,\\+\\-<> \r\n]",
contains: [
PHRASAL_WORDS_MODE,
Mode(
className: "doctag",
begin: "(?:TODO|FIXME|NOTE|BUG|XXX):",
relevance: 0)
],
returnEnd: true,
relevance: 0),
Mode(className: "title", begin: "[\\[\\]]", relevance: 0),
Mode(className: "string", begin: "[\\.,]", relevance: 0),
Mode(
begin: "(?:\\+\\+|\\-\\-)",
contains: [Mode(ref: '~contains~3~contains~0')]),
Mode(ref: '~contains~3~contains~0')
]);