Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C source in .W file

Tags:

c

linux

unix

latex

tex

I found a C source in these files with .w extensions. It seems like a mix of TeX code and C Programming Language. This is an example of these sources.

How can I compile?

PS: Excuse me for the silly question but I didn't found any documentation

like image 785
mghis Avatar asked Jun 26 '11 13:06

mghis


1 Answers

Use Knuth's CWEB, a literate-programming tool. You can download it from here.

like image 163
JasonFruit Avatar answered Oct 05 '22 07:10

JasonFruit