jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: jed mode for "lfyre" language: how to indent lines?


On  2.03.05, Massimiliano Ghilardi wrote:
> 
> Hello to everybody in the list,
> 
> I am working on a programming language named "lfyre" and I wrote
> a jed mode for it, based on the mode for C.

 
> 1. lfyre code does not usually have semicolons at end of line
...
>    in order to have jed correctly indent lfyre sources, I had to set to
>    zero the value of C indentation style variable C_CONTINUED_OFFSET.
>    It works, but then C sources indentation is messed up.
> 
>    Is there a better solution?

Have a look at pymode.sl. Python doesnot have semicolons either.

> 2. to split an instruction on multiple lines, lfyre uses a backslash:
> 
>    if (this > that && \
>        here != there) {
...
>    Do I need to completely rewrite a lfyre_indent_line() for lfyre sources,
>    or there is an easier solution?

Again, this is similar to python, so pymode.sl might have a solution.

 
> 3. how can I submit lfyre mode do Jed Modes Repository?

See http://jedmodes.sourceforge.net/doc/ and especially
http://jedmodes.sourceforge.net/doc/howto-upload-or-update-a-mode.html

Günter

-- 
G.Milde web.de

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]