Declare is a UI language for you and your AI

(davidtemkin.github.io)

27 points | by ilamont 3 hours ago

10 comments

  • skybrian 47 minutes ago
    This looks quite nicely done. I'm reluctant to try it solely because the website has so much marketing-style writing (probably AI-generated) and I'm not sure I want to read more of it.

    It should probably say up front that this is an npm package along with the tooling for it, and the output runs in a browser.

  • mtford 14 minutes ago
    First contact marketing pages and core documentation should be written by a human. This sounded interesting but my eyes glazed over as soon as I detected the AI smell...
  • joddystreet 44 minutes ago
    I was working on a similar concept - Morpheus

    Snippet -

    ```

    document ::= ( comment | blank )* screen-line body

    body ::= ( element-line | comment | blank )*

    element-line ::= indent kind [ name ] meaning* [ modifiers ]

    ```

    • verdverm 24 minutes ago
      Myself too, they are all essentially DSLs with a transpiler to underlying tools and packages in a given language. Mine is different by allowing module developers to control the output technologies and DSL if they want, boiled down to CUE + text/template. Downstream users get a similar experience to this post.
  • agnishom 22 minutes ago
    What has this got to do with AI? I like declarative frameworks, but why is this one special for AI?
  • zobzu 1 hour ago
    neat
  • koteelok 25 minutes ago
    Next time you try to build a UI tech, make sure your site isn't ugly.
  • lofaszvanitt 14 minutes ago
    The totally braindead syntax haunts again. Only rust syntax is uglier than this.
  • ttalkkakman 35 minutes ago
    [flagged]