Code: The Simple Ideas Behind the Compiler for M0-lang

A few screenshots of what the language looks like.

Using the summation sign which I defined with a macro
Screen Shot 2019-03-21 at 11.24.15 PM.png

Defining the summation macro
Screen Shot 2019-03-21 at 11.23.47 PM.png

A Quick Overview of How it Works

 
2
Kudos
 
2
Kudos

Now read this

Class as Syntactic Sugar of Functions in Python

More explanation coming up, but essentially I’ve tried to define classes with functions in Python for a couple times already, but this time I have something that looks pretty good. To use it, you just have to provide the class name and... Continue →