Category Project status

Strings and Cursors

In argentum strings are mere sequences of Unicode code-points. Internally they are in UTF8. Strings are immutable, and not indexable. There is only one way to access string characters – to read them one-by-one start-to-end. Previously class sys_String played two…

Playground

Argentum got a web-based playground. Playground features: Limitations Future improvements With time the playground will be improved in many ways: All in all, right now this playground allows to play with Argentum online.Happy hacking!

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 operator This operator allows to perform…

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…