-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
49 lines (30 loc) · 1.1 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
OCaml Global Tagger:
A plugin for GNU Global which tags OCaml source code, using CamlP4 for versions
3.10 of OCaml and above. Provides ocaml_tags, which creates tags for ml and mli
files, and an ogtags script that wraps a gtags call with the ocaml_tags plugin.
On Sourceforge:
https://sourceforge.net/projects/ocamlglobaltags/
Requires:
OCaml 3.10 or above
CamlP4
GNU Global (will compile without it)
Install:
./configure
make
make install
(No surprises).
Usage:
ocaml_tags: will produce a list of tags for a given list of input files.
ogtags: will run gtags with ocaml_tags plugged in.
Caveats:
ocaml_tags uses the CamlP4 parser, hence if the source code contains errors,
the tagger will balk. I recommend setting up your make file to run "ogtags
--incremental" *after* compilation.
From SVN checkout:
Before ./configure &c., run "autoreconf" and "automake --add-missing" as
required.
Authors:
Matthew Hague ([email protected])
License:
Distributed under the GNU General Public License version 3, which is
distributed in the COPYING file.