578 B
578 B
implementation roadmap
stages
- parser
- lossless syntax trees (rowan + ungrammar)
- typechecker
- interpreter
- code generator
- formatter (pretty-printer)
features
- primitives
- booleans
- integers
- floating point numbers
- text
- functions
- lambdas / closures
- generic functions
- uniform function call syntax
- operators
- algebraic data types
- product types
- sum types
- variant types
- pattern matching
- traits
- operator overloading