Because I forgot to say that `dsl` and `options` are for users and must be 
exported. And Nim prevent exporting templates that are not at the top level. 
The following code does not compile:
    
    
    template dsl*(body: untyped) =
      block:
        template options*(optionsBody: untyped) =
          # ...
        body
    
    
    Run

Reply via email to