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.
Language design and implementation
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.
Without generators Newton would not feel very pythonic at all, so I consider it a must-have for the first public release.
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.
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.