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:
38
network-poc/frontend/node_modules/prismjs/components/prism-smalltalk.js
generated
vendored
Normal file
38
network-poc/frontend/node_modules/prismjs/components/prism-smalltalk.js
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
Prism.languages.smalltalk = {
|
||||
'comment': {
|
||||
pattern: /"(?:""|[^"])*"/,
|
||||
greedy: true
|
||||
},
|
||||
'char': {
|
||||
pattern: /\$./,
|
||||
greedy: true
|
||||
},
|
||||
'string': {
|
||||
pattern: /'(?:''|[^'])*'/,
|
||||
greedy: true
|
||||
},
|
||||
'symbol': /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
||||
'block-arguments': {
|
||||
pattern: /(\[\s*):[^\[|]*\|/,
|
||||
lookbehind: true,
|
||||
inside: {
|
||||
'variable': /:[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'temporary-variables': {
|
||||
pattern: /\|[^|]+\|/,
|
||||
inside: {
|
||||
'variable': /[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'keyword': /\b(?:new|nil|self|super)\b/,
|
||||
'boolean': /\b(?:false|true)\b/,
|
||||
'number': [
|
||||
/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
|
||||
/\b\d+(?:\.\d+)?(?:e-?\d+)?/
|
||||
],
|
||||
'operator': /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
||||
'punctuation': /[.;:?\[\](){}]/
|
||||
};
|
||||
Reference in New Issue
Block a user