Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


Pagalpanti Logo

# 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! πŸŽ‰