Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aazuspan/spinasm-lsp
A language server for SPINAsm
https://github.com/aazuspan/spinasm-lsp
assembly fv-1 lsp spin-semiconductor spinasm
Last synced: 4 months ago
JSON representation
A language server for SPINAsm
- Host: GitHub
- URL: https://github.com/aazuspan/spinasm-lsp
- Owner: aazuspan
- License: mit
- Created: 2024-08-06T00:48:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-21T05:51:55.000Z (6 months ago)
- Last Synced: 2024-09-30T05:43:57.383Z (4 months ago)
- Topics: assembly, fv-1, lsp, spin-semiconductor, spinasm
- Language: Python
- Homepage:
- Size: 208 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# SPINAsm LSP Server
[![Build status](https://github.com/aazuspan/spinasm-lsp/actions/workflows/ci.yaml/badge.svg)](https://github.com/aazuspan/spinasm-lsp/actions/workflows/ci.yaml)
[![PyPI version](https://img.shields.io/pypi/v/spinasm-lsp)](https://pypi.python.org/pypi/spinasm-lsp)
[![Python versions](https://img.shields.io/pypi/pyversions/spinasm-lsp.svg)](https://pypi.python.org/pypi/spinasm-lsp)A Language Server Protocol (LSP) server to provide language support for the [SPINAsm assembly language](http://www.spinsemi.com/Products/datasheets/spn1001-dev/SPINAsmUserManual.pdf). The LSP is built on an extended version of the [asfv1](https://github.com/ndf-zz/asfv1) parser.
## Features
- **Diagnostics**: Reports the location of syntax errors and warnings.
- **Signature help**: Shows parameter hints as instructions are entered.
- **Hover**: Shows documentation and assigned values on hover.
- **Completion**: Provides suggestions for opcodes, labels, and variables.
- **Renaming**: Renames matching labels or variables.
- **Go to definition**: Jumps to the definition of a label, memory address, or variable.
- **Semantic highlighting**: Color codes variables, constants, instructions, etc. based on program semantics.## Installation
```bash
pip install spinasm-lsp
```## Usage
Start the LSP server:
```bash
spinasm-lsp
```------
*This project is unaffiliated with Spin Semiconductor. Included documentation is Copyright © 2018 Spin Semiconductor.*