riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

Booleans as a data type #36

Open darrylabbate opened 1 year ago

darrylabbate commented 1 year ago

The lack of dedicated booleans (true, false) is kind of a Norman door for a high-level language. Adding support for booleans is trivial; the only thing to really figure out is how to handle interoperability with arithmetic without adding any overhead with regard to type dispatch.