Musing Mortoray

~ On Programming and Language Design

Musing Mortoray

Author Archives:

Breaking the type tree with modifiers

2013-06-15

A language’s type hierarchy is formed with both linking and attributes. But what if a uniform hierarchy is not the …

Continue reading »

Modelling type systems: The basics

2013-06-11

I’m in the midst of reworking a significant aspect of the type system in Leaf. It’s a lot of work, …

Continue reading »

Overloading the broken universal reference ‘T&&’

2013-06-03

C++11 introduced a perfect forwarding mechanism for template parameters. The key part is the ability for a template parameter to …

Continue reading »

How to catch a “return” statement

2013-05-09

Does ‘return’ always cause a function to return? Surprisingly the answer is “no”. Indeed there are situations in which ‘break’ …

Continue reading »

Building blocks: Compiling if, defer, break, continue, and exceptions

2013-05-06

One way to convert source code to machine code is via “basic blocks”. After parsing and semantic processing, and just …

Continue reading »

1/2 Should Not Equal Zero

2013-04-03

There’s something wrong when a language allows 1/2 to equal 0. It’s easy to understand why this happens, and perhaps …

Continue reading »

Why do we need pointers/references?

2013-03-25

Below I’ve tried to catalog some of the typical uses of references in programming. My aim is to clarify the …

Continue reading »

Parsing an exact decimal value using GMP

2013-03-14

For Leaf, I need to parse decimal numbers to retain the exact value of the input without rounding. I assumed …

Continue reading »

Leaf: Simple type conversions

2013-03-05

One of the problems with C++ is the way it handles type conversion. It inherits a lot of implicit conversion …

Continue reading »

Leaf: Preserving “lvalue” status

2013-02-21

I’ve been reworking how I handle basic type conversion in Leaf. This is a mechanism which allows implicit conversion of …

Continue reading »

← Older posts
  • Leaf
  • Defective C++
  • Ideal Language
  • About Edaqa

Latest Tweets

  • Why (rapid development) Web frameworks pose risk to data security. clz.co/12PMvrt 3 days ago
  • A game which solves protein folding. Very interesting. clz.co/mQcbCZ 1 week ago
  • A micrometer resolution 3D printer will be spectacular. clz.co/16pyj9V 3 weeks ago
Follow @edaqa

Enter your email address to follow this blog and receive notifications of new posts by email.

Recent Posts

  • Breaking the type tree with modifiers
  • Modelling type systems: The basics
  • Overloading the broken universal reference ‘T&&’
  • How to catch a “return” statement
  • Building blocks: Compiling if, defer, break, continue, and exceptions
  • 1/2 Should Not Equal Zero
  • Why do we need pointers/references?
  • Parsing an exact decimal value using GMP
  • Leaf: Simple type conversions
  • Leaf: Preserving “lvalue” status
  • What is a System Language?
  • Immutable Values and Invariant Names

Archives

RSS Feed RSS - Posts

Blog at WordPress.com. Theme: Chateau by Ignacio Ricci.

Follow

Get every new post delivered to your Inbox.

Join 161 other followers

Powered by WordPress.com