Skip to content

Commit f4d3779

Browse files
committed
chore: add tur lang demo
1 parent 0c1182d commit f4d3779

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

README.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
## 📋 Table of Contents
1111

12-
- [Features](#-features)
13-
- [Demo](#️-demo)
1412
- [Installation](#-installation)
1513
- [Usage](#-usage)
1614
- [1. Deriving `KeyMap`](#1-deriving-keymap)
@@ -26,16 +24,11 @@
2624

2725
## 🔧 Features
2826

29-
***Declarative Key Mappings**: Define keymaps via simple configuration (e.g., TOML, YAML) or directly in your code using derive macros.
27+
***Declarative Key Mappings**: Define keymaps via simple configuration files (e.g., TOML, YAML) or directly in your code using derive macros.
3028
* ⌨️ **Key Patterns**: Supports single keys (`a`), combinations (`ctrl-b`), and multi-key sequences (`ctrl-b n`).
31-
* 🧠 **Key Groups**: Use built-in pattern matching for common key groups:
32-
* `@upper` – Uppercase letters
33-
* `@lower` – Lowercase letters
34-
* `@alpha` – All alphabetic characters
35-
* `@alnum` – Alphanumeric characters
36-
* `@any` – Match any key
29+
* 🧠 **Key Groups**: Use built-in pattern matching for common key groups (`@upper`, `@lower`, `@alpha`, `@alnum`, and `@any`).
3730
* 🧬 **Compile-Time Safety**: The `keymap_derive` macro validates key syntax at compile time, preventing runtime errors.
38-
* 🌐 **Backend Agnostic**: Works with multiple backends, including `crossterm`, `termion`, and `wasm`.
31+
* 🌐 **Backend-Agnostic**: Works with multiple backends, including `crossterm`, `termion`, and `wasm`.
3932
* 🪶 **Lightweight & Extensible**: Designed to be minimal and easy to extend with new backends or features.
4033

4134
---
@@ -44,9 +37,24 @@
4437

4538
See `keymap-rs` in action with the [WASM example](https://rezigned.com/keymap-rs/):
4639

47-
<p align="center">
48-
<img src="./examples/wasm/public/preview.png" alt="keymap-rs WASM Demo" width="700">
49-
</p>
40+
<table>
41+
<thead>
42+
<tr>
43+
<th width="500px">Nyan Jump!</th>
44+
<th width="500px">Tur - Turing Machine Language</th>
45+
</tr>
46+
</thead>
47+
<tbody>
48+
<tr>
49+
<td>
50+
<a href="https://rezigned.com/keymap-rs"><img src="./examples/wasm/public/preview.png" alt="keymap-rs WASM Demo"/></a>
51+
</td>
52+
<td>
53+
<a href="https://rezigned.com/tur"><img src="https://rezigned.com/tur/tur-web.png" /></a>
54+
</td>
55+
</tr>
56+
</tbody>
57+
</table>
5058

5159
---
5260

0 commit comments

Comments
 (0)