Skip to content

Conversation

@dkearns
Copy link

@dkearns dkearns commented Apr 19, 2016

Here's a reasonably significant update to the Eiffel syntax highlighting file.

It adds support for what I believe to be the current state of both ES Eiffel and Liberty Eiffel.

I've generally dropped support for clearly obsolete syntax and checked that the current releases are supported but there might be a few outlying cases I've missed. If you'd like I could add support for the obsolete features behind a flag otherwise highlighting them as errors.

I've also started to add folding support based on the 'syntax' method.

The file defaults to supporting ES syntax with Liberty available when the eiffel_liberty variable is set.
It seems to me that the syntax is not different enough to warrant breaking the files up to support the two dialects separately but I could do that if you'd prefer.

My understanding is that with a few major well known exceptions that Liberty intends to move in the direction of supporting ECMA where possible and they even appear to have a GSOC proposal for this work. So hopefully the syntax differences will decrease with time.

Finally, if you'd like to keep a more lightweight approach based on the current file that's no problem. I'd be happy to maintain this separately.

Fixes issue #2

dkearns added 3 commits April 20, 2016 07:50
Support modern features and drop support for obsolete syntax.

Add folding support to class-level clauses, feature declarations,
strings and comments.

Add support for Liberty Eiffel with the eiffel_liberty config variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant