Add support for is and is not keywords

This commit is contained in:
Pragyansh Chaturvedi
2025-10-08 06:04:29 +05:30
parent ecac24c1d2
commit d2ff53052c

View File

@ -228,6 +228,8 @@ def _handle_comparator(func, builder, op, lhs, rhs):
ast.LtE: "<=",
ast.Gt: ">",
ast.GtE: ">=",
ast.Is: "==",
ast.IsNot: "!=",
}
if type(op) not in comparison_ops: