<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
- <style id="base-n-integer" _name="Base-N Integer" map-to="def:base-n-integer"/>
<style id="string" _name="String" map-to="def:string"/>
+ <style id="escape" _name="Escape" map-to="def:string"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="type" _name="Data Type" map-to="def:type"/>
<style id="latex" _name="LaTeX Escaped" map-to="def:special-char"/>
<style id="macros" _name="Macros" map-to="def:keyword"/>
- <style id="escape" _name="Escaped Character" map-to="def:special-char"/>
+ <style id="tinycals" _name="Tinycals" map-to="def:keyword"/>
+ <style id="quantifiers" _name="Quantifiers" map-to="def:type"/>
</styles>
<definitions>
- <define-regex id="cap-ident">\b[A-Z][A-Za-z0-9_']*</define-regex>
- <define-regex id="low-ident">\b[a-z][A-Za-z0-9_']*</define-regex>
- <define-regex id="char-esc">\\((\\|"|'|n|t|b|r)|[0-9]{3}|x[0-9a-fA-F]{2})</define-regex>
+ <define-regex id="char-esc">\\"|[0-9a-zA-Z]</define-regex>
<context id="escape-seq" style-ref="escape">
<match>\%{char-esc}</match>
</context>
<keyword>Type[2]</keyword>
<keyword>CProp[2]</keyword>
</context>
+ <context id="quantifiers" style-ref="quantifiers">
+ <!-- quantifiers -->
+ <match>∀|∃|λ|=|→|⇒|…|≝|≡|\?</match>
+ </context>
+ <context id="tinycals" style-ref="tinycals">
+ <match>\[|\||\]|\{|\}|@|\$|#|\\\\|;|\.|:>|:</match>
+ </context>
</include>
</context>
</definitions>
-
-<!--
- <pattern-item _name = "Command [" style = "Keyword">
- <regex>\[</regex>
- </pattern-item>
- <pattern-item _name = "Command |" style = "Keyword">
- <regex>\|</regex>
- </pattern-item>
- <pattern-item _name = "Command ]" style = "Keyword">
- <regex>\]</regex>
- </pattern-item>
- <pattern-item _name = "Command {" style = "Keyword">
- <regex>\{</regex>
- </pattern-item>
- <pattern-item _name = "Command }" style = "Keyword">
- <regex>\}</regex>
- </pattern-item>
- <pattern-item _name = "Notation ast mark" style = "Keyword">
- <regex>@</regex>
- </pattern-item>
- <pattern-item _name = "Notation meta mark" style = "Keyword">
- <regex>\$</regex>
- </pattern-item>
- -->
</language>