neutron-engine 0.1.3

A lightweight markup parser for the Neutron styling language (.nt)
Documentation
# Neutron Project

A dual-layer system: **Neutron** for UI markup and **Iris** for backend logic.

## Components

### 1. Neutron Engine (Rust/Cargo)
Lightweight markup parser for `.nt` files.

```bash
cargo build --release
cargo run
```

> Saat `cargo build`, dukungan bahasa Iris akan terinstall otomatis untuk semua editor yang terdeteksi (VSCode, Sublime, Vim, Neovim, Atom, Acode).

### 2. Iris Engine (npm/Node.js)
Hybrid AI runtime untuk Neutron OS.

```bash
cd npm-iris-engine
npm install
npm test
```

> Saat `npm install`, dukungan bahasa Iris akan terinstall otomatis untuk semua editor yang terdeteksi.

### 3. Universal Editor Support
Iris memiliki dukungan syntax highlighting universal:

| Editor | Auto-Install | File Extension | Icon | Syntax |
|--------|-------------|----------------|------|--------|
| **VSCode** | ✅ npm/cargo | `.iris` | ✅ | ✅ |
| **Sublime Text** | ✅ npm/cargo | `.iris` | — | ✅ |
| **Vim** | ✅ npm/cargo | `.iris` | — | ✅ |
| **Neovim** | ✅ npm/cargo | `.iris` | — | ✅ |
| **Atom** | ✅ npm/cargo | `.iris` | — | ✅ |
| **Acode** | ✅ npm/cargo | `.iris` | — | ✅ |
| **TextMate** | Manual | `.iris` | — | ✅ |
| **Any Editor** | Manual (TextMate grammar) | `.iris` | — | ✅ |

Cukup buat file `.iris`, dan syntax highlighting akan muncul otomatis!

### 4. VSCode Extension
Language support untuk `.nt` dan `.iris` files khusus VSCode.

```bash
vsce package
```

## Quick Start

**Neutron markup (.nt):**
```neutron
<Neutron>
    <Body>
        <Container style="b:#000; w:fill; h:fill" id="Main">
            <Text style="c:#fff; f-sz:20pt">Hello Neutron!</Text>
        </Container>
    </Body>
</Neutron>
```

**Iris logic (.iris):**
```javascript
const { Iris } = require('iris-engine');
Iris.logSystem("Interface Connected.");
```

## Publish

| Platform | Package | Command |
|----------|---------|---------|
| Cargo | `neutron-engine` | `cargo publish` |
| npm | `iris-engine` | `npm publish` |
| VSCode Marketplace | `iris-neutron-language-support` | `vsce publish` |

## License

MIT