Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/magayaga/binpl

The BINPL low-level programming language
https://github.com/magayaga/binpl

Last synced: 18 days ago
JSON representation

The BINPL low-level programming language

Awesome Lists containing this project

README

        





BINPL

BINPL (also known as **Binary-like Programming Language**) is an interpreted low-level programming language that binary codes to execute machine code programs, decimal number systems, or hexadecimal number systems. It is the program that reads binary data from a file and interprets it based on the specified mode (decimal, hexadecimal, or ASCII character).

It was written in **C**, **C++**, **C#**, **Rust**, **Go**, **JavaScript**, **Julia**, **Lua**, **Ruby**, **TypeScript**, and **Python** programming languages. It was created and developed on February 25, 2024, by Cyril John Magayaga, who is best known for the [Hyzero](https://github.com/magayaga/hyzero) and [Xenly](https://github.com/magayaga/xenly) programming languages.

BINPL is available on February 25, 2024 for the **Windows** operating system. Adding **Linux** and **macOS** operating systems.

## Getting start

If you do want to try out BINPL locally, you'll need to install our build dependencies (Clang, rust, git) and check out the BINPL repository, for example on Windows:

```bash
# Download BINPL's code
$ git clone https://github.com/magayaga/BINPL.git
$ cd BINPL
```

Then you can build and run:

### Compilers

**C**, **C++**, and **Rust**
```bash
# Build and run (Choose the clang or rust)
$ clang src/binpl.c -o binpl
$ clang src/binpl.cpp -o binpl
$ rustc src/binpl.rs

# Open
./binpl examples/main.binpl
```

**C#** with Dotnet
```bash
# Build and run
$ cd src/csharp/binpl
$ dotnet build
```

**Java**
```bash
# Build and run
$ cd src
$ javac -source 8 -target 8 binpl.java
$ java binpl
```

**Go**
```bash
# Build and run
$ go run src/binpl.go
$ go build src/binpl.go
```

### Interpreters

**JavaScript** and **TypeScript**
```bash
# Run node (JavaScript)
$ node src/binpl.js

# Run deno or bun (TypeScript)
$ deno run src/deno/binpl.ts
$ bun run src/bun/binpl.ts
```

**Python**
```bash
# Run (Python)
$ python src/binpl.py
```

**Lua**
```bash
# Run (Lua)
$ lua src/binpl.lua
```

**Julia**
```bash
# Run (Julia)
$ julia src/binpl.jl
```

**Ruby**
```bash
# Run (Ruby)
$ ruby src/binpl.rb
```

## Copyright

Copyright (c) 2024 Cyril John Magayaga. All rights reserved.

Licensed under the [Apache-2.0](LICENSE) license