-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
noweb.scroll
65 lines (55 loc) · 1.16 KB
/
noweb.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import ../code/conceptPage.scroll
id noweb
name Noweb
appeared 1989
creators Norman Ramsey
tags textMarkup
website https://www.cs.tufts.edu/~nr/noweb/
writtenIn bourne-shell make tex c perl awk korn-shell c-shell lisp html
relatedConcepts cweb
repoStats
firstCommit 1991
commits 351
committers 7
files 385
newestCommit 2024
country United States
originCommunity Tufts University
example
\section{Hello world}
Today I awoke and decided to write
some code, so I started to write Hello World in \textsf C.
<<hello.c>>=
/*
<<license>>
*/
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World!\n");
return 0;
}
@
\noindent \ldots then I did the same in PHP.
<<hello.php>>=
<?php
/*
<<license>>
*/
echo "Hello world!\n";
?>
@
\section{License}
Later the same day some lawyer reminded me about licenses.
So, here it is:
<<license>>=
This work is placed in the public domain.
githubRepo https://github.com/nrnrnr/noweb
firstCommit 1991
stars 177
forks 20
subscribers 18
created 2012
updated 2022
description The noweb tool for literate programming
issues 6
wikipedia https://en.wikipedia.org/wiki/Noweb