summaryrefslogtreecommitdiff
path: root/src/types
Commit message (Collapse)AuthorAge
* Implement <abs> operator for expressionsBen Bridle2025-04-27
| | | | The <abs> operator returns the absolute value of an integer.
* Implement <tal> operator for expressionsBen Bridle2025-04-26
| | | | | | The <tal> operator returns the number of set bits in the binary representation of an integer. For negative numbers, only a single sign bit is counted in the result.
* Implement <len> operator for expressionsBen Bridle2025-04-18
| | | | | The <len> operator returns the width of an integer in bits, using the same calculation as for packing an integer into a bit field.
* Rewrite entire assemblerBen Bridle2025-03-11
The language is now more general, the code is better structured, error reporting is more detailed, and many new language features have been implemented: - conditional blocks - first-class strings - more expression operators - binary literals - negative values - invocations in constant expressions