Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kagsa/kagsa
KAGSA PROGRAMMING LANGUAGE
https://github.com/kagsa/kagsa
compile compiler compiler-frontend console console-application interpreter kagsa kg lang language languages open-source programming programming-language programming-languages python
Last synced: 3 months ago
JSON representation
KAGSA PROGRAMMING LANGUAGE
- Host: GitHub
- URL: https://github.com/kagsa/kagsa
- Owner: kagsa
- License: mit
- Created: 2022-05-26T13:22:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T18:18:18.000Z (over 1 year ago)
- Last Synced: 2024-09-17T08:58:59.527Z (5 months ago)
- Topics: compile, compiler, compiler-frontend, console, console-application, interpreter, kagsa, kg, lang, language, languages, open-source, programming, programming-language, programming-languages, python
- Language: Python
- Homepage: http://www.kagsa.org
- Size: 4.51 MB
- Stars: 64
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-programming-languages - KAGSA - KAGSA is a new Interpreted programming language based on Python, the language will be practical and reliable in your projects. (Uncategorized / Uncategorized)
README
#
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](https://www.kagsa.org/download/)There is a document explaining the installation method, you can read it [Here](https://www.kagsa.org/download/help.html)
# 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](https://www.kagsa.org/docs/index.html).
# Examples
KAGSA supports features such as object-oriented programming and iteration. Here are some example programs:
- [Hello World](https://github.com/kagsa/kagsa/blob/main/examples/helloworld.kg)
- [Object-Oriented Programming](https://github.com/kagsa/kagsa/blob/main/examples/oop.kg)
- [Factorial](https://github.com/kagsa/kagsa/blob/main/examples/factorial.kg)
- [FizzBuzz](https://github.com/kagsa/kagsa/blob/main/examples/fizzbuzz.kg)
- [Palindrome Checker](https://github.com/kagsa/kagsa/blob/main/examples/palindrome.kg)
- [Binary Search](https://github.com/kagsa/kagsa/blob/main/examples/binsearch.kg)
- [Error Handling](https://github.com/kagsa/kagsa/blob/main/examples/errors.kg)And more you can find it at [KAGSA/KAGSA/examples](https://github.com/kagsa/kagsa/tree/main/examples).