Skip to content

A toy programming language written in Javascript.

Notifications You must be signed in to change notification settings

nirbhaykr87/Pagalpanti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pagalpanti Logo

Pagalpanti🤪 Live demo

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

🛠️ 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::

maan lo variable_name = value;

Example:

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 :

likho "Hello, world!";
likho a + b;

Arithmetic Operations

Perform basic arithmetic operations on variables.

Supported operators:

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/) Example:
maan lo sum = a + b;
maan lo product = a * b;
likho sum;
likho product;

author LinkedIn

Happy Coding! 🎉

About

A toy programming language written in Javascript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published