hussar-lang/hussar

View on GitHub

Showing 129 of 129 total issues

exported const PROMPT should have comment or be unexported
Open

const PROMPT = ">> "
Severity: Minor
Found in repl/repl.go by golint

2: cannot find package "github.com/hussar-lang/hussar/token" in any of:
Open

    "github.com/hussar-lang/hussar/token"
Severity: Minor
Found in ast/ast.go by govet

exported type ExpressionStatement should have comment or be unexported
Open

type ExpressionStatement struct {
Severity: Minor
Found in ast/ast.go by golint

exported type Environment should have comment or be unexported
Open

type Environment struct {
Severity: Minor
Found in object/environment.go by golint

don't use ALL_CAPS in Go names; use CamelCase
Open

    STRING_OBJ       = "STRING"
Severity: Minor
Found in object/object.go by golint

comment on exported type Function should be of the form "Function ..." (with optional leading article)
Open

// === Function ===
Severity: Minor
Found in object/object.go by golint

exported method Parser.Errors should have comment or be unexported
Open

func (p *Parser) Errors() []string {
Severity: Minor
Found in parser/parser.go by golint

if block ends with a return statement, so drop this else and outdent its block
Open

    } else {
Severity: Minor
Found in parser/parser.go by golint

exported const ILLEGAL should have comment (or a comment on this block) or be unexported
Open

    ILLEGAL = "ILLEGAL"
Severity: Minor
Found in token/token.go by golint
Severity
Category
Status
Source
Language