PhiScript is an interpreted programming language that I have created with the goal of enhancing my programming skills. Due to its experimental nature, it may not be actively maintained for an extended period. However, I plan to address any reported bugs and provide occasional updates.
- Dynamic typing
- Support for if-else statements
- Support for for-else statements with tags
- Support for while-else statements with tags
- Ability to use break statements with tags
- Ability to use continue statements with tags
- Import statement functionality
- Built-in modules
- Functions (work in progress)
Python: Version 3.9 or higher
Clang: Version 10 or higher. Please ensure that it supports C++20. If you wish to change the compiler, please modify the config.json
file (refer to the Changing config.json section for detailed information).
git clone https://github.com/upizpp/PhiScript.git
cd PhiScript
python build.py
python build.py
python build.py DEBUG
python build.py TEST DEBUG
The config.json
file is used to configure the build process. Below is a description of each field:
compiler
: The compiler used to compile the source code. The default value isclang++
.- Warning: Do not attempt to modify the value of
standard
. Thebuild.py
script can only run in theC++20
standard.