X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fsyntax%2Fjulia.yaml;h=ecda7c8127e85366f08515279ff8b9fb958f4c60;hb=cef32d4ac7f7bbc1f57fc67f8a1788edddfbe771;hp=73cbd5bf3ba913bf1e1beb9f87bc9d7de49a71a6;hpb=3644ef4a5a7b6f50b5f46ad29cd7ebad8d89bcfd;p=micro.git diff --git a/runtime/syntax/julia.yaml b/runtime/syntax/julia.yaml index 73cbd5bf..ecda7c81 100644 --- a/runtime/syntax/julia.yaml +++ b/runtime/syntax/julia.yaml @@ -13,11 +13,11 @@ rules: # definitions - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]" # keywords - - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|const|if|include|import|using|require|macro|println|return|try|type|while|module)\\b" + - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|let|const|if|import|using|macro|println|return|try|while|module)\\b" # decorators - identifier.macro: "@[A-Za-z0-9_]+" # operators - - symbol.operator: "[-+*/|=%<>&~^]|\\b(and|not|or|is|in)\\b" + - symbol.operator: "[-+*/|=%<>&~^]|\\b(isa|in)\\b" # parentheses - symbol.brackets: "([(){}]|\\[|\\])" # numbers