| Crates.io | emo-lan |
| lib.rs | emo-lan |
| version | 0.1.2 |
| created_at | 2024-10-26 02:35:07.92023+00 |
| updated_at | 2024-12-19 06:53:55.233823+00 |
| description | A language that compiles emoji-based syntax into HTML. |
| homepage | |
| repository | https://github.com/ryokatsuse/emo-lan |
| max_upload_size | |
| id | 1423496 |
| size | 18,294 |
A programming language that uses emoji pictograms to generate HTML. Write your content using emojis, and emo-lan will compile it into clean HTML.
| Emoji | Description | HTML Output |
|---|---|---|
| 📄 | Document start (required) | <!DOCTYPE html> |
| 🔤text🔤 | Text content | <p>text</p> |
| 🖼️alt | Image with alt text | <img src="url" alt="alt" /> |
📄🔤Hello World🔤🖼️[Cute cat photo](https://example.com/cat.jpg)
Generates:
<!DOCTYPE html>
<html>
<body>
<p>Hello World</p>
<img src="https://example.com/cat.jpg" alt="Cute cat photo" />
</body>
</html>
git clone https://github.com/ryokatsuse/emo-lan
cd emo-lan
cargo build
cargo test
Try emo-lan directly in your browser using our online playground.
Create a file with .el extension and write your emo-lan code:
emo-lan input.el
The compiled HTML will be saved as output.html.
The library also supports WebAssembly for web browser usage.
cli/: Command-line interface implementationlexer/: Tokenization and lexical analysisparser/: Syntax parsing and HTML generationcommon/: Shared types and utilitiessrc/: Core library and WebAssembly bindingsMIT