How to run Argentum compiler (and try examples)
Supported platforms: Windows10-11, MacOS15, Linux.Supported architectures: x64 (aka x86-64) ARM64. Steps:
programming language
programming language
Supported platforms: Windows10-11, MacOS15, Linux.Supported architectures: x64 (aka x86-64) ARM64. Steps:
Argentum has 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…
This post extends the previous post related to break/continue/return operators. In other languages Let’s start with a JavaScript example: Why is it sometimes desirable to use lambda over loops? On the other hand Lambdas have one big disadvantage: handling control…
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…
It’s time to make Argentum programs work on: To do so it needs a graphical user interface library: But this GUI library itself needs a foundation: So meet an experimental “GuiPlatform” module: Example So far this example is tested on…
Module Content It’s available in playground, so go and try it yourself 🙂 Argentum JSON module provides three separate ways to handle JSONs in your application: Use cases To be specific we need some sort of common task to be…
Argentum JSON module has effective Writer and Parser that reads and writes generic application data structures to and from JSONs. It’s a preferred way of using JSON in Argentum. Though in rare cases when an application has to deal with…
Argentum got a JSON module. Its Writer class allows to directly encode in JSON arbitrary application data without creating any intermediate DOM structures. Writer has a number of methods that write structural and primitive data nodes.After data is written, a…
Numeric types Constants Since Argentum numeric constants define both value and type, there were added two suffixes (f and s): 32-bit constants are limited to: Constants without suffixes define 64bit values. Operations All integers operations are defined in 32 or…
Argentum strings are mere sequences of Unicode code-points (internally encoded in Utf-8). Argentum string is immutable. They are not indexable.There is only one way to access string characters – is to read them one-by-one start-to-end. Argentum String has unique features…