News for hackers. Stuff that matters.
Re:Show HN: Ugliest.app – Ugly but good app platform by gnulinux on Wednesday November 04, 2020 @05:29PM (#24993705)
I love this, but it doesn't look like server-side language is Turing complete. It can only read, write, and delete rows; branches on admin; and returns a random number. Is it possible to extend the language in a way defining functions, if stmt and for loops are possible?

Since it already has if, I wonder if I can branch on things other than "admin".

EDIT: I stand corrected, looks like using `range .. end` you can actually loop.

EDIT2: if also works:

    {{ if (rando 0 1) }}
     a
    {{ else }}
     b
    {{ end }}
prints a or b non deterministically.

EDIT3: I wish it supported operations like equality, addition, <, > etc

Re:Show HN: Ugliest.app – Ugly but good app platform by bloopbloop10000 on Wednesday November 04, 2020 @06:37PM (#24994192)
It supports eq (==), ne (!=), gt (>), ge (>=), lt (<), le (<=).
Re:Show HN: Ugliest.app – Ugly but good app platform by gnulinux on Thursday November 05, 2020 @11:37AM (#24999613)
Awesome! I wish all functions were documented. Is this a programming language that I can google by name? I intentionally created some errors and googled the error messages but didn't find anything. Is this a homebaked PL?