aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/ruby/procedure
diff options
context:
space:
mode:
authorEduardo Julian2018-07-11 21:45:38 -0400
committerEduardo Julian2018-07-11 21:45:38 -0400
commitf76922dfef6e88db854a27dc17987ccdc9736d6a (patch)
tree5c3dc4b67b6bddcbb31152ae2ace4baf9c5a3fe3 /new-luxc/source/luxc/lang/translation/ruby/procedure
parent0097e306a1e3b53e4cda304aac82b8778036eddf (diff)
- Removed stale machinery for "lux int min" and "lux int max".
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux11
1 files changed, 0 insertions, 11 deletions
diff --git a/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux
index 7ea0df048..01ca1e8b4 100644
--- a/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux
@@ -228,15 +228,6 @@
[frac//max Double::MAX_VALUE ruby.float]
)
-(do-template [<name> <expression>]
- [(def: (<name> _)
- Nullary
- <expression>)]
-
- [int//min (|> (ruby.int -2) (ruby.pow (ruby.int 63)))]
- [int//max (|> (ruby.int 2) (ruby.pow (ruby.int 63)) (ruby.- (ruby.int 1)))]
- )
-
(do-template [<name> <op>]
[(def: (<name> [subjectO paramO])
Binary
@@ -310,8 +301,6 @@
(install "%" (binary int//rem))
(install "=" (binary int//=))
(install "<" (binary int//<))
- (install "min" (nullary int//min))
- (install "max" (nullary int//max))
(install "to-frac" (unary (ruby./ (ruby.float 1.0))))
(install "char" (unary (ruby.send "chr" (list)))))))