@dhiraj2105/dlang
Version:
A basic programming language built for learning and experimenting
66 lines (42 loc) ⢠1.01 kB
Markdown
# š Dlang ā A Simple Interpreted Language
> Created by Dhiraj ā Designed for learning, experimenting, and future expansion š
---
## How to Run code
Install dlang interpreter (You have to install it globaly)
On Linux :
```bash
sudo npm install -g @dhiraj2105/dlang
```
On Windows :
Run powershell as adminstrator,
```bash
npm install -g @dhiraj2105/dlang
```
Create .dlang file
```bash
dlang file.dlang
```
### If Running from Git repo
Clone the git repo
```bash
git clone https://github.com/your-repo/dlang.git
```
Open the folder and run
```bash
node src/index.js examples/example.dlang
```
## š Sample dlang Code
```dlang
let x = 10
let y = 5
print x + y
# This is a comment
```
š ļø Technologies
Node.js
JavaScript
No third-party compiler libraries (built from scratch)
## ⨠Contribute and Star the Repo
If you like dlang, feel free to:
Contribute by creating issues or submitting pull requests.
Star the repository to show your support and help others find it!