<feed xmlns='http://www.w3.org/2005/Atom'>
<title>torque-asm/src/stages, branch v2.2.0</title>
<subtitle>Lightweight meta-assembler</subtitle>
<id>https://code.benbridle.com/torque-asm/atom?h=v2.2.0</id>
<link rel='self' href='https://code.benbridle.com/torque-asm/atom?h=v2.2.0'/>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/'/>
<updated>2025-04-17T04:37:45Z</updated>
<entry>
<title>Implement octal literals</title>
<updated>2025-04-17T04:37:45Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2025-04-17T04:37:45Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/commit/?id=6eb86dc668ccd3e3b263f5942ab4eef63f49a7db'/>
<id>urn:sha1:6eb86dc668ccd3e3b263f5942ab4eef63f49a7db</id>
<content type='text'>
Octal literals use the prefix '0o'.
</content>
</entry>
<entry>
<title>Fix width checks for negative integers</title>
<updated>2025-04-11T22:19:26Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-04-11T22:19:26Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/commit/?id=dddb76c4ad504022fa4f4c4f6965c08da22c387e'/>
<id>urn:sha1:dddb76c4ad504022fa4f4c4f6965c08da22c387e</id>
<content type='text'>
The width of a negative integer was previously being counted in the
same way as for a positive integer, by inverting the bits to make it a
positive integer and then finding the placement of the highest-order 1
bit.

The actual width of a negative integer will always be one greater than
this value however, because the highest-order 1 bit of an inverted
negative integer will always have directly above it a significant 0 bit
used as the sign bit.
</content>
</entry>
<entry>
<title>Implement negative integer literals</title>
<updated>2025-04-11T22:08:09Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-04-11T22:08:09Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/commit/?id=c724c9157dbc4721fa8ed93033cd9699c9652277'/>
<id>urn:sha1:c724c9157dbc4721fa8ed93033cd9699c9652277</id>
<content type='text'>
Negative literals take the forms -29, -0x1D, and -0b11101 for decimal,
hexadecimal, and binary.
</content>
</entry>
<entry>
<title>Report token without prefix in invalid literal errors</title>
<updated>2025-03-22T22:37:29Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-03-22T22:37:29Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/commit/?id=315d23bf2148e831b0c14a118841133aacc1fb96'/>
<id>urn:sha1:315d23bf2148e831b0c14a118841133aacc1fb96</id>
<content type='text'>
Previously, the token quoted in the error message for an invalid
literal error included the radix prefix. This is already visible in
the highlighted source report, and implied by the named radix in the
error message.
</content>
</entry>
<entry>
<title>Update assembler dependency</title>
<updated>2025-03-18T00:24:20Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-03-17T23:06:17Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/commit/?id=0925bd156ae2e34ad259d40aaf870eb5f7cfcfb9'/>
<id>urn:sha1:0925bd156ae2e34ad259d40aaf870eb5f7cfcfb9</id>
<content type='text'>
torque-asm now uses the Compiler type provided by the assembler library.
</content>
</entry>
<entry>
<title>Tidy cody</title>
<updated>2025-03-18T00:24:20Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-03-18T00:24:02Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/commit/?id=f25bc47f5c6b7e52304b1e9c9adb4310f2e77ee7'/>
<id>urn:sha1:f25bc47f5c6b7e52304b1e9c9adb4310f2e77ee7</id>
<content type='text'>
- Rename tokens field on SyntacticMacroDefinition to body
- Rename push_err! macro to err!
- Create macros for character-matching logic in syntactic parsing
- Replace .as_bytes().to_vec() pattern with .into_bytes()
</content>
</entry>
<entry>
<title>Rewrite entire assembler</title>
<updated>2025-03-11T03:59:26Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-03-06T07:33:27Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/torque-asm/commit/?id=1ecee352f5844b0809d7ae66df52e34f42b44c8e'/>
<id>urn:sha1:1ecee352f5844b0809d7ae66df52e34f42b44c8e</id>
<content type='text'>
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
</content>
</entry>
</feed>
