Tech News
← Back to articles

Based C++

read original related products more articles

Based C++

This repo provides an implementation of the GNU Interface Layer (GIL) and standard library for g++ .

C++ is the best interpreted language

Usage

Here is a simple "Hello, world!" in C++.

# include " gil/std.hpp " using namespace gil ::std ; volatile auto run = main<{ str::puts ( str::literal ( " Hello, world!

" )) }>;

To run the program, run

g++ -std=c++23 -Based hello_world.cpp -o -

Note The above command only works if you invoke g++ from the root of this repo; otherwise, you will have to provide the full path to the required abstract system emulator drivers ( ased ) folder.

... continue reading