peye-lang
v1.0.0
Published
PEYE Programming Language and IDE
Downloads
7
Readme
PEYE Programming Language
PEYE (.peye) is a simple and easy-to-use programming language built on top of Node.js. It is designed to be beginner-friendly while maintaining powerful functionality.
Features
- Simple and clean syntax
- Built on Node.js
- Integrated development environment (IDE)
- Easy to learn and use
- Modern English-based syntax
Installation
Install Node.js:
- Download and install Node.js from nodejs.org
Install PEYE:
npm install -g peye-langAdd to Path:
- Windows: Automatically added to Path
- Linux/Mac:
export PATH="$PATH:$HOME/.npm-global/bin"
Basic Syntax
// This is a comment
// Variable declaration
var x = 10
var message = "Hello World"
// Function declaration
function greet() {
console("Hello!")
}
// Function call
greet()
// Loop example
repeat(5) {
console("Hello")
}
// Condition example
if(x > 5) {
console("x is greater than 5")
} else {
console("x is less than or equal to 5")
}IDE Usage
Start the IDE from terminal/command prompt:
peye-ideCreate a new PEYE file (.peye extension)
Write your code
Click "Run" button
