aboutsummaryrefslogtreecommitdiffstats
path: root/public/manifest.webmanifest
blob: 06e102f6c2c41632dcc2d37a627d170a956e45d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "lang": "fr",
  "dir": "ltr",
  "name": "Armand Philippot",
  "short_name": "AP",
  "description": "Armand Philippot - Intégrateur web",
  "icons": [
    { "src": "icon-192.png", "type": "image/png", "sizes": "192x192" },
    { "src": "icon-512.png", "type": "image/png", "sizes": "512x512" }
  ],
  "theme_color": "#14578a",
  "background_color": "#f6f8f8",
  "display": "standalone"
}
color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
Prism.languages.antlr4 = {
  comment: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
  string: {
    pattern: /'(?:\\.|[^\\'\r\n])*'/,
    greedy: true,
  },
  'character-class': {
    pattern: /\[(?:\\.|[^\\\]\r\n])*\]/,
    greedy: true,
    alias: 'regex',
    inside: {
      range: {
        pattern: /([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,
        lookbehind: true,
        alias: 'punctuation',
      },
      escape:
        /\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,
      punctuation: /[\[\]]/,
    },
  },
  action: {
    pattern: /\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,
    greedy: true,
    inside: {
      content: {
        // this might be C, C++, Python, Java, C#, or any other language ANTLR4 compiles to
        pattern: /(\{)[\s\S]+(?=\})/,
        lookbehind: true,
      },
      punctuation: /[{}]/,
    },
  },
  command: {
    pattern:
      /(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,
    lookbehind: true,
    inside: {
      function: /\b\w+(?=\s*(?:[,(]|$))/,
      punctuation: /[,()]/,
    },
  },
  annotation: {
    pattern: /@\w+(?:::\w+)*/,
    alias: 'keyword',
  },
  label: {
    pattern: /#[ \t]*\w+/,
    alias: 'punctuation',
  },
  keyword:
    /\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,
  definition: [
    {
      pattern: /\b[a-z]\w*(?=\s*:)/,
      alias: ['rule', 'class-name'],
    },
    {
      pattern: /\b[A-Z]\w*(?=\s*:)/,
      alias: ['token', 'constant'],
    },
  ],
  constant: /\b[A-Z][A-Z_]*\b/,
  operator: /\.\.|->|[|~]|[*+?]\??/,
  punctuation: /[;:()=]/,
};

Prism.languages.g4 = Prism.languages.antlr4;