Skip to content

CodiePP/gitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)