Supporting a complex languge [message #1288133] |
Tue, 08 April 2014 09:55 |
Manel Ibáñez Messages: 3 Registered: April 2014 |
Junior Member |
|
|
Hello everybody!
I want to provide Eclipse support for a language I'm designing. It's a game's oriented framework but it is OO and has polymorphism, interfaces, generics, reflection, data type inference, etc. and it resembles Java or C# in some aspects, so it's not a simple language. Could support for this kind of languages be done (without becoming crazy) with xtext?
This language has "modules" which are written in the language itself, so a lot of non-project files will have to be parsed too in order to provide proper code completion, etc.
I would love to be able to provide text coloring, folding and complete autocompletion, which can be a pain to do when datatype inference and generics are involved.
Thanks!
|
|
|
Re: Supporting a complex languge [message #1288370 is a reply to message #1288133] |
Tue, 08 April 2014 13:56 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
On 2014-08-04 14:15, Manel Ibáñez wrote:
> Hello everybody!
>
> I want to provide Eclipse support for a language I'm designing. It's a
> game's oriented framework but it is OO and has polymorphism, interfaces,
> generics, reflection, data type inference, etc. and it resembles Java or
> C# in some aspects, so it's not a simple language. Could support for
> this kind of languages be done (without becoming crazy) with xtext?
>
Yes, compared to the alternatives, and if your language is sane to begin
with.
Take a look at Xtend for an example of a complex language implemented
with Xtext. (Hint, much of that can be reused).
- henrik
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04327 seconds