Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
download:main [2016/11/18 15:24] – sbs | download:main [2022/02/03 14:16] – sbs | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | To get started, you need to install the compiler '' | ||
+ | |||
+ | ==== Installation via packages | ||
+ | |||
+ | Please choose the package that matches your operating system best: | ||
+ | |||
+ | < | ||
+ | <panel type=" | ||
+ | The '' | ||
+ | |||
+ | {{url> | ||
+ | |||
+ | |||
+ | Choose and download the appropriate [[bin|packages (sac2c & stdlib)]]. | ||
+ | Thereafter you can install them via: | ||
+ | < | ||
+ | $ sudo dnf install sac2c-VERSION-RELEASE.rpm | ||
+ | $ sudo dnf install sac-stdlib-VERSION-RELEASE.rpm | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | $ sudo rpm --install sac2c-VERSION-RELEASE.rpm | ||
+ | $ sudo rpm --install sac-stdlib-VERSION-RELEASE.rpm | ||
+ | </ | ||
+ | </ | ||
+ | <panel type=" | ||
+ | |||
+ | The '' | ||
+ | |||
+ | Choose and download the appropriate [[bin|packages (sac2c #and# stdlib)]]. | ||
+ | Thereafter you can install them via: | ||
+ | < | ||
+ | $ sudo dpkg --install sac2c-VERSION-RELEASE.deb | ||
+ | $ sudo dpkg --install sac-stdlib-VERSION-RELEASE.deb | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | $ sudo apt install sac2c-VERSION-RELEASE.deb | ||
+ | $ sudo apt install sac-stdlib-VERSION-RELEASE.deb | ||
+ | </ | ||
+ | </ | ||
+ | <panel type=" | ||
+ | |||
+ | The '' | ||
+ | |||
+ | |||
+ | Choose and download the appropriate [[bin|packages (sac2c #and# stdlib)]]. | ||
+ | Thereafter you can install them via: | ||
+ | - Double click the downloaded file sac2c-VERSION-RELEASE.pkg | ||
+ | - A dialog box should appear that will guide you through the install process | ||
+ | - Confirm that you agree with our license, and click //Install// to install SaC | ||
+ | - The binaries '' | ||
+ | - Repeat the procedure with the file sac-stdlib-VERSION-RELEASE.pkg | ||
+ | |||
+ | NB: The SaC binaries are postfixed by their release type (production or debug), so there is a '' | ||
+ | </ | ||
+ | <panel type=" | ||
+ | While we do not currently support a native Windows version, you can still use it through a virtualisation layer | ||
+ | of your choosing. The easiest way to use '' | ||
+ | for Linux support, the Windows Subsystem for Linux (WSL). | ||
+ | To do this, you have to do four things: | ||
+ | - You need to activate the developer mode of Windows. (Settings -> Update & Security -> For developers -> tick the Developer Mode) | ||
+ | - You need to activate the WSL. (Control Panel -> Programs -> Programs & Features -> Turn Features On & Off -> tick Windows Subsystem for Linux) | ||
+ | - Go to the Microsoft Store and choose a Linux Distribution of your choice, e.g, Ubuntu 18.04 LTS. | ||
+ | |||
+ | |||
+ | Choose and download the [[bin|packages (sac2c #and# stdlib)]] that match your chosen Linux Distribution. | ||
+ | Thereafter you can install them using that system' | ||
+ | |||
+ | After that, you should have the sac system up and running! | ||
+ | </ | ||
+ | <panel type=" | ||
+ | These are user contributed packages. Any documentation / help can be found through the corresponding [[bin# | ||
+ | </ | ||
+ | <panel type=" | ||
+ | The '' | ||
+ | |||
+ | For simplicities sake, an install script is provided. It supports several flags, but the most important one is '' | ||
+ | |||
+ | <alert type=" | ||
+ | |||
+ | Installation of the compiler is as simple as extracting from the archive: | ||
+ | < | ||
+ | $ mkdir ~/ | ||
+ | $ tar -xzf sac2c-VERSION-RELEASE.tar.gz | ||
+ | $ nano README | ||
+ | $ bash ./ | ||
+ | $ cd ~ && rm -rf temp_extract | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | In case you run into any troubles installing, please get in touch via our [[: | ||
+ | |||
+ | ==== Installation from sources ==== | ||
+ | |||
+ | The sources are hosted on two '' | ||
+ | |||
+ | <panel type=" | ||
+ | The standard library is hosted on [[https:// | ||
+ | |||
+ | If you are curious about the details on where the built modules are actually stored or on how platform dependent versions are created and kept apart you can read up about [[download: | ||
+ | |||
+ | Contributions via pull-requests are always welcome! | ||
+ | </ | ||
+ | |||
+ | <panel type=" | ||
+ | The compiler is hosted on [[https:// | ||
+ | Build instructions can be found there in the [[https:// | ||
+ | To get access to those parts, you need to register on our dokuwiki as well. You can do so [[: | ||
+ | Contributions via pull-requests here are also always welcome! | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Further libraries and utilities ==== | ||
+ | |||
+ | Both of the above mentioned git servers contain further goodies. | ||
+ | |||
+ | On [[https:// | ||
+ | |||
+ | * more SaC libraries: e.g. benchmarks ([[https:// | ||
+ | * editor/IDE stuff such as [[https:// | ||
+ | * docker containers related to SaC such as [[https:// | ||
+ | * and more! | ||
+ | |||
+ | On [[https:// | ||
+ | * further docker images, | ||
+ | * language servers, | ||
+ | * and various other SaC related things by several of our contributors. | ||
+ | |||
+ | Feel free to browse and contribute! | ||
- | {{page> | ||
- | {{page> |