Re[2]: Erlang, Emacs, & Semantic

"Eric M. Ludlam" <[email protected]> Wed, 5 Mar 2003 07:50:58 -0500
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
>>> "Vlad Dumitrescu" <[email protected]> seems to think that:
>Hi,
>
>In case you didn't get any answer yet, the latest version of erlang.el is at
>http://www.erlang.org/download/contrib/erlang.el
>Note this is a beta version to be released officialy soon, but I used it for
>2 months without any problems.

Thanks.  I'll try it out when I find some simple erlang code.

>I am also using Semantic, and am very pleased with it. The only problem is
>when I have several large files open, emacs stops responding for half a
>minute sometimes while reparsing. I had to turn off some features.

Yes, that long pause was one of my priorities early in the semantic
2.0 development cycle.  We now have a more robust and clever
incremental parser which prevents many of those long pauses with nice
fast incremental mini-parses.

>Combining Semantic with Distel seems like a great idea!

If you are looking to get use more features of semantic with erlang
we can give you a hand on our cedet-semantic mailing list:

http://sourceforge.net/mail/?group_id=17886

>From what little I've seen of erlang, the code is exposed to the
semantic parser.  You would probably greatly benefit from either the
new lexer API which could be modified to encapsulate code inside a
virtual block so you can skip parsing it.  You could also benefit from
the new wisent parser, which is a bison port.  It is much more
efficient at parsing code than the old LL parser.

As far as the various semantic based tools, I am not familiar enough
with Erlang to know which of them is useful.

Thanks, and have fun.
Eric


>best regards,
>Vlad
>
>----- Original Message -----
>From: "Eric M. Ludlam" <[email protected]>
>To: <[email protected]>
>Sent: Tuesday, March 04, 2003 4:37 AM
>Subject: [Distel-hackers] Erlang, Emacs, & Semantic
>
>
>> Hi,
>>
>>   Vladimir G. Sekissov <[email protected]> had written support for Erlang
>> code in Semantic (http://cedet.sf.net/semantic.shtml) which I
>> maintain.  (Semantic is a parser generator infrastructure.)  The
>> semantic project is undergoing changes and I've been looking for some
>> amount of guidance in porting his code to the new API's we are working
>> on.  I then found Distel.
>>
>>   I'm just trying to find erlang-mode for Emacs and some simple erlang
>> test code so I can make sure I don't break anything when I port.  I
>> was hoping not to download and install all of Erlang.
>>
>>   In reading about Distel it occured to me that it could be used as a
>> back-end to Semantic's token database.  If any of you have used
>> semantic for coding, you might consider this as a spiff way to get
>> more out of semantic for your hacking needs.  Examples include smart
>> completion, eldoc-like support, advanced imenu/speedbar support, and
>> use via ECB.  (http://ecb.sf.net).
>>
>> Have fun
>> Eric
>>
>> --
>>           Eric Ludlam:                 [email protected],
>[email protected]
>>    Home: http://www.ludlam.net            Siege: www.siege-engine.com
>> Emacs: http://cedet.sourceforge.net               GNU: www.gnu.org
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Etnus, makers of TotalView, The
>debugger
>> for complex code. Debugging C/C++ programs can leave you feeling lost and
>> disoriented. TotalView can help you find your way. Available on major UNIX
>> and Linux platforms. Try it free. www.etnus.com
>> _______________________________________________
>> Distel-hackers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/distel-hackers
>>
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf