Skip to content

Commit

Permalink
Add uiua codemirror support
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Nov 22, 2024
1 parent 0f4bb98 commit 26bc70e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export const loadLanguageCompartment = async (
const { rust: reasonml } = await import('@codemirror/lang-rust')
return compartment.of(reasonml())
}
case 'uiua': {
const { uiua } = await import('@exercism/codemirror-lang-uiua')
return compartment.of(uiua())
}
case 'wren': {
const { wren } = await import('@exercism/codemirror-lang-wren')
return compartment.of(wren())
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@exercism/active-background": "^0.6.2",
"@exercism/codemirror-lang-arturo": "^0.1.6",
"@exercism/codemirror-lang-gleam": "^2.0.1",
"@exercism/codemirror-lang-uiua": "^0.0.1",
"@exercism/codemirror-lang-wren": "https://github.com/exercism/codemirror-lang-wren",
"@exercism/highlightjs-arturo": "^0.0.2",
"@exercism/highlightjs-gdscript": "^0.0.1",
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1509,6 +1509,15 @@
"@lezer/highlight" "^1.2.0"
"@lezer/lr" "^1.4.0"

"@exercism/codemirror-lang-uiua@^0.0.1":
version "0.0.1"
resolved "https://registry.yarnpkg.com/@exercism/codemirror-lang-uiua/-/codemirror-lang-uiua-0.0.1.tgz#eed71dc91dcf90398d19ad5a616227e72a23f8df"
integrity sha512-4AOLWLZHvHTKQoU3skkMquhnvtAO23zJ1WhrZlidG/AGLr8mP9WuEZd1IlvIwf+DfO3rYqHzeEXUy1Zzn9QNRg==
dependencies:
"@codemirror/language" "^6.10.2"
"@lezer/highlight" "^1.2.0"
"@lezer/lr" "^1.4.1"

"@exercism/codemirror-lang-wren@https://github.com/exercism/codemirror-lang-wren":
version "1.0.0"
resolved "https://github.com/exercism/codemirror-lang-wren#3bde9961a87f3e46ddb3e282f979f39295be626b"
Expand Down

0 comments on commit 26bc70e

Please sign in to comment.