The Newton Blog

Language design and implementation

Compiling Pattern Matching

I haven’t had much time for Newton since the last blog post, but I was able to get past something I have been working on for a while recently. I can now lower match statements to decision trees.

Generators

Without generators Newton would not feel very pythonic at all, so I consider it a must-have for the first public release.

Record Types

I am working on adding record types to Newton. Lets look at the syntax first, then discuss how they relate to algebraic data types and classes.

What is Newton

Newton is a new language being developed. It is not ready to be released yet, but I will use this site to keep friends and interested parties up to date.