4 comments

  • Yannik_Sc14 minutes ago
    While I generally like Lua this code just looks .. not so Lua - like, it definitely is Lua, but it could look much better by utilizing language features like &quot;Parenthesis-free calls&quot;:<p><pre><code> ui.Button &quot;Button Text&quot; { on_click = function() print(&quot;Hello world&quot;) end, disabled = true } </code></pre> or<p><pre><code> ui.VStack { padding = 31, -- Named key =&gt; option wrap = true, ui.Button &quot;...&quot; {}, -- Indexed by number =&gt; children } </code></pre> feels more Lua and slightly cleaner imo
  • hollowturtle47 minutes ago
    Great job! The declarative API looks sick! I&#x27;ll try it. Sometimes I love to think that if our universe is really infinite, then somewhere there&#x27;s a universe where the browsers supports native luajit scripting instead of javascript(and in another universe all of this plus array indexes starting from 0 ;)
    • cat-whisperer42 minutes ago
      I trust you would make that happen! And I would be right there to use it in my next project
  • satuke2 hours ago
    this is amazing, i&#x27;ll try it out!
    • cat-whisperer1 hour ago
      feel free to raise issues if anything feels off. The plan is to make it the rice harness :)<p>*oh! I meant the right harness for you