Welcome to the official Zelix repository! Here, you will find the source code of the Fluent language. Have fun!
NOTE: This project is still in development and may not be stable. Zelix is still not a language for production use. All development changes are going to be uploaded to the
dev
branch.
- Blazing-fast execution times
- Simple syntax
- Flexible standard library
- Easily package your app into an executable
- Free - as in Freedom.
- And more!
To install Zelix, you can download the official Zelix installer from the Releases pages. Once the installer shows that the installation was successful, you may need to restart your terminal for changes to take effect.
- On Windows: Just close and re-open the terminal (CMD, PowerShell, etc.)
- On Linux/macOS: Execute
source ~/.bashrc
orsource ~/.zshrc
depending on your shell
To create a new Zelix project, you can use the zelix init
command. This will create a new Zelix project in the current directory.
NOTE: Make sure the current directory is empty before running the
zelix init
command, otherwise, add a name after the command to create a new directory with the project name, e.g.zelix init my_project
.
zelix init
You will be prompted to fill relevant information about your project like project name, author, etc. Once you've filled in the information, the project will be created, and you can start coding!
Example structure:
my_project/
src/
main.zx
Zelix.yml
.gitignore
To run your code use:
zelix run
The official Zelix documentation can be found on the official website.
Contributions are welcome! If you'd like to contribute to the Zelix language, please read the CONTRIBUTING.md file for more information.
To build Zelix from source into an executable, you need to execute either one of the build scripts:
- On Windows:
build.bat
- On Linux/macOS:
build.sh
After the build process is complete, you will find the executable in the bin/
directory.
Please refer to SECURITY.md for more information on how to report security vulnerabilities.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.
==== The Zelix Programming Language ====
---------------------------------------------------------
- This file is part of the Zelix Programming Language
codebase. Zelix is a fast, statically-typed and
memory-safe programming language that aims to
match native speeds while staying highly performant.
---------------------------------------------------------
- Zelix is categorized as free software; you can
redistribute it and/or modify it under the terms of
the GNU General Public License as published by the
Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
---------------------------------------------------------
- Zelix is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
---------------------------------------------------------
- You should have received a copy of the GNU General
Public License along with Zelix. If not, see
<https://www.gnu.org/licenses/>.