Mint is an interpreted scripting language.
On Linux:
mkdir build
cd build
cmake ..
make
sudo make installThis will install mint as /bin/mint.
To build mint in release mode use cmake -DCMAKE_BUILD_TYPE=Release ...
For more details about CMake see CMake documentation.
On Windows:
mkdir build
cd build
cmake ..
cmake --build . --target ALL_BUILD
cmake --build . --target INSTALLThis will install mint as C:\mint\bin\mint.exe.
To build mint in release mode use cmake --build . --target ALL_BUILD --config Release and cmake --build . --target INSTALL --config Release.
To create a "hello world" script create a new file named helloworld.mn.
Open it and write the following lines:
#!/bin/mint
print {
'hello world !\n'
}
You can then run mint helloworld.mn.
More informations can be found in the wiki section.
This repo provides packages to enable syntax highlighting and other features for several IDE.
This package provides:
- Syntax highlighting
To install run the following command:
cp -r ./share/subl ~/.config/sublime-text/Packages/MintTo install run the following command:
copy .\share\subl -destination "~\AppData\Roaming\Sublime Text\Packages\Mint" -recurseThis package provides:
- Syntax highlighting
To install run the following command:
cp -r ./share/vscode ~/.vscode/extensions/mintTo install run the following command:
copy .\share\vscode -destination ~\.vscode\extensions\mint -recurseThis package provides:
- Syntax highlighting
To install for Qt Creator run the following command:
cp -r ./share/kate/* ~/.config/QtProject/qtcreator/generic-highlighter/syntaxTo install for Kate run the following command:
cp -r ./share/kate/* ~/.local/share/org.kde.syntax-highlighting/syntaxTo install for Qt Creator run the following command:
copy .\share\kate\* -destination ~\AppData\Roaming\QtProject\qtcreator\generic-highlighter\syntax -recurseTo install for Kate run the following command:
copy .\share\kate\* -destination ~\AppData\Local\org.kde.syntax-highlighting\syntax -recurse