Files
centvrion/vscode-extension/README.md
2026-04-21 23:46:00 +02:00

27 lines
1.2 KiB
Markdown

# CENTVRION
VSCode extension for [CENTVRION](https://github.com/NikolajDanger/centvrion) — a Latin-inspired esoteric programming language where keywords are Latin words and numbers are Roman numerals.
## Features
### Syntax Highlighting
Provides syntax highlighting for `.cent` files, covering:
- **Keywords** — `SI`, `TVNC`, `ALIVD`, `DVM`, `FAC`, `PER`, `IN`, `DEFINI`, `VT`, `DESIGNA`, `REDI`, `ERVMPE`, `INVOCA`, and more
- **Operators** — `EST` (equality), `MINVS` (less than), `PLVS` (greater than), `ET` (and), `AVT` (or), arithmetic (`+`, `-`, `*`, `/`)
- **Built-in functions** — `DIC` (print), `AVDI` (input), `AVDI_NVMERVS`, `FORTVITVS_NVMERVS`, `FORTVITA_ELECTIO`, `LONGITVDO`
- **Literals** — Roman numeral constants (e.g. `XIV`, `MMXXIV`), booleans (`VERITAS`, `FALSITAS`), null (`NVLLVS`)
- **Strings** — single and double quoted, with escape sequences
- **Variables** — lowercase Latin identifiers
### Editor Support
- Auto-closing pairs for `{}`, `[]`, `()`, `""`, `''`
- Bracket matching and surrounding selection
- Line comments (`//`) and block comments (`/* */`)
## Usage
Open any `.cent` file — syntax highlighting is applied automatically.