Erlang/OTP Forums

Author Message

<  Erlang  ~  large projects in erlang

anupamkapoor
Posted: Tue Sep 18, 2007 8:57 pm Reply with quote
Joined: 05 Sep 2007 Posts: 7
hi all,

i am curious to know what tools folks use while participating in largish e.g. > 30k loc in erlang ?

for example, is a cscope like cross-indexer or something with equivalent functionality available for erlang ?

also, what might be a good set of guide-lines to adhere to for these kind of projects ? i know, the question is kind of vague, but was hoping for folks in the trenches on what their thoughts might be ?

kind regards
anupam
View user's profile Send private message
michal
Posted: Wed Sep 19, 2007 10:48 am Reply with quote
User Joined: 20 Jul 2006 Posts: 44 Location: London
Hi,
I worked with 600k loc in Erlang and we were using emacs with its Erlang mode and etags to index all the source files. You can index your source code recursively starting from the current directory with the following command:

find . -name "*.[he]rl" -print | etags -

This will produce TAGS file which you can then add in your .emacs file like this:

(setq tags-file-name "/home/michal/projects/TAGS")

To read more about emacs shortcuts used for tags read here:
http://www.erlang.org/doc/man/erlang_mode.html
http://www.erlang.org/doc/apps/tools/erlang_mode_chapter.html

Michal

_________________
http://www.erlang-consulting.com
View user's profile Send private message
admin
Posted: Fri Sep 21, 2007 8:37 am Reply with quote
Site Admin Joined: 28 Jun 2006 Posts: 108
Other commonly used tools include the profiler (fprof), the coverage analysis tool (cover), the Dyalizer (Type Checking), as well as some sort of build tools.


Francesco
--
http://www.erlang-consulting.com
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum