27 lines
1.2 KiB
Markdown
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`, `ALVID`, `DVM`, `FACE`, `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** — `DICE` (print), `AVDI` (input), `AVDI_NVMERVS`, `FORTIS_NVMERVS`, `FORTIS_ELECTIONIS`, `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.
|