Skip to content

overmighty/i-use-arch-btw

Repository files navigation

I use Arch btw

"I use Arch btw" but it's a Turing-complete programming language.

Introduction

I use Arch btw is an esoteric programming language based on Brainfuck in which the commands are the following keywords:

i, use, arch, linux, btw, by, the, way, gentoo.

See the language specification for more information.

This repository contains a C/C++ library implementing I use Arch btw and a dependent command-line interpreter.

Getting Started

Prerequisites

  • CMake >= 3.23
  • a C99 and C++17 compiler toolchain supported by CMake and providing POSIX unistd.h, mmap(), MAP_ANON, and defining __x86_64__ when targeting x86-64

Building

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ..
$ cmake --build .

Installation

# cmake --install .

Usage

Command-line interpreter

$ i-use-arch-btw <source file>

Try some of the example I use Arch btw programs as source files.

For details:

$ i-use-arch-btw -h

C/C++ library

For documentation of the public API, see the public headers.

For example usage, see the command-line interpreter and example libiuab programs.

License

This software is licensed under the GNU General Public License, version 3.