Talk:Onecode (Iconmaster)

From Esolang
Jump to navigation Jump to search

Notes

There are more than 65536 unicode characters. The range is currently limited to 0..1114111 but some are 'illegal'. UTF-8 was defined for up to 31 (32?) bits but is obviously expendable to 46 bits.

I see no way to execute a function.

An infinite loop is not usually consider "useful" unless there is also a conditional 'break' command.

What happens if you multiply strings, divide a function by 'christmas' or similar unusual operations.

You might look at how the unix dc(1) command does this for ASCII (or an 8-bit variant) perhaps mentioning a normal character in the 'command' position executes it as a function. ie: is a shorthand for the dc (like) sequence l☃x

Rdebath (talk) 10:26, 19 January 2014 (UTC)

Maybe only 65536 Unicode characters are implemented, and even "illegal" characters can be used if the encoding allows it (such as UTF-8); if it is UTF-16 then the surrogates are treated as individual characters instead of surrogates. This would violate the Unicode standard and fail to work properly in Unicode-based text editors (unless you can turn off Unicode), but would be acceptable and workable nevertheless. However, according to the description given on the top of the page, this is probably not what was intended; it looks like it was intended to use actual Unicode characters. --Zzo38 (talk) 02:48, 20 January 2014 (UTC)