Breaking the type tree with modifiers
A language’s type hierarchy is formed with both linking and attributes. But what if a uniform hierarchy is not the …
A language’s type hierarchy is formed with both linking and attributes. But what if a uniform hierarchy is not the …
I’m in the midst of reworking a significant aspect of the type system in Leaf. It’s a lot of work, …
C++11 introduced a perfect forwarding mechanism for template parameters. The key part is the ability for a template parameter to …
Does ‘return’ always cause a function to return? Surprisingly the answer is “no”. Indeed there are situations in which ‘break’ …
One way to convert source code to machine code is via “basic blocks”. After parsing and semantic processing, and just …
There’s something wrong when a language allows 1/2 to equal 0. It’s easy to understand why this happens, and perhaps …
Below I’ve tried to catalog some of the typical uses of references in programming. My aim is to clarify the …
For Leaf, I need to parse decimal numbers to retain the exact value of the input without rounding. I assumed …
One of the problems with C++ is the way it handles type conversion. It inherits a lot of implicit conversion …
I’ve been reworking how I handle basic type conversion in Leaf. This is a mechanism which allows implicit conversion of …