Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnimuc/cppinterop.jl
Julia Interface to https://github.com/compiler-research/CppInterOp
https://github.com/gnimuc/cppinterop.jl
Last synced: 18 days ago
JSON representation
Julia Interface to https://github.com/compiler-research/CppInterOp
- Host: GitHub
- URL: https://github.com/gnimuc/cppinterop.jl
- Owner: Gnimuc
- License: mit
- Created: 2023-08-06T16:28:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-29T16:22:52.000Z (about 1 month ago)
- Last Synced: 2024-10-12T10:24:23.462Z (27 days ago)
- Language: Julia
- Size: 80.1 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CppInterOp
[![Build Status](https://github.com/Gnimuc/CppInterOp.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Gnimuc/CppInterOp.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/Gnimuc/CppInterOp.jl/graph/badge.svg?token=dROvWMipWJ)](https://codecov.io/gh/Gnimuc/CppInterOp.jl)## Installation
```
pkg> add https://github.com/Gnimuc/CppInterOp.jl.git
```## Example
```
julia> using CppInterOpjulia> import CppInterOp as Cpp
julia> create_interpreter()
CppInterOp.CppInterpreter(Ptr{Nothing}(0x0000600001585580))julia> Cpp.Declare("#include ")
0julia> Cpp.Process("""std::cout << 42 << std::endl;""")
42
0
```