https://github.com/davphla/corewar-vscode-extension
[Epitech 2025] - Redcode extension for the Corewar Project
https://github.com/davphla/corewar-vscode-extension
corewar epitech extension redcode vscode
Last synced: 8 months ago
JSON representation
[Epitech 2025] - Redcode extension for the Corewar Project
- Host: GitHub
- URL: https://github.com/davphla/corewar-vscode-extension
- Owner: Davphla
- Created: 2025-05-09T09:25:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-09T15:10:38.000Z (about 1 year ago)
- Last Synced: 2025-05-31T16:52:09.161Z (about 1 year ago)
- Topics: corewar, epitech, extension, redcode, vscode
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=davphla.corewar-code
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Corewar Instruction Helper
A lightweight VSCode extension that provides inline help and syntax info for Corewar assembly instructions.
## Features
- Hover tooltips with opcode, syntax, and descriptions
- Instruction formatting based on the Corewar specification
- Supports Redcode-style syntax
## Example
Hovering over this code:
```redcode
add r1, r2, r3
```
Shows:
```
Opcode: 0x04
Adds r1 and r2, stores the result in r3.
Modifies the carry flag.
```
## Supported Instructions
Includes tooltips for all Corewar instructions:
* `live`, `ld`, `st`, `add`, `sub`
* `and`, `or`, `xor`, `zjmp`
* `ldi`, `sti`, `fork`, `lld`, `lldi`
* `lfork`, `aff`
## How to Use
Just install the extension, open a `.s` file, and start writing Corewar code. Hover over any instruction for instant documentation.
## Contributing
Feel free to submit issues or pull requests!