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.
3.0 kB · 117 lines
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118<lexer> <config> <name>JSON</name> <alias>json</alias> <alias>jsonl</alias> <filename>*.json</filename> <filename>*.jsonl</filename> <filename>*.jsonc</filename> <filename>*.json5</filename> <filename>*.avsc</filename> <filename>.luaurc</filename> <mime_type>application/json</mime_type> <mime_type>application/jsonl</mime_type> <dot_all>true</dot_all> <not_multiline>true</not_multiline> </config> <rules> <state name="root"> <rule> <include state="value"/> </rule> </state> <state name="whitespace"> <rule pattern="\s+"> <token type="Text"/> </rule> </state> <state name="comment"> <rule pattern="//.*?\n"> <token type="CommentSingle"/> </rule> </state> <state name="simplevalue"> <rule pattern="(true|false|null)\b"> <token type="KeywordConstant"/> </rule> <rule pattern="-?(0|[1-9]\d*)(\.\d+[eE](\+|-)?\d+|[eE](\+|-)?\d+|\.\d+)"> <token type="LiteralNumberFloat"/> </rule> <rule pattern="-?(0|[1-9]\d*)"> <token type="LiteralNumberInteger"/> </rule> <rule pattern=""(\\\\|\\"|[^"])*""> <token type="LiteralStringDouble"/> </rule> </state> <state name="objectattribute"> <rule> <include state="value"/> </rule> <rule pattern=":"> <token type="Punctuation"/> </rule> <rule pattern=","> <token type="Punctuation"/> <pop depth="1"/> </rule> <rule pattern="\}"> <token type="Punctuation"/> <pop depth="2"/> </rule> </state> <state name="objectvalue"> <rule> <include state="whitespace"/> </rule> <rule> <include state="comment"/> </rule> <rule pattern=""(\\\\|\\"|[^"])*""> <token type="NameTag"/> <push state="objectattribute"/> </rule> <rule pattern="\}"> <token type="Punctuation"/> <pop depth="1"/> </rule> </state> <state name="arrayvalue"> <rule> <include state="whitespace"/> </rule> <rule> <include state="value"/> </rule> <rule> <include state="comment"/> </rule> <rule pattern=","> <token type="Punctuation"/> </rule> <rule pattern="\]"> <token type="Punctuation"/> <pop depth="1"/> </rule> </state> <state name="value"> <rule> <include state="whitespace"/> </rule> <rule> <include state="simplevalue"/> </rule> <rule> <include state="comment"/> </rule> <rule pattern="\{"> <token type="Punctuation"/> <push state="objectvalue"/> </rule> <rule pattern="\["> <token type="Punctuation"/> <push state="arrayvalue"/> </rule> </state> </rules></lexer>