forked from tinyfox266/ydiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
58 lines (34 loc) · 1.69 KB
/
README
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
* INSTALLATION
ydiff is implemented in Scheme. The Scheme implementation used for
this project is Racket. You can get it from http://racket-lang.org.
To build it, go to the directory containing the source and run "make".
It should compile to several executables, such as "diff-scheme",
"diff-cpp" etc. Copy those files to some directory in your PATH.
* USAGE
1. Run commands like:
diff-scheme demos/mk.scm demos/mk-c.scm
It will produce a HTML file named "file1-file2.html" in the current
directory.
2. Copy the support files "diff-s.css" and "nav-div.js" to the current
directory, then use your browser to open the HTML file. You can scroll
the file and click on the names to see the interactive effects.
NOTICE: If you use Chrome, the JavaScript will not run on local files,
so you may need to install a web server on your machine to view the
file correctly. I recommend mongoose:
http://code.google.com/p/mongoose
Just put the executable in your directory and run it, then visit
"localhost:8080". Have fun!
* Contact
Yin Wang ([email protected])
* LICENSE
Copyright (C) 2011 Yin Wang
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.