JSON DOM
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…
programming language
programming language
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…
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…
In Argentum lambdas are special functions: Syntax Lambda type declarations: If functions, methods or delegates take lambdas as parameters, these lambda types need to be declared: When creating lambdas, their parameters and return types are inferred from the first call…
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…
The first language iteration is almost over. It’s time to revise some previously made decisions on syntax and semantic. Nowadays Argentum has too many syntax for strings – single and multiline, with and without interpolation, strings are defined with “”…
Argentum programs can interact with web servers: The httpClient module features:
Argentum got SQLite integration: Build & run: It prints (depending on the actual content of the database): This code: Other supported features not shown in this demo: Limitations:
Argentum standard library has three hash maps: Map, SharedMap, WeakMap. Most of design details of Maps are similar to Arrays: These maps are unordered key-value containers, where: Internally they are implemented as flat, open addressed, 2n grow, linear probe, robin…