azdavis / millet

A language server for Standard ML.
https://azdavis.net/posts/millet
Apache License 2.0
210 stars 12 forks source link

Running/debugging #9

Closed matozoid closed 2 years ago

matozoid commented 2 years ago

Hi! Thanks for the great work :-)

The install went perfectly, but when I tried to run the sample program it seemed that running and debugging is not part of Millet, I guess? What is the suggested interaction - compile and run from the command line?

azdavis commented 2 years ago

Yes. Currently actually running SML code is outside the scope of Millet. Millet is only a language server - it analyzes code without running it, using the "statics" from the definition of Standard ML.

To run SML code, you'll need a full implementation of Standard ML. Some popular ones are SML/NJ and MLton.

Implementing the ability to run SML (the "dynamics") would be a massive undertaking and isn't currently planned for Millet for the foreseeable future.

Thank you very much for your interest in the project!

HarrisonGrodin commented 2 years ago

There is a (WIP?) debugger for SML, as well, called mulligan.