hussar-lang/hussar

View on GitHub

Showing 129 of 129 total issues

exported function LookupIdent should have comment or be unexported
Open

func LookupIdent(ident string) TokenType {
Severity: Minor
Found in token/token.go by golint

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

// === PROGRAM ===
Severity: Minor
Found in ast/ast.go by golint

exported method CallExpression.TokenLiteral should have comment or be unexported
Open

func (ce *CallExpression) TokenLiteral() string { return ce.Token.Literal }
Severity: Minor
Found in ast/ast.go by golint

exported function NewEnclosedEnvironment should have comment or be unexported
Open

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

exported method Environment.Set should have comment or be unexported
Open

func (e *Environment) Set(name string, val Object) Object {
Severity: Minor
Found in object/environment.go by golint

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

    ARRAY_OBJ        = "ARRAY"
Severity: Minor
Found in object/object.go by golint

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

    EXIT_OBJ         = "EXIT"
Severity: Minor
Found in object/object.go by golint

exported const TRACE should have comment or be unexported
Open

const TRACE = false
Severity: Minor
Found in parser/parser.go by golint

exported type Expression should have comment or be unexported
Open

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

exported type LetStatement should have comment or be unexported
Open

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

exported type ReturnStatement should have comment or be unexported
Open

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

exported method IndexExpression.TokenLiteral should have comment or be unexported
Open

func (ie *IndexExpression) TokenLiteral() string { return ie.Token.Literal }
Severity: Minor
Found in ast/ast.go by golint

exported method Lexer.NextToken should have comment or be unexported
Open

func (l *Lexer) NextToken() token.Token {
Severity: Minor
Found in lexer/lexer.go by golint

exported method ExpressionStatement.TokenLiteral should have comment or be unexported
Open

func (es *ExpressionStatement) TokenLiteral() string { return es.Token.Literal }
Severity: Minor
Found in ast/ast.go by golint

exported type ExitLiteral should have comment or be unexported
Open

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

exported type StringLiteral should have comment or be unexported
Open

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

exported type Object should have comment or be unexported
Open

type Object interface {
Severity: Minor
Found in object/object.go by golint

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

func (s *String) Inspect() string  { return s.Value }
Severity: Minor
Found in object/object.go by golint

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

func (f *Function) Type() ObjectType { return FUNCTION_OBJ }
Severity: Minor
Found in object/object.go by golint

exported type PrefixExpression should have comment or be unexported
Open

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