Metadata-Version: 2.4
Name: wafer-lsp
Version: 0.1.21
Summary: Language Server Protocol server for GPU programming languages
Author-email: Wafer <support@wafer.ai>
License: MIT
Keywords: c++,cuda,cutedsl,gpu,language-server,lsp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
Requires-Python: >=3.12
Requires-Dist: lsprotocol>=2024.0.0
Requires-Dist: pygls>=1.0.0
Requires-Dist: wafer-core
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# Wafer LSP

Language Server Protocol server for CuTeDSL (Python GPU programming).

**Beta Feature**: Currently only available when Beta Mode is enabled in VS Code settings.

## Features

- **Hover Information**: Shows kernel and layout information with compiler analysis when hovering over CuTeDSL code

## Installation

```bash
pip install wafer-lsp
```

## Usage

### VS Code Extension

The LSP server is integrated into the `wevin-extension` VS Code extension. It starts automatically when Beta Mode is enabled.

### Standalone

For Neovim or other editors:

```bash
python -m wafer_lsp
```

## Supported Languages

- **CuTeDSL**: Python files with `@cute.kernel` decorators

## Architecture

The LSP server uses a modular language registry system. Currently supports CuTeDSL only. See `languages/README.md` for details on adding more languages.
