<div dir="ltr"><div>I didn't test it, but this reduces the cruft and should avoid the compiler messages.</div><div><br></div>|barchart|<br>barchart := <br>        { #'$schema' -> '<a href="https://vega.github.io/schema/vega-lite/v5.json" rel="noreferrer" target="_blank">https://vega.github.io/schema/vega-lite/v5.json</a>'.<br>        #description -> 'A simple bar chart'.<br>        #usermeta -><div>             ({ <span style="color:rgb(80,0,80)"> #embedOptions -></span></div><div><span style="color:rgb(80,0,80)">                   (</span><span style="color:rgb(80,0,80)">export -> true.</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">                   compiled -> false.</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">                   editor: false } as: JsonObject).</span></div>        #width -> 'container'<span style="color:rgb(80,0,80)">  }  as: JsonObject</span><div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 2, 2021 at 4:14 PM tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I love this way of using dNU: to build as you go.<br>
<br>
The Parser fights back by getting all hissy about the unknown messages. Yes, one can handle this manually and so on in a browser, or I suppose filing in the code. <br>
<br>
> On 2021-09-02, at 3:01 AM, Levente Uzonyi <<a href="mailto:leves@caesar.elte.hu" target="_blank">leves@caesar.elte.hu</a>> wrote:<br>
> <br>
>       ^JsonObject new<br>
>               at: '$schema' put: '<a href="https://vega.github.io/schema/vega-lite/v5.json" rel="noreferrer" target="_blank">https://vega.github.io/schema/vega-lite/v5.json</a>';<br>
>               description: 'A simple bar chart';<br>
>               width: 'container';<br>
>               usermeta: (JsonObject new<br>
>                       embedOptions: (JsonObject new<br>
>                               export: true;<br>
>                               compiled: false;<br>
>                               editor: false));<br>
<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
Strange OpCodes: PUS: PUrge System<br>
<br>
<br>
<br>
</blockquote></div>