diff --git a/julia-mode.el b/julia-mode.el index ef0f1ba..c72046f 100644 --- a/julia-mode.el +++ b/julia-mode.el @@ -111,6 +111,7 @@ This function provides equivalent functionality, but makes no efforts to optimis (modify-syntax-entry ?? "." table) (modify-syntax-entry ?$ "." table) (modify-syntax-entry ?& "." table) + (modify-syntax-entry ?| "." table) (modify-syntax-entry ?* "." table) (modify-syntax-entry ?/ "." table) (modify-syntax-entry ?+ "." table) @@ -142,9 +143,10 @@ This function provides equivalent functionality, but makes no efforts to optimis '( ;; conditional "?" ;; assignment - "=" ":=" "+=" "-=" "*=" "/=" "//=" ".//=" ".*=" "./=" "\\=" ".\\=" - "^=" ".^=" "÷=" ".÷=" "%=" ".%=" "|=" "&=" "$=" "=>" "<<=" ">>=" - ">>>=" "~" ".+=" ".-=" + "=" ":=" "+=" "-=" "*=" "/=" "//=" "\\=" "^=" "÷=" "%=" "|=" "&=" + "$=" "=>" "<<=" ">>=" ">>>=" "~" + ".=" ".:=" ".+=" ".-=" ".*=" "./=" ".//=" ".\\=" ".^=" ".÷=" ".%=" ".|=" ".&=" + ".$=" ".=>" ".<<=" ".>>=" ".>>>=" ".~" ;; arrow "--" "-->" "←" "→" "↔" "↚" "↛" "↠" "↣" "↦" "↮" "⇎" "⇏" "⇒" "⇔" "⇴" "⇶" "⇷" "⇸" "⇹" "⇺" "⇻" "⇼" "⇽" "⇾" "⇿" "⟵" "⟶" "⟷" "⟷" "⟹" @@ -154,11 +156,19 @@ This function provides equivalent functionality, but makes no efforts to optimis "⥤" "⥦" "⥧" "⥨" "⥩" "⥪" "⥫" "⥬" "⥭" "⥰" "⧴" "⬱" "⬰" "⬲" "⬳" "⬴" "⬵" "⬶" "⬷" "⬸" "⬹" "⬺" "⬻" "⬼" "⬽" "⬾" "⬿" "⭀" "⭁" "⭂" "⭃" "⭄" "⭇" "⭈" "⭉" "⭊" "⭋" "⭌" "←" "→" + ".--" ".-->" ".←" ".→" ".↔" ".↚" ".↛" ".↠" ".↣" ".↦" ".↮" ".⇎" ".⇏" ".⇒" ".⇔" ".⇴" + ".⇶" ".⇷" ".⇸" ".⇹" ".⇺" ".⇻" ".⇼" ".⇽" ".⇾" ".⇿" ".⟵" ".⟶" ".⟷" ".⟷" ".⟹" + ".⟺" ".⟻" ".⟼" ".⟽" ".⟾" ".⟿" ".⤀" ".⤁" ".⤂" ".⤃" ".⤄" ".⤅" ".⤆" ".⤇" ".⤌" + ".⤍" ".⤎" ".⤏" ".⤐" ".⤑" ".⤔" ".⤕" ".⤖" ".⤗" ".⤘" ".⤝" ".⤞" ".⤟" ".⤠" ".⥄" ".⥅" + ".⥆" ".⥇" ".⥈" ".⥊" ".⥋" ".⥎" ".⥐" ".⥒" ".⥓" ".⥖" ".⥗" ".⥚" ".⥛" ".⥞" ".⥟" ".⥢" + ".⥤" ".⥦" ".⥧" ".⥨" ".⥩" ".⥪" ".⥫" ".⥬" ".⥭" ".⥰" ".⧴" ".⬱" ".⬰" ".⬲" ".⬳" ".⬴" + ".⬵" ".⬶" ".⬷" ".⬸" ".⬹" ".⬺" ".⬻" ".⬼" ".⬽" ".⬾" ".⬿" ".⭀" ".⭁" ".⭂" ".⭃" ".⭄" + ".⭇" ".⭈" ".⭉" ".⭊" ".⭋" ".⭌" ".←" ".→" ;; or and and - "&&" "||" + "&&" "||" ".&&" ".||" ;; comparison - ">" "<" ">=" "≥" "<=" "≤" "==" "===" "≡" "!=" "≠" "!==" "≢" ".>" - ".<" ".>=" ".≥" ".<=" ".≤" ".==" ".!=" ".≠" ".=" ".!" "<:" ">:" "∈" + ">" "<" ">=" "≥" "<=" "≤" "==" "===" "≡" "!=" "≠" "!==" "≢" "!" "<:" ">:" "∈" + ".>" ".<" ".>=" ".≥" ".<=" ".≤" ".==" ".===" ".≡" ".!=" ".≠" ".!==" ".≢" ".!" ".<:" ".>:" ".∈" "∉" "∋" "∌" "⊆" "⊈" "⊂" "⊄" "⊊" "∝" "∊" "∍" "∥" "∦" "∷" "∺" "∻" "∽" "∾" "≁" "≃" "≄" "≅" "≆" "≇" "≈" "≉" "≊" "≋" "≌" "≍" "≎" "≐" "≑" "≒" "≓" "≔" "≕" "≖" "≗" "≘" "≙" "≚" "≛" "≜" "≝" "≞" "≟" "≣" "≦" "≧" "≨" @@ -175,27 +185,56 @@ This function provides equivalent functionality, but makes no efforts to optimis "⪰" "⪱" "⪲" "⪳" "⪴" "⪵" "⪶" "⪷" "⪸" "⪹" "⪺" "⪻" "⪼" "⪽" "⪾" "⪿" "⫀" "⫁" "⫂" "⫃" "⫄" "⫅" "⫆" "⫇" "⫈" "⫉" "⫊" "⫋" "⫌" "⫍" "⫎" "⫏" "⫐" "⫑" "⫒" "⫓" "⫔" "⫕" "⫖" "⫗" "⫘" "⫙" "⫷" "⫸" "⫹" "⫺" "⊢" "⊣" + ".∉" ".∋" ".∌" ".⊆" ".⊈" ".⊂" ".⊄" ".⊊" ".∝" ".∊" ".∍" ".∥" ".∦" ".∷" ".∺" ".∻" ".∽" + ".∾" ".≁" ".≃" ".≄" ".≅" ".≆" ".≇" ".≈" ".≉" ".≊" ".≋" ".≌" ".≍" ".≎" ".≐" ".≑" ".≒" + ".≓" ".≔" ".≕" ".≖" ".≗" ".≘" ".≙" ".≚" ".≛" ".≜" ".≝" ".≞" ".≟" ".≣" ".≦" ".≧" ".≨" + ".≩" ".≪" ".≫" ".≬" ".≭" ".≮" ".≯" ".≰" ".≱" ".≲" ".≳" ".≴" ".≵" ".≶" ".≷" ".≸" ".≹" + ".≺" ".≻" ".≼" ".≽" ".≾" ".≿" ".⊀" ".⊁" ".⊃" ".⊅" ".⊇" ".⊉" ".⊋" ".⊏" ".⊐" ".⊑" ".⊒" + ".⊜" ".⊩" ".⊬" ".⊮" ".⊰" ".⊱" ".⊲" ".⊳" ".⊴" ".⊵" ".⊶" ".⊷" ".⋍" ".⋐" ".⋑" ".⋕" ".⋖" + ".⋗" ".⋘" ".⋙" ".⋚" ".⋛" ".⋜" ".⋝" ".⋞" ".⋟" ".⋠" ".⋡" ".⋢" ".⋣" ".⋤" ".⋥" ".⋦" ".⋧" + ".⋨" ".⋩" ".⋪" ".⋫" ".⋬" ".⋭" ".⋲" ".⋳" ".⋴" ".⋵" ".⋶" ".⋷" ".⋸" ".⋹" ".⋺" ".⋻" ".⋼" + ".⋽" ".⋾" ".⋿" ".⟈" ".⟉" ".⟒" ".⦷" ".⧀" ".⧁" ".⧡" ".⧣" ".⧤" ".⧥" ".⩦" ".⩧" ".⩪" ".⩫" + ".⩬" ".⩭" ".⩮" ".⩯" ".⩰" ".⩱" ".⩲" ".⩳" ".⩴" ".⩵" ".⩶" ".⩷" ".⩸" ".⩹" ".⩺" ".⩻" ".⩼" + ".⩽" ".⩾" ".⩿" ".⪀" ".⪁" ".⪂" ".⪃" ".⪄" ".⪅" ".⪆" ".⪇" ".⪈" ".⪉" ".⪊" ".⪋" ".⪌" ".⪍" + ".⪎" ".⪏" ".⪐" ".⪑" ".⪒" ".⪓" ".⪔" ".⪕" ".⪖" ".⪗" ".⪘" ".⪙" ".⪚" ".⪛" ".⪜" ".⪝" ".⪞" + ".⪟" ".⪠" ".⪡" ".⪢" ".⪣" ".⪤" ".⪥" ".⪦" ".⪧" ".⪨" ".⪩" ".⪪" ".⪫" ".⪬" ".⪭" ".⪮" ".⪯" + ".⪰" ".⪱" ".⪲" ".⪳" ".⪴" ".⪵" ".⪶" ".⪷" ".⪸" ".⪹" ".⪺" ".⪻" ".⪼" ".⪽" ".⪾" ".⪿" ".⫀" + ".⫁" ".⫂" ".⫃" ".⫄" ".⫅" ".⫆" ".⫇" ".⫈" ".⫉" ".⫊" ".⫋" ".⫌" ".⫍" ".⫎" ".⫏" ".⫐" ".⫑" + ".⫒" ".⫓" ".⫔" ".⫕" ".⫖" ".⫗" ".⫘" ".⫙" ".⫷" ".⫸" ".⫹" ".⫺" ".⊢" ".⊣" ;; pipe, colon "|>" "<|" ":" ".." + ".|>" ".<|" ".:" "..." ;; plus - "+" "-" "⊕" "⊖" "⊞" "⊟" ".+" ".-" "++" "|" "∪" "∨" "$" "⊔" "±" "∓" + "+" "-" "⊕" "⊖" "⊞" "⊟" "++" "|" "∪" "∨" "$" "⊔" "±" "∓" "∔" "∸" "≂" "≏" "⊎" "⊻" "⊽" "⋎" "⋓" "⧺" "⧻" "⨈" "⨢" "⨣" "⨤" "⨥" "⨦" "⨧" "⨨" "⨩" "⨪" "⨫" "⨬" "⨭" "⨮" "⨹" "⨺" "⩁" "⩂" "⩅" "⩊" "⩌" "⩏" "⩐" "⩒" "⩔" "⩖" "⩗" "⩛" "⩝" "⩡" "⩢" "⩣" + ".+" ".-" ".⊕" ".⊖" ".⊞" ".⊟" ".+" ".-" ".++" ".|" ".∪" ".∨" ".$" ".⊔" ".±" ".∓" + ".∔" ".∸" ".≂" ".≏" ".⊎" ".⊻" ".⊽" ".⋎" ".⋓" ".⧺" ".⧻" ".⨈" ".⨢" ".⨣" ".⨤" ".⨥" ".⨦" + ".⨧" ".⨨" ".⨩" ".⨪" ".⨫" ".⨬" ".⨭" ".⨮" ".⨹" ".⨺" ".⩁" ".⩂" ".⩅" ".⩊" ".⩌" ".⩏" ".⩐" + ".⩒" ".⩔" ".⩖" ".⩗" ".⩛" ".⩝" ".⩡" ".⩢" ".⩣" ;; bitshift "<<" ">>" ">>>" ".<<" ".>>" ".>>>" ;; times - "*" "/" "./" "÷" ".÷" "%" "⋅" "∘" "×" ".%" ".*" "\\" + "*" "/" "/" "÷" "÷" "%" "⋅" "∘" "×" "%" "*" "\\" ".\\" "&" "∩" "∧" "⊗" "⊘" "⊙" "⊚" "⊛" "⊠" "⊡" "⊓" "∗" "∙" "∤" "⅋" "≀" "⊼" "⋄" "⋆" "⋇" "⋉" "⋊" "⋋" "⋌" "⋏" "⋒" "⟑" "⦸" "⦼" "⦾" "⦿" "⧶" "⧷" "⨇" "⨰" "⨱" "⨲" "⨳" "⨴" "⨵" "⨶" "⨷" "⨸" "⨻" "⨼" "⨽" "⩀" "⩃" "⩄" "⩋" "⩍" "⩎" "⩑" "⩓" "⩕" "⩘" "⩚" "⩜" "⩞" "⩟" "⩠" "⫛" "⊍" "▷" "⨝" "⟕" "⟖" "⟗" + ".*" "./" "./" ".÷" ".÷" ".%" ".⋅" ".∘" ".×" ".%" ".*" ".\\" + ".\\" ".&" ".∩" ".∧" ".⊗" ".⊘" ".⊙" ".⊚" ".⊛" ".⊠" ".⊡" ".⊓" ".∗" ".∙" ".∤" ".⅋" + ".≀" ".⊼" ".⋄" ".⋆" ".⋇" ".⋉" ".⋊" ".⋋" ".⋌" ".⋏" ".⋒" ".⟑" ".⦸" ".⦼" ".⦾" ".⦿" ".⧶" + ".⧷" ".⨇" ".⨰" ".⨱" ".⨲" ".⨳" ".⨴" ".⨵" ".⨶" ".⨷" ".⨸" ".⨻" ".⨼" ".⨽" ".⩀" ".⩃" ".⩄" + ".⩋" ".⩍" ".⩎" ".⩑" ".⩓" ".⩕" ".⩘" ".⩚" ".⩜" ".⩞" ".⩟" ".⩠" ".⫛" ".⊍" ".▷" ".⨝" ".⟕" + ".⟖" ".⟗" ;; rational "//" ".//" ;; power - "^" ".^" "↑" "↓" "⇵" "⟰" "⟱" "⤈" "⤉" "⤊" "⤋" "⤒" "⤓" "⥉" "⥌" "⥍" + "^" "↑" "↓" "⇵" "⟰" "⟱" "⤈" "⤉" "⤊" "⤋" "⤒" "⤓" "⥉" "⥌" "⥍" "⥏" "⥑" "⥔" "⥕" "⥘" "⥙" "⥜" "⥝" "⥠" "⥡" "⥣" "⥥" "⥮" "⥯" "↑" "↓" + ".^" ".↑" ".↓" ".⇵" ".⟰" ".⟱" ".⤈" ".⤉" ".⤊" ".⤋" ".⤒" ".⤓" ".⥉" ".⥌" ".⥍" + ".⥏" ".⥑" ".⥔" ".⥕" ".⥘" ".⥙" ".⥜" ".⥝" ".⥠" ".⥡" ".⥣" ".⥥" ".⥮" ".⥯" ".↑" ".↓" ;; decl, dot "::" ".")) (regexp-opt '(" #" " \n" "#" "\n"))))