A literature programming tool -- by Yijun Yu
Usage
Markup Documents (e.g. LaTeX)
- Add one line to the beginning
\usepackage{lp}
Note. Add either
\newif\iflp\ifx\lp\undefined \lptrue \else \lpfalse \fi
\newif\iflpexplicit\ifx\lpexplicit\undefined \lpexplicittrue \else \lpexplicitfalse \fi
or
\newif\iflp\ifx\lp\undefined \lpfalse \else \lptrue \fi
\newif\iflpexplicit\ifx\lpexplicit\undefined \lpexplicitfalse \else \lpexplicittrue \fi
To control whether to output the highlighted typeset document or not.
- Use the following macros to markup your document for define, use,
import and export of the concepts
\use{FooBar}{foo bar is used}
\define{FooBar}{blabla is defined}
\import{FooBar}{... \cite{..}}
\export{FooBar}{...}
Here is an Example.
Generating Programs
- Just call your usual LaTeX or PDFLaTeX processors
Here are example error messages.
Analyzing Programs
- Just call the C/C++ compiler
Here are example error messages.
Development
Download
References
Design decisions
Document processors:
Word/OpenDoc,
LaTeX,
DocBook,
TEI,
Literate programming tools:
WEB,
ChangeLog
Date: Nov 30, 2006 submitted
Date: Nov 28, 2006 applied literature programming to authoring paper itself
Date: Aug 14, 2006 applied literature programming to understanding the ICSE paper