JoeStrout / miniscript

source code of both C# and C++ implementations of the MiniScript scripting language
MIT License
275 stars 64 forks source link

get command-line MiniScript working on Windows #11

Closed JoeStrout closed 5 years ago

JoeStrout commented 5 years ago

Command-line MiniScript, written in C++ and defined by main.cpp in this repo, currently works great on Mac and Linux. We need to get it working on Windows too, including with standard command-line editing (i.e., up-arrow to step through previous commands, etc.).

I'm not familiar enough with Windows to efficiently do that. It's probably an easy task for anyone with experience in C++ command-line apps on Windows. Help wanted!

JoeStrout commented 5 years ago

FYI, using the Visual Studio command-line tools, the build procedure is simply

  1. cd into the src directory
  2. cl /EHsc /wd4068 *.cpp MiniScript/*.cpp /Feminiscript.exe