CodiePP / gitalk

literate C++ programming on GitHub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitalk

literate programming on Github

  • write your code in markdown
  • parse it with the scripts in utils
  • compile and run.

example

`1. go to the directory: src/Cpp

cd src/Cpp

`2. run script to generate source code

./mk_DataExample.sh

`3. change to tests directory

cd tests

g++ -g -o utData utData.cpp ../Data.cpp -I.. -std=c++11

`4. run

./utData

features

  • combines source fragments from multiple files
  • preserves line number information in the code (debugging)
  • paste fragments from files with <fpaste ...>

dependencies

this project depends on

Pandoc

html2text

which can be built in /ext:

git submodule update --init
cd ext/html2text.git
PREFIX=$HOME/.local ./configure
make && make install

(point $PREFIX to the installation root path)

About

literate C++ programming on GitHub

License:Other


Languages

Language:Shell 92.1%Language:Makefile 7.9%