Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
32
network-poc/frontend/node_modules/prismjs/components/prism-awk.js
generated
vendored
Normal file
32
network-poc/frontend/node_modules/prismjs/components/prism-awk.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
Prism.languages.awk = {
|
||||
'hashbang': {
|
||||
pattern: /^#!.*/,
|
||||
greedy: true,
|
||||
alias: 'comment'
|
||||
},
|
||||
'comment': {
|
||||
pattern: /#.*/,
|
||||
greedy: true
|
||||
},
|
||||
'string': {
|
||||
pattern: /(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,
|
||||
lookbehind: true,
|
||||
greedy: true
|
||||
},
|
||||
'regex': {
|
||||
pattern: /((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,
|
||||
lookbehind: true,
|
||||
greedy: true
|
||||
},
|
||||
|
||||
'variable': /\$\w+/,
|
||||
'keyword': /\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,
|
||||
|
||||
'function': /\b[a-z_]\w*(?=\s*\()/i,
|
||||
'number': /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,
|
||||
|
||||
'operator': /--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,
|
||||
'punctuation': /[()[\]{},;]/
|
||||
};
|
||||
|
||||
Prism.languages.gawk = Prism.languages.awk;
|
||||
Reference in New Issue
Block a user