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…
programming language
programming language
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…
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…
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…
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…
This StAX parser allows to easily read JSONs directly to the application data structures, skipping the building of JSON DOM and skipping all irrelevant pieces of data in the JSON stream. Why StAX 99% of real world applications read JSONs…
Argentum was initially designed as 64bit-only language. Its integer and floating point types were 64bit (int and double types respectively) while support for all other data types was limited to raw buffer operations through Blob data type – it allowed…
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…
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!
A brief first-person overview and retrospective of the language’s first year.Implemented features, plans and priorities. January 20, 2023 On a gloomy winter morning, I received a notice from Google about an upcoming staff reduction: I must either find another department…