I will give it a look. I have gone through `Compiler Construction` at your 
recommendation before and that has already deepened my understanding 
significantly.

As for what I am trying to accomplish here, I am attempting to make a 
React-like DSL, at least in terms of syntax. I've created a styled macro which 
is inspired my styled-components in React:
    
    
    styled(StyledDiv, `div`): """
      padding: 24px;
    """
    
    component[void](MyComponent):
      StyledDiv:
        h1: "HELLO WORLD"
    
    
    Run

The trouble I'm having in the OP is that I can't properly pass props into my 
components, seemingly because the children of my component are evaluated before 
the props are passed to them. 

Reply via email to