[Coco] lwtools 4.14 released

William Astle lost at l-w.ca
Sun Apr 9 02:43:19 EDT 2017


Since a few folks around here use lwtools, I figure it's worth 
announcing that the fourth annual "pre-fest"[1] lwtools release has just 
hit the official site. Source code is available here:

http://lwtools.projects.l-w.ca/

If you rely on third party packages, you will need to wait until the 
relevant package maintainers update their packages. I do not provide any 
official binary packages.

There are a couple of important changes with lwtools 4.14 which all 
affect lwasm:

* The "forwardrefmax" pragma is now enabled by default. That means that 
assembly times are greatly reduced. However, in some cases, you may find 
that your resulting program is slightly larger if you have forward 
references. Basically, anything without a forced addressing mode that 
can't be resolved on pass 1 will be forced to the maximum addressing 
mode. If you need the original behaviour, use the 
"--pragma=noforwardrefmax" option.

* It is now possible to define macros conditionally. That is, inside of 
conditional structures.

* A bug in the expression simplifier has been fixed. This bug would 
cause certain constructions to evaluate incorrectly due to a bug in like 
term collection. Odds are that you have not run into this problem 
because it requires some very specific circumstances, but if you've been 
pulling out your hair wondering why an expression is evaluating wrong, 
this might fix it.


[1] It seems I've made a release in the time leading up to CocoFest for 
four years running, now. Might as well call it an annual thing.


More information about the Coco mailing list