TEXT   83

types expect txt

Guest on 18th June 2022 08:07:33 AM

  1. <span class="hljs-attr">i</span> = <span class="hljs-number">1_234</span>
  2. <span class="hljs-attr">f</span> = <span class="hljs-number">1.23</span>
  3. <span class="hljs-attr">f</span> = <span class="hljs-number">7</span>e+<span class="hljs-number">12</span>
  4. <span class="hljs-attr">f</span> = <span class="hljs-number">2</span>e3
  5. <span class="hljs-attr">f</span> = -<span class="hljs-number">1.234</span>e-<span class="hljs-number">12</span>
  6. <span class="hljs-attr">basic</span> = <span class="hljs-string">"string"</span>
  7. <span class="hljs-attr">multi_basic</span> = <span class="hljs-string">"""multiple
  8. lines"""</span>
  9. <span class="hljs-attr">literal</span> = <span class="hljs-string">'string'</span>
  10. <span class="hljs-attr">multi_literal</span> = <span class="hljs-string">'''multiple
  11. lines'''</span>
  12. <span class="hljs-attr">b</span> = <span class="hljs-literal">true</span>
  13. <span class="hljs-attr">b</span> = <span class="hljs-literal">false</span>
  14. <span class="hljs-attr">b</span> = <span class="hljs-literal">on</span>
  15. <span class="hljs-attr">b</span> = <span class="hljs-literal">off</span>
  16. <span class="hljs-attr">b</span> = <span class="hljs-literal">yes</span>
  17. <span class="hljs-attr">b</span> = <span class="hljs-literal">no</span>
  18. <span class="hljs-attr">dotted.key</span> = <span class="hljs-number">1</span>
  19. <span class="hljs-attr">array</span> = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]
  20. <span class="hljs-attr">inline</span> = {name = <span class="hljs-string">"foo"</span>, id = <span class="hljs-number">123</span>}

Raw Paste


Login or Register to edit or fork this paste. It's free.