Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
Dhruvan edited this page Oct 30, 2022 · 9 revisions

Welcome to the Versace-Programing-language wiki!


Getting Started

Installation

Windows

  • Open powershell
  • Paste the following command into powershell and press enter
New-Item "$HOME\versace" -ItemType "directory" -Force
Invoke-WebRequest "https://github.com/Ze7111/Versace/releases/latest/download/Windows-Versace-4.6.6.zip" -OutFile "$HOME\versace\versace.zip"
Expand-Archive "$HOME\versace\versace.zip" -cestinationPath "$HOME\versace" -Force
Remove-Item "$HOME\versace\versace.zip" -Force
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$HOME\versace\Windows-Versace-4.6.6", "User")
  • Once done, restart the terminal or whatever you are using to run versace
  • You can now test that versace is installed with versace -v
  • If that does not work, you can download the zip manually from the releases below and extract it to C:\Users\<username>\versace\Windows-Versace-4.6.6

Linux

  • Open terminal
  • Paste the following command into terminal and press enter
mkdir -p $HOME/versace
wget -O $HOME/versace/versace.zip
unzip $HOME/versace/versace.zip -c $HOME/versace
rm $HOME/versace/versace.zip
echo "export PATH=$PATH:$HOME/versace/Linux-Versace-4.6.6" >> $HOME/.bashrc
  • Once done, restart the terminal or whatever you are using to run versace
  • You can now test that versace is installed with versace -v
  • If that does not work, you can download the zip manually from the releases below and extract it to $HOME/versace/Linux-Versace-4.6.6

Mac

  • There is no binary for mac, you will need to install the python file along with the dependencies and use it with python

  • Type the following command to test run a versace file: (for windows)
versace example\\example.v 
  • If you want to decompile a versace file, you can do that by adding -c as an argument:
versace example\\example.v -c
  • Versace also has a debug mode, which you can use by adding -d as an argument:
versace example\\example.v -d
  • All arguments are as follows:
Argument Description
-p Shows the performance statistics of the program
-d Runs the debug mode
-v Shows the version of the program
-h Shows the help menu
-o Compiles the versace code to a binary exe file
-c Compiles the versace code to a python file
-cfg Allows you to edit the config file
-f Forces the program to freeze before exiting

Your done with the installation! Now you can start making your own versace files!

Remember that the file should be in the same directory as the versace.exe or versace or versace.py file.

OR

You can add the install directory to PATH

Read the rest of the documentation here

If you like this project, please consider giving it a star on GitHub!