Skip to content

Feature request: Equivalence of expressions #9

@pamelafox

Description

@pamelafox

A few equivalence understandings would help grading a lot:

  • it should treat “$b + $a” the same as “$a + $b” for binary operators that we specify
  • it should treat “$a += $b;” the same as “$a = $a + $b” for binary operators
  • It should treat $a++ the same as $a += 1
  • It should treat $a <= $b the same as $b >= $a
  • It should treat $a < $b the same as $b > $a
  • it should treat “var $a= $x;” the same as “var $a; $a=$x”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions