Skip to content

Commit

Permalink
flip lt/gt
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurits van Riezen committed Apr 12, 2024
1 parent f028c8d commit 41f5a29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/interpreter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ const commands: {[k: string]: <T>(o: ProgramState<T>) => void} = {
',': wrap((a, b, number_implementation) => number_implementation.div(a, b)),
'%': wrap((a, b, number_implementation) => number_implementation.mod(a, b)),
'=': wrap((a, b, number_implementation) => number_implementation.eq(a, b)),
')': wrap((a, b, number_implementation) => number_implementation.lt(a, b)),
'(': wrap((a, b, number_implementation) => number_implementation.gt(a, b)),
')': wrap((a, b, number_implementation) => number_implementation.gt(a, b)),
'(': wrap((a, b, number_implementation) => number_implementation.lt(a, b)),
'\'': (o) => {
o.string_parsing_mode = o.number_implementation.fromChar('\'');
},
Expand Down

0 comments on commit 41f5a29

Please sign in to comment.