drym-org / qi

An embeddable flow-oriented language.
58 stars 12 forks source link

Phase shifting #127

Closed countvajhula closed 9 months ago

countvajhula commented 9 months ago

Summary of Changes

Some follow-up work from last week's meeting. Also, in some modules we had everything required and provided for-syntax and everything defined begin-for-syntax and then required without modulating the phase, i.e. just as (require module). Assuming it is equivalent to define everything at phase 0 and then modulate the phase at require time, this should be simpler and make these modules easier to reason about.

So far I haven't succeeded at doing the same thing for the compiler.rkt module which also has most of its code in the syntax phase...

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.)