Adapt languages to new syntax token scheme
This commit is contained in:
@ -71,10 +71,10 @@ export const sampleProgram = [
|
||||
export const editorTokensProvider: MonacoTokensProvider = {
|
||||
tokenizer: {
|
||||
root: [
|
||||
[/[-\+]/, "plain"],
|
||||
[/[<>]/, "green"],
|
||||
[/[\[\]]/, "violet"],
|
||||
[/[\,\.]/, "orange"],
|
||||
[/[-\+]/, ""],
|
||||
[/[<>]/, "tag"],
|
||||
[/[\[\]]/, "keyword"],
|
||||
[/[\,\.]/, "identifier"],
|
||||
],
|
||||
},
|
||||
defaultToken: "comment",
|
||||
|
@ -27,10 +27,6 @@ const styles: { [k: string]: CSSProperties } = {
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
},
|
||||
activeCell: {
|
||||
background: "#CED9E0",
|
||||
color: "#182026",
|
||||
},
|
||||
};
|
||||
|
||||
/** Component for displaying a single tape cell */
|
||||
|
Reference in New Issue
Block a user