Functions that return type

burjui via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 20 02:04:03 PST 2016


On Wednesday, 20 January 2016 at 04:27:27 UTC, blm768 wrote:
> It's not very far along, though. Right now, I have a "compiler" 
> that parses integers and parentheses. ;)

That's alright. Parsing and AST construction are trivial with 
S-expressions (Lisp-like syntax), so if you use them for the 
early stages of development, you can focus on the type system. 
When you're done with types, you can switch to making a better 
grammar for your language.


More information about the Digitalmars-d-learn mailing list