CppInterOp.jl

Julia Interface to https://github.com/compiler-research/CppInterOp
Author Gnimuc
Popularity
8 Stars
Updated Last
3 Months Ago
Started In
August 2023

CppInterOp

Build Status codecov

Installation

pkg> add https://github.com/Gnimuc/CppInterOp.jl.git

Example

julia> using CppInterOp

julia> import CppInterOp as Cpp

julia> create_interpreter()
CppInterOp.CppInterpreter(Ptr{Nothing}(0x0000600001585580))

julia> Cpp.Declare("#include <iostream>")
0

julia> Cpp.Process("""std::cout << 42 << std::endl;""")
42
0