Skip to content

kagsa/kagsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KAGSA is a new Interpreted programming language based on Python.

it designed to be easy to learn and practical for use in various projects. It has a flexible syntax and allows some things that other languages prohibit, such as using certain symbols in variable names and starting variable names with numbers. KAGSA contains several main components, including a lexer, syntax checker, parser, and compiler. It supports object-oriented programming, iteration, and other features commonly used in programming languages.

Installation

You can download it via Python pip, launch the command prompt and run the following command:

pip install kagsa

KAGSA is also available for Windows, Linux and Termux, any version can be downloaded from the official website

There is a document explaining the installation method, you can read it Here

Getting Started

Once you have installed KAGSA, you can start writing and running KAGSA programs. Here are the basic steps:

  • Create a new text file with a .kg extension.
  • Open the file in a text editor and write your KAGSA code.
  • Save the file.
  • Open a terminal or command prompt and navigate to the directory where the file is saved.
  • Type the following command and press Enter:
kagsa filename.kg
  • Replace filename with the name of your file.

  • Your KAGSA program should now run in the terminal.

Documentation

Full documentation for KAGSA can be found in the KAGSA.ORG/DOCS.

Examples

KAGSA supports features such as object-oriented programming and iteration. Here are some example programs:

And more you can find it at KAGSA/KAGSA/examples.