https://github.com/themaster1127/hthasm
HTHasm is a simple compiled scripting language designed exclusively for Linux systems and x86 architecture. Its primary purpose is to display messages using message boxes (`msgbox`). This documentation provides an overview of the language syntax, installation instructions, and usage.
https://github.com/themaster1127/hthasm
Last synced: 2 months ago
JSON representation
HTHasm is a simple compiled scripting language designed exclusively for Linux systems and x86 architecture. Its primary purpose is to display messages using message boxes (`msgbox`). This documentation provides an overview of the language syntax, installation instructions, and usage.
- Host: GitHub
- URL: https://github.com/themaster1127/hthasm
- Owner: TheMaster1127
- License: mit
- Created: 2024-06-24T22:53:14.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T09:49:28.000Z (11 months ago)
- Last Synced: 2025-01-26T00:34:03.836Z (4 months ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTHasm
HTHasm is a simple compiled scripting language designed exclusively for Linux systems and x86 architecture. Its primary purpose is to display messages using message boxes (`msgbox`). This documentation provides an overview of the language syntax, installation instructions, and usage.
## Installation
Before running the assembly code, ensure you have Python, NASM (Netwide Assembler), and GNU Linker (ld) installed.
### Installing NASM and GNU Linker (ld)
- **For Debian/Ubuntu:**
```bash
sudo apt update
sudo apt install nasm binutils
```- **For CentOS/RHEL:**
```bash
sudo yum install nasm binutils
```- **For Fedora:**
```bash
sudo dnf install nasm binutils
```- **For Arch Linux:**
```bash
sudo pacman -S nasm binutils
```## Usage
1. **Clone the repository:**
```bash
git clone https://github.com/TheMaster1127/HTHasm.git
cd HTHasm
```2. **Write your HTHasm code:**
Create a new file with a `.hthasm` extension (e.g., `hello.hthasm`) and write your HTHasm code using `msgbox` commands.
Example (`hello.hthasm`):
```plaintext
msgbox, Welcome to HTHasm!
msgbox, This is a simple example.
```3. **Run your HTHasm program:**
Execute the HTHasm script using the provided Python script (`HTHasm.py`).
```bash
python3 HTHasm.py hello.hthasm
```This command compiles your HTHasm code into an executable and runs it. On Unix-like systems, you may need to prepend `./` to the executable filename if it doesn't execute automatically.