Skip to main content


Finally, got generic functions working in Bur. Both #uxn byte and short versions of a function can now be generated from the same definition.
#uxn
in reply to Kiëd Llaentenn

that's a good idea, but what if a function mixes both, like say, a function that takes two shorts and return a byte?
in reply to Devine Lu Linvega

@neauoire Simple, "(U16 U16 -- U8)".

The comparison functions (>/</=/etc) can do just that (bool is u8).

in reply to Kiëd Llaentenn

ah! got it, nono that makes total sense. I thought maybe it had some automatic way of transcribing a function.

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.