Re: [dylan] An experiment with IntelliJ

Francesco Ceccon <[email protected]> Fri, 27 Sep 2013 13:19:14 +0200
Newsgroups gmane.comp.lang.dylan.gwydion.devel
Message-ID <[email protected]>
> I plan to start lexing Dylan and then syntax highlighting for Dylan will work (without a full blown parser).

Why not a parser? You linked me a yacc file with Dylan's grammar, I think it should be easy to port it to the Java equivalent. Correct me if I'm wrong.

> 	• Support for running dylan-compiler and identifying warnings, serious warnings and errors.
> 	• Lexing Dylan to provide proper syntax highlighting.

Sounds reasonable.

> 	• Accessing some of the data from the Dylan compiler to provide feedback.

Can we already do this or not? If I understand it correctly you want to make something like libclang for Dylan.

> 	• Starting to parse Dylan into IntelliJ's PSI (like an AST) for doing completion and so on.
> 	• Improving the LID file lexer and parser so that we can highlight files that don't exist, improper usage of the Dylan extension (a warning), and other IDE-like things.

What do you mean by "highlighting file that don't exist"?


Good work so far by the way.

- Francesco
_______________________________________________
hackers mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/hackers