Before you begin, ensure you have the following prerequisites:
- A code editor or IDE of your choice.
- Git installed on your system.
- Rust installed on your system.
- A terminal or command prompt.
To start using NebuLang, follow these steps:
Open your terminal and run the following command to clone the NebuLang repository from GitHub:
git clone https://github.com/nethriis/nebulang
cd nebulang
./install
Once you have NebuLang installed, you can start writing and running NebuLang programs.
Using your preferred code editor, create a new file with a .nbl
extension. For example, hello.nbl
.
{% code title="hello.nbl" %}
set message: String = "Hello, World!";
Write(message);
emit 0;
{% endcode %}
Open your terminal, navigate to the directory where your NebuLang file is located, and run the NebuLang interpreter with your file as an argument:
nebulang hello.nbl
The output of your program will be displayed in the terminal.
You've successfully set up NebuLang and run your first NebuLang program. You can now explore the language further, refer to the documentation for detailed information on NebuLang's features, and start building your own applications.
Happy coding with NebuLang!