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:
15
network-poc/frontend/node_modules/prismjs/components/prism-processing.js
generated
vendored
Normal file
15
network-poc/frontend/node_modules/prismjs/components/prism-processing.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
Prism.languages.processing = Prism.languages.extend('clike', {
|
||||
'keyword': /\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,
|
||||
// Spaces are allowed between function name and parenthesis
|
||||
'function': /\b\w+(?=\s*\()/,
|
||||
'operator': /<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/
|
||||
});
|
||||
|
||||
Prism.languages.insertBefore('processing', 'number', {
|
||||
// Special case: XML is a type
|
||||
'constant': /\b(?!XML\b)[A-Z][A-Z\d_]+\b/,
|
||||
'type': {
|
||||
pattern: /\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,
|
||||
alias: 'class-name'
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user