Complete language support for Tauraro — a systems-grade programming language with Python-style syntax, Rust-level performance, and full bilingual (English + Hausa) keyword support.
Rich, Java IntelliJ-inspired syntax coloring with distinct colors for every language construct:
- Keywords — control flow, declarations, modifiers (orange, bold)
- Hausa keywords — visually distinct from English equivalents (warm amber, bold italic)
- Class & type names — yellow, instantly recognizable
- Function & method names — gold, definition and call sites both highlighted
- Strings — green; f-strings show
{expression} regions in a different color
- Numbers — blue (integers, floats, hex
0xFF, binary 0b101, octal 0o77)
- Comments — gray, italic
- Built-in types — purple (
str, i32, List, Option, Result, …)
- Built-in functions — blue (
print, len, range, map, …)
- Constants — bold blue (
true, false, none, gaskiya, karya, babu)
self — teal italic, always stands out
- Decorators — yellow-green (
@decorator)
- Escape sequences — highlighted inside strings and f-strings
A custom dark theme inspired by IntelliJ IDEA Darcula, included with the extension. Activate it via:
Command Palette → Preferences: Color Theme → Tauraro Dark (Java Style)
30+ snippets for common Tauraro patterns — trigger with any listed prefix:
| English prefix |
Hausa prefix |
Snippet |
def / fn |
aiki / afn |
Function definition |
class / cls |
aji |
Class definition |
struct |
tsari |
Struct definition |
interface |
— |
Interface definition |
enum |
— |
Enum definition |
extend |
— |
Extend block |
if |
idan |
If statement |
ife / ifelse |
idan_sai |
If/else |
ifeife |
idan_koidan |
If/elif/else chain |
for |
ga |
For loop |
forr / fori |
gar |
For-range loop |
while |
yayinda |
While loop |
try |
gwada |
Try/except |
tryf |
gwadaf |
Try/except/finally |
match |
duba |
Match/case statement |
import |
shigo |
Import module |
from |
daga |
From…import |
print / p |
buga |
Print value |
printf / pf |
bugaf |
Print with f-string |
lambda / lam |
dan_aiki |
Lambda expression |
asyncdef |
ba_jira |
Async function |
pubdef / pm |
— |
Public method |
main |
— |
Main entry point |
fstr |
— |
F-string expression |
doc |
— |
Docstring block |
result / option |
— |
Result / Option type |
lc |
— |
List comprehension |
- Auto-closing pairs —
{}, [], (), "", '', """...""", '''...'''
- Auto-indent — increases after
: on block-starting lines; decreases for else, elif, except, finally, case and their Hausa equivalents
- Code folding — indentation-based +
# region / # endregion markers
- Bracket pair colorization —
(), [], {}
- Editor defaults — JetBrains Mono / Fira Code font, ligatures, 4-space tabs, smooth cursor
| Extension |
Description |
.tr |
Standard Tauraro source file |
.tau |
Alternate extension |
.tauraro |
Full-name extension |
Every keyword has an English form and a Hausa equivalent — both are fully highlighted.
| English |
Hausa |
Meaning |
def |
aiki |
Function definition |
class |
aji |
Class definition |
struct |
tsari |
Struct definition |
interface |
— |
Interface definition |
enum |
— |
Enum definition |
extend |
— |
Extend a class |
lambda |
dan_aiki |
Lambda / anonymous function |
| English |
Hausa |
Meaning |
if |
idan |
If |
elif |
koidan |
Else if |
else |
sai |
Else |
for |
ga |
For loop |
while |
yayinda |
While loop |
return |
dawo |
Return |
break |
tsaya |
Break |
continue |
ci_gaba |
Continue |
pass |
wuce |
Pass / no-op |
match |
duba |
Match statement |
case |
hali |
Case arm |
in |
a_cikin |
Membership / iteration |
with |
tare |
Context manager |
assert |
tabbatar |
Assertion |
| English |
Hausa |
Meaning |
import |
shigo |
Import module |
from |
daga |
From module import |
as |
kamar |
Alias |
| English |
Hausa |
Meaning |
try |
gwada |
Try block |
except |
kama |
Except / catch |
finally |
karshe |
Finally block |
raise |
jefa |
Raise exception |
| English |
Hausa |
Meaning |
async |
ba_jira |
Async function |
await |
jira |
Await expression |
yield |
bayar |
Yield value |
spawn |
— |
Spawn task |
| English |
Hausa |
Meaning |
and |
da |
Logical and |
or |
ko |
Logical or |
not |
ba |
Logical not |
| English |
Hausa |
Meaning |
true |
gaskiya |
Boolean true |
false |
karya |
Boolean false |
none |
babu |
Null / None |
| English |
Hausa |
Meaning |
pub |
fito |
Public visibility |
mut |
— |
Mutable variable |
static |
— |
Static member |
const |
— |
Constant |
abstract |
— |
Abstract declaration |
virtual |
— |
Virtual method |
override |
— |
Override method |
unsafe |
— |
Unsafe block |
let |
— |
Variable binding |
str int i8 i16 i32 i64 i128
u8 u16 u32 u64 u128 f32 f64
bool char void String Bytes
List Dict Tuple Set Map
Option Result Box Vec Pointer Any Never Self
from std.io import File
class JsonParser:
pub def parse(self, input: str) -> Option[Dict]:
mut result: Dict = {}
try:
result = self._parse_object(input)
return result
except ValueError as e:
print(f"Parse error: {e}")
return none
def _parse_object(self, s: str) -> Dict:
pass
@cached
def fibonacci(n: i32) -> i64:
if n <= 1:
return n
return fibonacci(n - 1) + fibonacci(n - 2)
# Hausa keywords work identically
aiki gaishe_da_duniya(suna: str):
print(f"Sannu, {suna}!")
- VS Code
^1.80.0
- No compiler installation needed for syntax highlighting
To compile and run .tr files, install the Tauraro compiler.
- Fixed snippet prefix table: added Hausa prefixes for all keywords (
ga, yayinda, idan, duba, gwada, buga, shigo, daga, dan_aiki, ba_jira, etc.)
- Replaced incorrect
adef async prefix with correct Hausa ba_jira
- Prefix table now shows English and Hausa columns side by side
- Corrected Hausa keyword translations (
async → ba_jira, was marasa_jira)
- Added missing Hausa equivalents:
import→shigo, from→daga, as→kamar, in→a_cikin, with→tare, assert→tabbatar, pub→fito
- Expanded modifiers section with full table
- Added Imports & Aliases keyword section
- Synced marketplace displayName and description to match README
- Updated README with full feature documentation, keyword tables, and code examples
- Complete grammar rewrite — distinct scopes for class names, function names, method calls, Hausa keywords
- New Tauraro Dark (Java Style) theme — IntelliJ Darcula-inspired
- 30+ code snippets
- F-string interpolation highlighting —
{expr} regions colored separately
- Full number literal support — hex, binary, octal, float, scientific, type suffixes
- Auto-indent, bracket pairing, code folding, region markers
- JetBrains Mono / Fira Code font defaults with ligatures
Repository: github.com/Yusee-Programmer/tauraro
Tauraro — Python syntax. Rust performance. Your language.