You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clientside DM Playground built with Vite + React + TypeScript + Tailwind.
3
+
This is the repository for the [DM Playground](https://play.dm-lang.org/).
4
4
5
-
It runs a Linux VM in-browser via v86 and provides a Monaco editor with DM syntax highlighting.
5
+
## What's it do?
6
6
7
-
## Scripts
7
+
The playground allows you to experiment with [DM](http://ref.dm-lang.org/) code purely in your browser.
8
8
9
-
- npm run dev
10
-
- npm run build
11
-
- npm run preview
12
-
- npm run lint
9
+
It has a number of features, including:
13
10
14
-
## LICENSE
11
+
1. A simple editor with themes and syntax highlighting.
12
+
2. The ability to compile and run DM code against different [BYOND](https://www.byond.com/) versions.
13
+
3. A built-in terminal for direct interaction with the underlying Linux VM.
14
+
4. A quick-share function.
15
+
16
+
## Architecture
17
+
18
+
The frontend is powered by [React](https://reactjs.org/), while [v86](https://github.com/copy/v86) emulates x86 running a Linux environment where BYOND is installed. **Everything happens 100% client-side.**
19
+
20
+
## Development
21
+
22
+
### Build the UI
23
+
24
+
```bash
25
+
npm install
26
+
npm run dev # Starts development server with hot reload
0 commit comments