Open azdavis opened 1 year ago
This is a bit non trivial especially with larger projects. For instance, if i have a project with a mlb file
a.sml
b.sml
c.sml
and my cursor is in the middle of b.sml, and I request SML/NJ output, we should be clever enough to feed SML/NJ only a.sml and part of b.sml, up to the current cursor.
Feeding the interpreter only part of a file is also a bit tricky, since what if the file starts with e.g. a structure Foo = struct ...
that goes until the end of the file? How should invoking SML/NJ when the cursor is between the struct
and matching end
work?
Problem
No integration with SML/NJ currently. Have to go to the terminal and manually run it every time.
Solution
(from Bob Harper on the Project Savanna Discord)