(Bellos) Bellande Operating System Scripting Language
bellos_scripts | ||
executable | ||
git_scripts | ||
src | ||
.gitignore | ||
dependencies.txt | ||
LICENSE | ||
make_rust_executable.sh | ||
README.md |
bellos
Bellande Operating System Scripting Language Features
- Command Execution: Run both built-in and external commands.
- Variable Assignment and Expansion: Assign and use variables within scripts or interactive mode.
- Control Structures: Implement logic flow using if-else statements, while loops, and for loops.
- Functions: Define and call custom functions.
- File Operations: Perform basic file I/O operations.
- Pipelines: Chain commands together using pipes.
- Input/Output Redirection: Redirect command input and output to and from files.
- Background Jobs: Run commands in the background.
- Environment Variable Handling: Access and modify environment variables.
Usage of Bellande Rust Executable Builder
- https://github.com/Architecture-Mechanism/bellande_rust_executable
bellande_rust_executable -d dependencies.txt -s src -m bellos.rs -o executable/bellos
Usage of Bellande Rust Importer
Bellos executable run scripts
./bellos hello_world.bellos
Built-in Commands
Basic Commands
- echo [args...]: Print arguments to standard output.
- cd [directory]: Change the current working directory.
- exit: Exit the shell.
File Operations
- write : Write content to a file.
- append : Append content to a file.
- read : Read and display the contents of a file.
- read_lines : Read and display the contents of a file line by line.
- delete : Delete a file.
BELLOS Usage
#!/usr/bin/env bellos
# File: hello_world.bellos
# Simple Hello World script
echo "Hello, World!"
## Website Crates
- https://crates.io/crates/bellos
### Installation
- `cargo add bellos`
Name: bellos Version: 0.0.1 Summary: Bellande Operating System Scripting Programming Language Home-page: github.com/RonaldsonBellande/bellos Author: Ronaldson Bellande Author-email: ronaldsonbellande@gmail.com License: GNU General Public License v3.0
## License
BellandeOS Scripting Language is distributed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html), see [LICENSE](https://github.com/Architecture-Mechanism/bellos/blob/main/LICENSE) and [NOTICE](https://github.com/Architecture-Mechanism/bellos/blob/main/LICENSE) for more information.