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>
23 lines
462 B
JavaScript
23 lines
462 B
JavaScript
Prism.languages.ebnf = {
|
|
'comment': /\(\*[\s\S]*?\*\)/,
|
|
'string': {
|
|
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
greedy: true
|
|
},
|
|
'special': {
|
|
pattern: /\?[^?\r\n]*\?/,
|
|
greedy: true,
|
|
alias: 'class-name'
|
|
},
|
|
|
|
'definition': {
|
|
pattern: /^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,
|
|
lookbehind: true,
|
|
alias: ['rule', 'keyword']
|
|
},
|
|
'rule': /\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,
|
|
|
|
'punctuation': /\([:/]|[:/]\)|[.,;()[\]{}]/,
|
|
'operator': /[-=|*/!]/
|
|
};
|