Continuing this thread, I have found an old thread from 8 years ago: https://polyml.inf.ed.ac.narkive.com/4xmYIUbU/is-there-a-windows-build-that-can-run-at-the-command-prompt
It talks about building a standalone version of Poly/ML on Windows. There you wrote: The alternative is to create a native Windows application. That can be done using either Windows Visual Studio or Msys/Mingw. The Poly/ML source distribution includes "projects" and a "solution" for Visual Studio and you can use the free "community" edition to build Poly/ML. You will need to change the linker "subsystem" option from "Windows" to "Console" but otherwise it's fairly straightforward. --- Does this work on Visual Studio Code? - Gergely On Tue, 26 Nov 2024 at 15:29, David Matthews <[email protected]> wrote: > > On Windows the Poly/ML executable creates a GUI window if it hasn't been > given an output stream. If you redirect the output to a file or a pipe > it won't create the window. > > Hope that helps. > David > > On 25/11/2024 13:09, Gergely Buday wrote: > > Hi there, > > > > it is possible to create a standalone script on Unices: > > > > #!/home/user/polyml-5.9/bin/poly --script > > > > print "Hello World!\n" > > > > But the Windows executable creates a window. Is it possible to compile > > a Poly/ML read-eval-print loop that I could start in a cmd window? My > > goal would be to write standalone scripts for Windows. > > > > - Gergely > > _______________________________________________ > > polyml mailing list > > [email protected] > > http://lists.inf.ed.ac.uk/mailman/listinfo/polyml > _______________________________________________ > polyml mailing list > [email protected] > http://lists.inf.ed.ac.uk/mailman/listinfo/polyml _______________________________________________ polyml mailing list [email protected] http://lists.inf.ed.ac.uk/mailman/listinfo/polyml
