Skip to content

Instantly share code, notes, and snippets.

@akira-cn
Last active June 14, 2022 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akira-cn/1d20f288396bd6e3574f049870087a13 to your computer and use it in GitHub Desktop.
Save akira-cn/1d20f288396bd6e3574f049870087a13 to your computer and use it in GitHub Desktop.
{"storageType":"元|物|爻|術|言|列|數","constantNumeric":"負|·|又|零|〇|一|二|三|四|五|六|七|八|九|十|百|千|萬|億|兆|京|垓|秭|穰|溝|澗|正|載|極|分|釐|毫|絲|忽|微|纖|沙|塵|埃|渺|漠","constantLang":"陰|陽|其","keywordsModifier":"吾有|今有|有","keywordsType":"數|列|言|術|爻|物","keywordsControl":"乃行是術曰|若其不然者|乃止是遍|乃歸空無|欲行是術|若其然者|其物如是|乃得矣|恆為是|之術也|必先得|是術曰|之物也|云云|其餘|中之|為是|之長|乃止|若非|或若|乃得|是謂|蓋謂|或云|者|若|遍|充|銜|凡|也","keywordsOperator":"中有陽乎|所餘幾何|中無陰乎|不等於|不大於|不小於|等於|大於|小於|加|乘|除|變|以|於|減","keywordsOther":"不知何禍歟|不復存矣|如事不諧|姑妄行此|吾嘗觀|之禍歟|乃作罷|名之曰|書之|以施|之禍|嗚呼|之義|昔之|方悟|是矣|今有|吾有|之書|物之|夫|中|今|取|噫|曰|施|豈|有","tokenizer":{"root":[[{"type":"RegExp","source":"(注曰|疏曰|批曰)。「「","flags":""},"comment","@blockComment"],[{"type":"RegExp","source":"(注曰|疏曰|批曰).*$","flags":""},"comment"],[{"type":"RegExp","source":"#!.*$","flags":""},"comment"],[{"type":"RegExp","source":"「「","flags":""},"string","@string"],[{"type":"RegExp","source":"「","flags":""},"variable.name","@variableName"],[{"type":"RegExp","source":"。","flags":""},"delimiter"],[{"type":"RegExp","source":"@constantNumeric","flags":""},"constant.numeric"],[{"type":"RegExp","source":"@constantLang","flags":""},"constant.language"],[{"type":"RegExp","source":"@keywordsModifier","flags":""},"keyword"],[{"type":"RegExp","source":"@keywordsType","flags":""},"type"],[{"type":"RegExp","source":"@keywordsControl","flags":""},"keyword.control"],[{"type":"RegExp","source":"@keywordsOperator","flags":""},"operators"],[{"type":"RegExp","source":"@keywordsOther","flags":""},"keyword"],[{"type":"RegExp","source":"@storageType","flags":""},"storage.type"]],"blockComment":[[{"type":"RegExp","source":"[^」]+","flags":""},"comment"],[{"type":"RegExp","source":"」」","flags":""},"comment","@pop"],[{"type":"RegExp","source":"[」]","flags":""},"comment"]],"string":[[{"type":"RegExp","source":"[^」]+","flags":""},"string"],[{"type":"RegExp","source":"」」","flags":""},"string","@pop"],[{"type":"RegExp","source":"[」]","flags":""},"string"]],"variableName":[[{"type":"RegExp","source":"[^」]+","flags":""},"variable.name"],[{"type":"RegExp","source":"」","flags":""},"variable.name","@pop"]]},"brackets":[["「","」","bracket"]]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment