Mercurial Hosting > luan
comparison src/luan/interp/LtExpr.java @ 88:6ca02b188dba
add LuanBit to clean up code;
add repr();
git-svn-id: https://luan-java.googlecode.com/svn/trunk@89 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 27 Feb 2013 23:50:32 +0000 |
parents | 8ede219cd111 |
children |
comparison
equal
deleted
inserted
replaced
87:eaf37cfa30c2 | 88:6ca02b188dba |
---|---|
13 } | 13 } |
14 | 14 |
15 @Override public Object eval(LuanStateImpl luan) throws LuanException { | 15 @Override public Object eval(LuanStateImpl luan) throws LuanException { |
16 Object o1 = op1.eval(luan); | 16 Object o1 = op1.eval(luan); |
17 Object o2 = op2.eval(luan); | 17 Object o2 = op2.eval(luan); |
18 return luan.isLessThan(se,o1,o2); | 18 return luan.bit(se).isLessThan(o1,o2); |
19 } | 19 } |
20 } | 20 } |