The AetherScript Programming Language
Project description
Enhance Your Coding Experience
Introduction
AetherScript is a dynamic and user-friendly programming language based on Python, designed to facilitate seamless application development and enhance the coding experience. It is accessible to both beginners and experienced developers, with a variety of features and workflows to choose from. AetherScript promotes creativity and collaboration, providing an ideal environment for developers to bring their ideas to life.
Installation
You can use AetherScript in your Python projects with the AetherX
library.
$ py -m pip install --upgrade AetherX
$ py
>>> from AetherX import AES
>>> AES.run()
<AetherScript> _
Documentation
Aether Chambers
Once AetherScript is activated, the <AetherScript>
prompt appears. This is the AetherScript workspace, known as an Aether Chamber.
Built-in functions
Feature | Description | Example/s |
---|---|---|
Binary operations | Binary operations are supported (addition, subtraction, multiplication, and division). | 2*3 , 1+2 , 24-12 , 121/11 |
Booleans | Declaring conditions with the True and False keywords |
(Under Development) |
Comments | AetherScript comments are signified by a tilde (~ ). (Single line Comments) |
~ This is a comment |
Comparisons | Symbols like < and > help to classify values of variables and compare them. != means "not equal to". Values like MathPi can be used in calculations. Execution of MathPi gives the value of π. |
2<3 , 3>2 , 2!=3 , MathPi |
Decimals | Decimal point numeric values can be operated on | 2.5*3.2 |
Error handling | AetherScript classifies code into "legal" and "illegal" values. AetherScript will offer suggestions on how to fix misplaced characters. | |
Function | The Function command is used to declare a function prefix, element, or character. |
(Partially Developed) |
Newlines | Newlines can be added with the -> function. |
(Under Development) |
Null values | A constant having no value. | |
Output | The Write function is used to display text. |
Write("Hello World") |
Run | The Run function can be used to execute a .aes file. |
Run("FILENAME.aes") |
Strings | Strings can be declared by with double quotes (" ). |
(Under Development) |
Variables | The Variable function is used to declare a value for further usage. |
(Under Development) |
Writing programs in AetherScript (in 3 steps)
- Open your IDE and write your AetherScript prompt.
- Save it as a
.aes
file. - Run the Aether Chamber, then use the
Run
function to execute the program.
Example program
Write("Hello World")
~ find the circumference of a circle with a radius of using the formula "C = 2πr"
Write(2*MathPi*10)
~ binary operations
Write(2*6.42*24/12*2+100)
This program will output the following:
<AetherScript> Run("example.aes")
Hello World
62.83185307179586
151.35999999999999
0
Updates and development
AetherScript will be regularly updated, and community assistance is appreciated. Issues and pull requests are welcomed!
© Realms - MIT License
Special thanks to David Callanan for the theory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file AetherX-0.4.tar.gz
.
File metadata
- Download URL: AetherX-0.4.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff48b218b328a6955d09e93f536ed92b02c63d41bedc181ecad3ec9e5b435eca |
|
MD5 | 6718841c875e04515c932879e14895cf |
|
BLAKE2b-256 | 2d312ff67bb4f694b777cc71c8ce90e62cecf1d650bd7713933439905f746f1e |
File details
Details for the file AetherX-0.4-py3-none-any.whl
.
File metadata
- Download URL: AetherX-0.4-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bfbe3dea9b509db09e5345939904a406b92054ec7b7cdf617bc57a525b3c50d |
|
MD5 | e6e99f22141ed9a4593570094abca28d |
|
BLAKE2b-256 | f5fec25497e4853058692be6f7a3e7ff165b404721e62a7b9559c3506e80ccb3 |