Austin Henley

Results 82 issues of Austin Henley

int argc, char *argv[]

var x : Foo = new Foo; delete Foo;

The typechecker has become difficult to debug and extend. Proposed rewrite: - All statements evaluate to void. - Don't differentiate between statements and expressions. - One switch statement that handles...

And or check identifiers if they are a reserved keyword (from token.go) or the symbol table. This should not be allowed: class int { }

const foo : int = 5; var bar : int = 2;

Do not allow: var x : nil; var y : void;

Underscores removed and octal, hex, and binary converted to decimal should be done when the AST node for the literal is created. Not by the lexer or by the emitter.