Category How to

Tests

Argentum got a special syntax to define tests right in the source files along this with code that needs to be tested, and a special mode of compilation, designed to support those tests. How to Define Tests in Code Argentum…

New Argentum project structure

Argentum is a modular language. Modules: Module is always a single text source file. It starts with a series of using declaration that define dependencies on other modules with optional imports of class/function/constant names from those used modules. Argentum SDK…

Build Argentum From Sources on Windows

Argentum uses vcpkg that automatically installs and builds all dependencies for all platforms in all configurations. Argentum dependencies include LLVM, Skia, SDL and other libraries. The initial build takes ≈60Gb of storage, it requires 16+Gb RAM, and depending on device…

Install Argentum demo on the SteamDeck (Arch Linux)

Steam-OS specific tasks Steam Deck is an Arch Linux machine with slightly tweaked environment.So first let’s first convert it to some more standard Linux. Download and install the Argentum demo Argentum demo goes in the form of DEB package. Arch…

Build Argentum compiler on Ubuntu

This instruction is deprecated, because Argentum switched to VCpkg. Use this instruction: Build Argentum from sources on Ubuntu Preparations Install GCC and friends: Install Ninja build system and CMake LLVM Get LLVM sources: Prepare build files: Build LLVM (this will…

Configure Linux subsystem on Windows (WSL)

Create Start the PowerShell and type: After reboot enter your username/password and viola, you have your Ubuntu. Unfortunately it is on drive C. If you need it somewhere else, there is a way: Move to over location (D:) Make a…

Build Argentum from sources on Windows

This post is outdated. See instead Directory structure: Install prerequisites Build LLVM from sources Unzip LLVM sources from d:\cpp\llvm-project-llvmorg-17.0.4 Make VS project/solution files This takes several minutes Build the LLVM project This might take several hours. Install Check…