Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I think there is a lot more utility in the Rust team focusing on lower-level tooling

Agreed, I hope that a good "Language service" API is on the horizon, so that tool authors don't need to reinvent the wheel in order to support parsing, error display, highlighting, completions and so on.

A step in the right direction is the possibility of getting machine-readable (json) error messages from the compiler.

Being able to just call the compiler as a library to produce AST's from source would be very handy, though it would probably complicate the compiler to be able to provide useful output from broken/incomplete source, which is critical for tool use.



That'd be great to have and I think we'll see one in the future. No idea about the timeframe though.


It's being worked on, but it will be a bumpy road if the compiler simultaneously is going to be made more incremental.

https://github.com/rust-lang/rfcs/pull/1317

Nim does a good job with their IDE support

http://nim-lang.org/docs/idetools.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: