Skip to content

Commit

Permalink
Merge pull request lcompilers#30 from namannimmo10/visitors
Browse files Browse the repository at this point in the history
Implement `BoolOp` and `IfExp` visitors
  • Loading branch information
certik authored Jan 15, 2022
2 parents 03965e3 + aa4c229 commit e0e1ba7
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 78 deletions.
1 change: 1 addition & 0 deletions grammar/ASR.asdl
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ expr
-- Such as: (x, y+z), (3.0, 2.0) generally not known at compile time
| ComplexConstructor(expr re, expr im, ttype type, expr? value)
| Compare(expr left, cmpop op, expr right, ttype type, expr? value, expr? overloaded)
| IfExp(expr test, expr body, expr orelse, ttype type)
| FunctionCall(symbol name, symbol? original_name, expr* args,
keyword* keywords, ttype type, expr? value, expr? dt)
| DerivedTypeConstructor(symbol dt_sym, expr* args, ttype type)
Expand Down
Loading

0 comments on commit e0e1ba7

Please sign in to comment.