Skip to content

feat: implemented + and - infix operators

Codecov / codecov/patch succeeded Nov 27, 2024 in 1s

79.68% of diff hit (target 63.21%)

View this Pull Request on Codecov

79.68% of diff hit (target 63.21%)

Annotations

Check warning on line 26 in internal/interpreter/evaluate_expr.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/evaluate_expr.go#L25-L26

Added lines #L25 - L26 were not covered by tests

Check warning on line 31 in internal/interpreter/evaluate_expr.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/evaluate_expr.go#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 57 in internal/interpreter/evaluate_expr.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/evaluate_expr.go#L55-L57

Added lines #L55 - L57 were not covered by tests

Check warning on line 62 in internal/interpreter/evaluate_expr.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/evaluate_expr.go#L60-L62

Added lines #L60 - L62 were not covered by tests

Check warning on line 123 in internal/interpreter/evaluate_expr.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/evaluate_expr.go#L122-L123

Added lines #L122 - L123 were not covered by tests

Check warning on line 31 in internal/interpreter/infix.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/infix.go#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 59 in internal/interpreter/infix.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/infix.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 68 in internal/interpreter/infix.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/infix.go#L67-L68

Added lines #L67 - L68 were not covered by tests

Check warning on line 75 in internal/interpreter/infix.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/infix.go#L71-L75

Added lines #L71 - L75 were not covered by tests

Check warning on line 162 in internal/interpreter/value.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/value.go#L161-L162

Added lines #L161 - L162 were not covered by tests

Check warning on line 175 in internal/interpreter/value.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/interpreter/value.go#L174-L175

Added lines #L174 - L175 were not covered by tests

Check warning on line 43 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L43

Added line #L43 was not covered by tests

Check warning on line 46 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L46

Added line #L46 was not covered by tests

Check warning on line 49 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L49

Added line #L49 was not covered by tests

Check warning on line 52 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L52

Added line #L52 was not covered by tests

Check warning on line 55 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L55

Added line #L55 was not covered by tests

Check warning on line 58 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L58

Added line #L58 was not covered by tests

Check warning on line 85 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L85

Added line #L85 was not covered by tests

Check warning on line 88 in internal/parser/antlr/numscript_base_listener.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_base_listener.go#L88

Added line #L88 was not covered by tests

Check warning on line 322 in internal/parser/antlr/numscript_parser.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_parser.go#L322

Added line #L322 was not covered by tests

Check warning on line 324 in internal/parser/antlr/numscript_parser.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_parser.go#L324

Added line #L324 was not covered by tests

Check warning on line 334 in internal/parser/antlr/numscript_parser.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_parser.go#L334

Added line #L334 was not covered by tests

Check warning on line 338 in internal/parser/antlr/numscript_parser.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_parser.go#L338

Added line #L338 was not covered by tests

Check warning on line 343 in internal/parser/antlr/numscript_parser.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_parser.go#L343

Added line #L343 was not covered by tests

Check warning on line 347 in internal/parser/antlr/numscript_parser.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/parser/antlr/numscript_parser.go#L346-L347

Added lines #L346 - L347 were not covered by tests