I'd like to add basic language support for erlang (.erl/.hrl) files.

I see this in the docs... but the web link on sourceforge is dead. Could 
someone point me at the appropriate docs?

-Todd


http://webpages.charter.net/edreamleo/FAQ.html#how-can-i-use-leo-with-unsupported-languages
"""
How can I use Leo with unsupported 
languages?<http://webpages.charter.net/edreamleo/FAQ.html#id29> 

Here is a posting which might be helpful: 
http://sourceforge.net/forum/message.php?msg_id=2300457 The @first 
directive<http://webpages.charter.net/edreamleo/glossary.html#directive>is the 
key to output usable code in unsupported languages. For example, to 
use Leo with the Basic language, use the following:

@first $IFDEF LEOHEADER
@delims '
@c
$ENDIF

 So this would enable a basic compiler to “jump” over the “true” 
LEO-header-lines. Like this:

$IFDEF LEOHEADER <-conditional compilation directive
#@+leo-ver=4 <-these lines not compiled
#@+node:@file QParser005.INC
#@@first
#@delims '
'@@c
$ENDIF <-... Until here!
<rest of derived code file ... >

 This changes the comment symbol the apostrophe, making comments parseable 
by a BASIC (or other language.)
"""

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/pzMiaWM_RtUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to