Re:Ilo sitelen, a handmade computer for Toki Pona
by chongli on Sunday April 05, 2020 @07:01PM
(#22789463)
If you have the numbers zero, one, two, couldn’t you write ternary numbers? That would be a lot less cumbersome than an additive system. Plus it would still be fun!
[ Parent
| on HN ]
Re:Ilo sitelen, a handmade computer for Toki Pona
by jan_Inkepa on Sunday April 05, 2020 @07:29PM
(#22789617)
You'd still have to specify the system before you could use it, and that would probably require new syntax/grammar to be added to the language. ( Silly analogy: "C has latin character support; why can't it support Roman numerals?" )
Re:Ilo sitelen, a handmade computer for Toki Pona
by chongli on Sunday April 05, 2020 @07:52PM
(#22789742)
C can be extended with your own datatypes though. You could create a Roman numeral datatype if you wanted to. You wouldn't have literals, of course, but you could initialize them using string literals. This is how arbitrary-precision numbers work in the C library GMP [1].
So the question is: can you make up new words in Toki Pona? It would seem the answer is no. This would keep the language very simple but also drastically limit your ability to express complex ideas within it.