Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nirbhaykr87/pagalpanti
A toy programming language written in Javascript.
https://github.com/nirbhaykr87/pagalpanti
boostrap5 javascript raectjs
Last synced: about 1 month ago
JSON representation
A toy programming language written in Javascript.
- Host: GitHub
- URL: https://github.com/nirbhaykr87/pagalpanti
- Owner: nirbhaykr87
- Created: 2024-04-06T20:49:01.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T23:43:14.000Z (7 months ago)
- Last Synced: 2024-06-04T01:55:43.956Z (7 months ago)
- Topics: boostrap5, javascript, raectjs
- Language: JavaScript
- Homepage:
- Size: 1.78 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pagalpantiπ€ͺ [Live demo](https://pagalpantionhai.netlify.app/)
Pagalpanti is a simple toy programming language implemented in JavaScript.
## π Features
- **Variable Declaration:** Declare and initialize variables.
- **Print Statement:** Display output to the console.
- **Arithmetic Operations:** Perform basic arithmetic calculations.
- **Conditional Statements:** Execute code based on conditions.
- **Looping Constructs:** Implement iterative loops.## π Live Demo
πTry out Pagalpanti with our live demo: [Pagalpanti](https://pagalpantionhai.netlify.app/)
## π οΈ Getting Started
### Prerequisites
To run Pagalpanti programs, you need:
- Node.js installed on your machine (if running outside the browser).
- A modern web browser for running Pagalpanti programs in the browser.## Usage
- Use the maan lo keyword to declare and initialize variables.
**Syntax:**:
```plaintext
maan lo variable_name = value;
```**Example**:
```plaintext
maan lo a = 10;
maan lo b = 20;
maan lo name = "John";
```**Print Statement**
Use the likho keyword to display output to the console.
**Syntax**:
likho expression;**Example :**
```plaintext
likho "Hello, world!";
likho a + b;
```**Arithmetic Operations**
Perform basic arithmetic operations on variables.
**Supported operators**:
- Addition (+)
- Subtraction (-)
- Multiplication (*)
- Division (/)
**Example:**
```plaintext
maan lo sum = a + b;
maan lo product = a * b;
likho sum;
likho product;
```---
![author](https://img.shields.io/badge/author-Nirbhay--Kumar-blue)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue)](https://www.linkedin.com/in/nirbhaykrmuj/)Happy Coding! π