Ghanashyamcode

Professional language support for the Ghanashyam programming language, developed by Ghanashyam Budhathoki.
Ghanashyamcode provides a seamless development experience for the Ghanashyam language, featuring full syntax highlighting, intelligent snippets, and a robust language configuration for VS Code.
Features
- Full Syntax Highlighting: Comprehensive coloring for keywords, operators, strings, and comments.
- Bilingual Interface: Seamless support for both English and Nepali programming keywords.
- Developer Productivity: Built-in snippets for rapid development of tasks, loops, and conditions.
- Smart Indentation: Automatic block-level indentation for clean code formatting.
- Integrated Environment: Works perfectly with the Ghanashyam global interpreter.
Syntax Overview
English Syntax Example
task greet(name) do
show "Hello, " + name
end
val user = "Developer"
greet(user)
Nepali Syntax Example
banaau kaam namaste(naam) do
bol "Namaste, " + naam
end
rakha prayogkarta = "Ghanashyam"
chalaau namaste(prayogkarta)
Available Snippets
| Prefix |
Description |
Output |
task |
Define a function |
task name() do ... end |
given |
English If-block |
given condition do ... end |
yadi |
Nepali If-block |
yadi condition do ... antya |
iterate |
Loop construct |
iterate i from 1 upto 10 step 1 do ... end |
bol |
Print to console |
bol "Message" |
Keyword Reference
| English Keyword |
Nepali Keyword |
Purpose |
show / bol |
bol |
Print to console |
val |
rakha |
Variable declaration |
given |
yadi |
If statement |
otherwise |
natra |
Else statement |
end |
antya |
Block end |
task |
banaau kaam |
Function definition |
recall |
phirta |
Return value |
iterate |
- |
For loop |
and |
ra |
Logical AND |
or |
wa |
Logical OR |
Installation
From VS Code Marketplace:
- Open VS Code.
- Press
Ctrl+Shift+X to open Extensions.
- Search for Ghanashyamcode.
- Click Install.
From VSIX file:
code --install-extension ghanashyamcode-0.1.0.vsix
Usage
After installation, any file with the .ghn extension will automatically have syntax highlighting, auto-completion, and snippet support enabled.
To run a Ghanashyam script from the terminal:
ghn run filename.ghn
Requirements
- Visual Studio Code
^1.60.0
- Python 3.x (for running scripts via the terminal)
Release Notes
0.1.0
- Initial release of Ghanashyamcode.
- Full syntax highlighting for English and Nepali keywords.
- Code snippets for major language constructs.
- Auto-indentation and bracket matching.
Author
Ghanashyam Budhathoki

Copyright (c) 2026 Ghanashyam Budhathoki. Licensed under the MIT License.