GithubHelp home page GithubHelp logo

tnaia / cwebbin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ascherer/cwebbin

0.0 2.0 0.0 1019 KB

Literate Programming in C/C++

Home Page: https://github.com/ascherer/cweb

License: MIT License

C 70.25% C++ 13.64% TeX 13.37% CWeb 2.73% Roff 0.01%

cwebbin's Introduction

literate programming in ansi-c/c++

cwebbin is the ansi-c/c++ implementation of silvio levy's and donald e. knuth's cweb system and donald e. knuth's ctwill program. it requires the contents of the original cweb source drop and the secondary ctwill source drop, to which it applies a set of change files to fix warnings issued by modern c/c++ compilers and to introduce advanced features. see the extensive readme for the full story.

NOTE: the link to the ctwill tarball on the stanford cs server seems to be broken at this time; luckily, the source package for cwebbin contains the original 2000 ctwill.tar.gz (among other things). you can extract the contents of this package with pax -rzf cwebbin-2020-18.sdeb.

extract cwebbin-2020.tar.gz and add the contents of cweb-3.64c.tar.gz and ctwill.tar.gz for the full set of source files. unix/linux users should work with make -f Makefile.unix exclusively (targets boot, cautiously, and all).

advanced packaging

alternatively, you may want to use rpmbuild or debbuild for compiling the sources and for creating installable packages in rpm and deb format. clone cweb and cwebbin, create the source drops with

git archive -o cweb-3.64c.tar.gz cweb-3.64c
git archive -o cwebbin-2020.tar.gz cwebbin-2020

respectively, put these two tarballs and the original ctwill.tar.gz (see note above) in the SOURCES directory and cwebbin.spec in the SPECS directory of your build arena, and run

{deb|rpm}build -ba SPECS/cwebbin.spec

depending on your preferences.

cweb for texlive

the extended sources and the build system were modified to smoothly integrate with the texlive build system. by invoking

{deb|rpm}build -bi SPECS/cwebbin.spec --with texlive

you receive a small tarball cweb-texlive.tar.gz, which should be extracted in texlive's source directory texlive-source (or the subversion equivalent). this tarball contains *-w2c.ch files that modify the original cweb sources for the texlive ecosystem. additionally, it contains language catalogs, tex macros, and cweb include files.

cwebbin's People

Contributors

ascherer avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.