Category Project status

Pipe and initializer operators

These two binary infix operators simplify some frequent scenarios Pipe operator This operator allows to pass the value from left operand to the right operand and return the result of the right operand. Initializer (colombo) operator This operator allows to…

Generics v0

Now argentum classes and interfaces can have parameters: Parameters can be used in place of classes in type declarations: In v0 there are three limitations: Some of these limitations will be reduced in next revisions. Arrays became generics too: These…

Argentum got const-ness and shared ownership

Tl;DR Added two pointers “*Class”, “&*Class”, one operator “*expression”, one type of constant “*methods”. What’s added: How to use Sometimes it is good to have immutable data objects. This is how it’s done in Java: This is how it’s implemented…

Names and modules handling

Starting today Argentum got new rules for modules and name visibility. TL;DR Previously: Now: Examples All examples can be found in windows-demo #1 Basics #2 Friend of my friend… The SDL-FFI module contains the low-level function declarations implemented in C:…

Windows Demo v0

It’s just released: a demo that lets everyone to try the Argentum programming language on Windows. Download link:  argentum-demo.7z It contains: Short instruction: For the SDL graphical demo application do these three commands: Play with `*.ag` files in `src` directory to see…