hussar-lang/hussar

View on GitHub

Showing 129 of 129 total issues

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

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

exported method Array.Inspect should have comment or be unexported
Open

func (a *Array) Inspect() string {
Severity: Minor
Found in object/object.go by golint

exported function NewEnvironment should have comment or be unexported
Open

func NewEnvironment() *Environment {
Severity: Minor
Found in object/environment.go by golint

comment on exported const COMMA should be of the form "COMMA ..."
Open

    // Delimitors
Severity: Minor
Found in token/token.go by golint

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

    FUNCTION_OBJ     = "FUNCTION"
Severity: Minor
Found in object/object.go by golint

comment on exported const ASSIGN should be of the form "ASSIGN ..."
Open

    // Operators
Severity: Minor
Found in token/token.go by golint

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

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

exported method Array.Type should have comment or be unexported
Open

func (a *Array) Type() ObjectType { return ARRAY_OBJ }
Severity: Minor
Found in object/object.go by golint

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

    LOWEST
Severity: Minor
Found in parser/parser.go by golint

exported function New should have comment or be unexported
Open

func New(l *lexer.Lexer) *Parser {
Severity: Minor
Found in parser/parser.go by golint

exported type InfixExpression should have comment or be unexported
Open

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

exported type ArrayLiteral should have comment or be unexported
Open

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

exported type Lexer should have comment or be unexported
Open

type Lexer struct {
Severity: Minor
Found in lexer/lexer.go by golint

exported method Integer.Type should have comment or be unexported
Open

func (i *Integer) Type() ObjectType { return INTEGER_OBJ }
Severity: Minor
Found in object/object.go by golint

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

// Improvement: include filename, line and character place to ease debugging
Severity: Minor
Found in token/token.go by golint

exported type Node should have comment or be unexported
Open

type Node interface {
Severity: Minor
Found in ast/ast.go by golint

exported type WhileExpression should have comment or be unexported
Open

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

exported type ObjectType should have comment or be unexported
Open

type ObjectType string
Severity: Minor
Found in object/object.go by golint

exported method ReturnValue.Type should have comment or be unexported
Open

func (rv *ReturnValue) Type() ObjectType { return RETURN_VALUE_OBJ }
Severity: Minor
Found in object/object.go by golint

exported type Builtin should have comment or be unexported
Open

type Builtin struct {
Severity: Minor
Found in object/object.go by golint
Severity
Category
Status
Source
Language