Skip to content

Try interactiv c++ in your browser, work with c like as Lua or Python. Template for practising with c++ based on xeus-clang in a jupyter lab or jupyter notebook.

pflegende/cppInterpreter

 
 

Repository files navigation

exploring cpp in a jupyter notebook

thx to @olilarkin

escpecialy for the docker environment

:)

try interactiv c++ in your browser:

jupyter-lab: Binder

jupyter-notebook: Binder

This is a template for a environment like a interpreter with c++ / c in a jupyter notebook.


following is the original readme made by @olilarkin and forked by @pflegende *** thu mart 2nd 2021 22:40

Xeus-cling & matplotlib-cpp in a jupyter notebook

Binder

This is a template for doing audio DSP visualizations with xeus-cling and matplotlib-cpp and rendering to wav from C++ in a jupyter notebook.

Thanks to @wolfv for the matplotlib-cpp code, @martinRenou for the binder yml and @DannyHavenith for the original docker image, which has been slightly modified:

https://hub.docker.com/repository/docker/olilarkin/xeus-cling-mpl

also uses the ICST DSP library AudioFile class for wav writing

how to run it

  • install docker desktop
  • using a terminal, or git-bash mingw-64 terminal on windows
  • git clone --recursive https://github.com/olilarkin/XeusClingMatplotLibExample
  • cd XeusClingMatplotLibExample
  • ./launch-notebook.sh

About

Try interactiv c++ in your browser, work with c like as Lua or Python. Template for practising with c++ based on xeus-clang in a jupyter lab or jupyter notebook.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.0%
  • Jupyter Notebook 17.7%
  • Shell 0.3%