Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] [ANNOUNCE] otags reloaded

1 view
Skip to first unread message

Hendrik Tews

unread,
Aug 25, 2010, 7:29:18 AM8/25/10
to caml...@inria.fr
Hi,

I would like to announce that the first release of OTAGS RELOADED
is available at

http://askra.de/otags/

Otags reloaded generates tags tables for emacs and vi/vim.
Currently it is only available for ocaml 3.11, work for 3.12
will start after the first wave of bug reports and feature
requests.

Otags reloaded has been rewritten from scratch for camlp4 and is
thought as a replacement for the old otags, which nowadays
depends on camlp5. The new otags version has the following new
features:

- parse files without launching camlp4 subprocesses (for the
syntax extensions distributed with camlp4)

- tag files that require different syntax extensions in one run

- produce sorted vi tags tables


Otags reloaded is distributed under GPL v3.


Bye,

Hendrik Tews

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Yoann Padioleau

unread,
Aug 26, 2010, 1:39:29 PM8/26/10
to Hendrik Tews, caml...@inria.fr

It's unfortunate that otags stops when only one file does not parse.
On my code I have very few files using camlp4 but when I run it with

otags -r *

I get
Fatal error: escaping exception Loc.Exc_located(_, _)
File "ocamlsqlite/recent-orm-sqlite/hash/p4_hash.ml", line 41, characters 14-22
Quotation.Make(Ast).Error.E(_)

Would be better to skip this file and continue.


Also when I run otags on files from stdlib I get:
File "core/pervasives.mli", line 133, characters 0-8
Camlp4 parse error: [a_LIDENT] expected after "external" (in [sig_item])

Hendrik Tews

unread,
Aug 27, 2010, 3:23:29 AM8/27/10
to caml...@yquem.inria.fr
Yoann Padioleau <pad...@wanadoo.fr> writes:

It's unfortunate that otags stops when only one file does not parse.

Indeed, the intended behaviour is drop files that cause errors
and continue tagging. Anything else is a bug.

Fatal error: escaping exception Loc.Exc_located(_, _)
File "ocamlsqlite/recent-orm-sqlite/hash/p4_hash.ml", line 41, characters 14-22
Quotation.Make(Ast).Error.E(_)

This looks like a quotation parsing error. Can you try the just
release version 3.11.2? If the problem persists then please send
me the offending input file.

Also when I run otags on files from stdlib I get:
File "core/pervasives.mli", line 133, characters 0-8
Camlp4 parse error: [a_LIDENT] expected after "external" (in [sig_item])

This is one of the camlp4/ocaml incompatibilities (try camlp4o
pervasives.mli!). There are more like this, see for instance
problem #5135, #5122. All we can do here is to submit bug reports
and hope that the incompatibilities get eventually fixed.

Bye,

Hendrik

0 new messages