Skip to content
Pulsewave Software edited this page Sep 15, 2024 · 1 revision

EasiScript Wiki

Welcome to the EasiScript Wiki! Here you'll find documentation and information to help you get started with EasiScript, understand its features, and utilize it effectively.

Table of Contents

Introduction

EasiScript is a programming language designed to simplify programming tasks and fit into a wide range of applications. It offers various commands and libraries to cater to different needs, from basic programming to advanced applications.

Getting Started

  1. Installation:

    • Download the latest version of EasiScript from the releases page.
    • Follow the installation instructions provided in the README.
  2. Basic Usage:

    • Create a new .es file.
    • Write your EasiScript code using the available commands.
    • Run your script using the EasiScript interpreter.

Commands Reference

Here is a comprehensive list of EasiScript commands:

Basic Commands

  • PRINT: Outputs text to the console.
  • DISPLAY: Shows content on the screen.
  • SAY: Makes the program speak text.

Arithmetic Commands

  • SUM: Adds numbers.
  • SUBTRACT: Subtracts numbers.
  • MULTIPLY: Multiplies numbers.
  • DIVIDE: Divides numbers.

Control Flow Commands

  • IF: Conditional statement.
  • ELSE: Alternative conditional block.
  • WHILE: Loop that continues while a condition is true.

Data Structures

  • LIST: Creates a list.
  • DICT: Creates a dictionary.
  • SET_KEY: Sets a key-value pair in a dictionary.

File Operations

  • OPEN: Opens a file.
  • READ: Reads from a file.
  • WRITE: Writes to a file.
  • CLOSE: Closes a file.

For a full list of commands and their usage, refer to the commands documentation.

Libraries

Available Libraries

  • EasiScript v1.1: Includes a variety of libraries for general and powerful uses, with 150 commands available.

How to Use Libraries

  1. Importing Libraries:

    • Use the IMPORT command to include libraries in your script.
  2. Available Libraries:

    • Library 1: Description.
    • Library 2: Description.

Examples

Here are some example scripts to help you get started:

Example 1: Hello World

PRINT "Hello, World!"

Example 2: Basic Arithmetic

Copy code
SET a = 10
SET b = 20
SET result = ADD a b
PRINT result

##License EasiScript is licensed under the MIT License. See the LICENSE file for more details.