This is to fix the issue with compiler optimizations not being applied. It also includes some other improvements.
Currently WIP. I haven't identified the cause of the issue yet. Observations so far:
Deforestation isn't being applied
Normalization is being applied
the compiler unit tests are passing, suggesting that if the optimizer got the right input, it would match it and optimize it (unless the tests are wrong in some way)
the output of the expander seems right visually, but I haven't verified whether the filter etc. there are "literally" the ones we expect
Thoughts:
it would be great to develop better ways of testing this. The macro stepper still skips a lot of steps, even though we are emitting expansion events... not sure why.
Commit 806f267 is interesting. Wonder why the test was passing before.
Public Domain Dedication
[x] In contributing, I relinquish any copyright claims on my contribution and freely release it into the public domain in the simple hope that it will provide value.
(Why: The freely released, copyright-free work in this repository represents an investment in a better way of doing things called attribution-based economics. Attribution-based economics is based on the simple idea that we gain more by giving more, not by holding on to things that, truly, we could only create because we, in our turn, received from others. As it turns out, an economic system based on attribution -- where those who give more are more empowered -- is significantly more efficient than capitalism while also being stable and fair (unlike capitalism, on both counts), giving it transformative power to elevate the human condition and address the problems that face us today along with a host of others that have been intractable since the beginning. You can help make this a reality by releasing your work in the same way -- freely into the public domain in the simple hope of providing value. Learn more about attribution-based economics at drym.org, tell your friends, do your part.)
Summary of Changes
This is to fix the issue with compiler optimizations not being applied. It also includes some other improvements.
Currently WIP. I haven't identified the cause of the issue yet. Observations so far:
filter
etc. there are "literally" the ones we expectThoughts:
Public Domain Dedication
(Why: The freely released, copyright-free work in this repository represents an investment in a better way of doing things called attribution-based economics. Attribution-based economics is based on the simple idea that we gain more by giving more, not by holding on to things that, truly, we could only create because we, in our turn, received from others. As it turns out, an economic system based on attribution -- where those who give more are more empowered -- is significantly more efficient than capitalism while also being stable and fair (unlike capitalism, on both counts), giving it transformative power to elevate the human condition and address the problems that face us today along with a host of others that have been intractable since the beginning. You can help make this a reality by releasing your work in the same way -- freely into the public domain in the simple hope of providing value. Learn more about attribution-based economics at drym.org, tell your friends, do your part.)