Install Lucia
You can install the Lucia programming language using one of two methods:
Method 1: Git Clone
To install Lucia via Git, follow these steps:
- Open a terminal window.
- Clone the Lucia repository:
git clone https://github.com/SirPigari/lucia.git lucia
- Navigate to the directory:
cd lucia
- Activate the language (requires Python 3.11 or higher):
./env/activate.py
- Verify installation:
lucia -v
Method 2: Installer from GitHub
You can also install Lucia using an installer provided on GitHub:
- Go to the Lucia GitHub repository.
- Download the latest installer for your operating system (Windows, macOS, or Linux).
- Run the installer and follow the on-screen instructions.
- Verify installation:
lucia -v
Post-Installation Setup
After installing Lucia, make sure you have the necessary dependencies or environment variables set up. You may need to add Lucia to your system's PATH variable if the installer did not do this automatically.
Configuration Guide
The config.json
file contains various configurable options
that control the behavior and appearance of the Lucia programming environment.
config.json
{
"moded": false,
"debug": false,
"debug_mode": "normal",
"supports_color": true,
"use_lucia_traceback": true,
"warnings": true,
"use_predefs": true,
"print_comments": false,
"execute_code_blocks": {
"C": true,
"ASM": true,
"PY": true
},
"lucia_file_extensions": [
".lucia",
".luc",
".lc",
".l"
],
"home_dir": "C:\\Users\\sirpigari\\AppData\\Local\\Programs\\LuciaAPL\\env",
"recursion_limit": 9999,
"version": "1.3",
"color_scheme": {
"exception": "#F44350",
"warning": "#FFC107",
"debug": "#434343",
"comment": "#757575",
"input_arrows": "#136163",
"input_text": "#BCBEC4",
"output_text": "#BCBEC4",
"info": "#9209B3"
}
}