Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198<lexer> <config> <name>CFEngine3</name> <alias>cfengine3</alias> <alias>cf3</alias> <filename>*.cf</filename> </config> <rules> <state name="interpol"> <rule pattern="\$[{(]"> <token type="LiteralStringInterpol"/> <push/> </rule> <rule pattern="[})]"> <token type="LiteralStringInterpol"/> <pop depth="1"/> </rule> <rule pattern="[^${()}]+"> <token type="LiteralStringInterpol"/> </rule> </state> <state name="arglist"> <rule pattern="\)"> <token type="Punctuation"/> <pop depth="1"/> </rule> <rule pattern=","> <token type="Punctuation"/> </rule> <rule pattern="\w+"> <token type="NameVariable"/> </rule> <rule pattern="\s+"> <token type="Text"/> </rule> </state> <state name="root"> <rule pattern="#.*?\n"> <token type="Comment"/> </rule> <rule pattern="^@.*?\n"> <token type="CommentPreproc"/> </rule> <rule pattern="(body)(\s+)(\S+)(\s+)(control)"> <bygroups> <token type="Keyword"/> <token type="Text"/> <token type="Keyword"/> <token type="Text"/> <token type="Keyword"/> </bygroups> </rule> <rule pattern="(body|bundle|promise)(\s+)(\S+)(\s+)(\w+)(\()"> <bygroups> <token type="Keyword"/> <token type="Text"/> <token type="Keyword"/> <token type="Text"/> <token type="NameFunction"/> <token type="Punctuation"/> </bygroups> <push state="arglist"/> </rule> <rule pattern="(body|bundle|promise)(\s+)(\S+)(\s+)(\w+)"> <bygroups> <token type="Keyword"/> <token type="Text"/> <token type="Keyword"/> <token type="Text"/> <token type="NameFunction"/> </bygroups> </rule> <rule pattern="(\S+)(\s*)(=>)(\s*)"> <bygroups> <token type="KeywordReserved"/> <token type="Text"/> <token type="Operator"/> <token type="Text"/> </bygroups> </rule> <rule pattern="([\w.!&|()"$]+)(::)"> <bygroups> <token type="NameClass"/> <token type="Punctuation"/> </bygroups> </rule> <rule pattern="""> <token type="LiteralString"/> <push state="doublequotestring"/> </rule> <rule pattern="'"> <token type="LiteralString"/> <push state="singlequotestring"/> </rule> <rule pattern="`"> <token type="LiteralString"/> <push state="backtickstring"/> </rule> <rule pattern="(\w+)(\()"> <bygroups> <token type="NameFunction"/> <token type="Punctuation"/> </bygroups> </rule> <rule pattern="(\w+)(:)"> <bygroups> <token type="KeywordDeclaration"/> <token type="Punctuation"/> </bygroups> </rule> <rule pattern="@[{(][^)}]+[})]"> <token type="NameVariable"/> </rule> <rule pattern="\$[(][^)]+[)]"> <token type="NameVariable"/> </rule> <rule pattern="[(){},;]"> <token type="Punctuation"/> </rule> <rule pattern="=>"> <token type="Operator"/> </rule> <rule pattern="->"> <token type="Operator"/> </rule> <rule pattern="\d+\.\d+"> <token type="LiteralNumberFloat"/> </rule> <rule pattern="\d+"> <token type="LiteralNumberInteger"/> </rule> <rule pattern="\w+"> <token type="NameFunction"/> </rule> <rule pattern="\s+"> <token type="Text"/> </rule> </state> <state name="doublequotestring"> <rule pattern="\$[{(]"> <token type="LiteralStringInterpol"/> <push state="interpol"/> </rule> <rule pattern="\\."> <token type="LiteralStringEscape"/> </rule> <rule pattern="""> <token type="LiteralString"/> <pop depth="1"/> </rule> <rule pattern="\n"> <token type="LiteralString"/> </rule> <rule pattern="."> <token type="LiteralString"/> </rule> </state> <state name="singlequotestring"> <rule pattern="\$[{(]"> <token type="LiteralStringInterpol"/> <push state="interpol"/> </rule> <rule pattern="\\."> <token type="LiteralStringEscape"/> </rule> <rule pattern="'"> <token type="LiteralString"/> <pop depth="1"/> </rule> <rule pattern="\n"> <token type="LiteralString"/> </rule> <rule pattern="."> <token type="LiteralString"/> </rule> </state> <state name="backtickstring"> <rule pattern="\$[{(]"> <token type="LiteralStringInterpol"/> <push state="interpol"/> </rule> <rule pattern="\\."> <token type="LiteralStringEscape"/> </rule> <rule pattern="`"> <token type="LiteralString"/> <pop depth="1"/> </rule> <rule pattern="\n"> <token type="LiteralString"/> </rule> <rule pattern="."> <token type="LiteralString"/> </rule> </state> </rules></lexer>