aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/tool
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/common-lisp/extension/common.lux4
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux4
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/lua/extension/common.lux4
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/php/extension/common.lux4
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/python/extension/common.lux4
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/ruby/extension/common.lux4
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/scheme/extension/common.lux5
-rw-r--r--stdlib/source/lux/tool/compiler/synthesis.lux4
8 files changed, 24 insertions, 9 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/common-lisp/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/common-lisp/extension/common.lux
index 8f323544e..0d56d70b6 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/common-lisp/extension/common.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/common-lisp/extension/common.lux
@@ -7,6 +7,8 @@
["." function]]
[data
["." product]
+ [number
+ ["f" frac]]
[collection
["." dictionary]]]
[target
@@ -72,7 +74,7 @@
(_.double <const>))]
[f64//smallest (java/lang/Double::MIN_VALUE)]
- [f64//min (f/* -1.0 (java/lang/Double::MAX_VALUE))]
+ [f64//min (f.* -1.0 (java/lang/Double::MAX_VALUE))]
[f64//max (java/lang/Double::MAX_VALUE)]
)
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux
index 9baf594da..858a46c44 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux
@@ -9,6 +9,8 @@
["<s>" synthesis (#+ Parser)]]]
[data
["." product]
+ [number
+ ["f" frac]]
[collection
["." list ("#@." functor)]
["." dictionary]]]
@@ -62,7 +64,7 @@
(///primitive.f64 <const>))]
[f64//smallest (java/lang/Double::MIN_VALUE)]
- [f64//min (f/* -1.0 (java/lang/Double::MAX_VALUE))]
+ [f64//min (f.* -1.0 (java/lang/Double::MAX_VALUE))]
[f64//max (java/lang/Double::MAX_VALUE)]
)
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/lua/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/lua/extension/common.lux
index 25159b2a7..5b57e7538 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/lua/extension/common.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/lua/extension/common.lux
@@ -7,6 +7,8 @@
["." function]]
[data
["." product]
+ [number
+ ["f" frac]]
[collection
["." dictionary]]]
[target
@@ -66,7 +68,7 @@
(_.float <const>))]
[frac//smallest (java/lang/Double::MIN_VALUE)]
- [frac//min (f/* -1.0 (java/lang/Double::MAX_VALUE))]
+ [frac//min (f.* -1.0 (java/lang/Double::MAX_VALUE))]
[frac//max (java/lang/Double::MAX_VALUE)]
)
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/php/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/php/extension/common.lux
index 74f61fd22..07f76e258 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/php/extension/common.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/php/extension/common.lux
@@ -8,6 +8,8 @@
[data
["." product]
["." text]
+ [number
+ ["f" frac]]
[collection
["." dictionary]]]
[target
@@ -64,7 +66,7 @@
(_.float <const>))]
[frac//smallest (java/lang/Double::MIN_VALUE)]
- [frac//min (f/* -1.0 (java/lang/Double::MAX_VALUE))]
+ [frac//min (f.* -1.0 (java/lang/Double::MAX_VALUE))]
[frac//max (java/lang/Double::MAX_VALUE)]
)
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/python/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/python/extension/common.lux
index 0714fd26c..b9fd166cc 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/python/extension/common.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/python/extension/common.lux
@@ -7,6 +7,8 @@
["." function]]
[data
["." product]
+ [number
+ ["f" frac]]
[collection
["." dictionary]]]
[target
@@ -63,7 +65,7 @@
(_.float <const>))]
[frac//smallest (java/lang/Double::MIN_VALUE)]
- [frac//min (f/* -1.0 (java/lang/Double::MAX_VALUE))]
+ [frac//min (f.* -1.0 (java/lang/Double::MAX_VALUE))]
[frac//max (java/lang/Double::MAX_VALUE)]
)
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/ruby/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/ruby/extension/common.lux
index 80dbb312c..0ebfe1ab5 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/ruby/extension/common.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/ruby/extension/common.lux
@@ -8,6 +8,8 @@
[data
["." product]
["." text]
+ [number
+ ["f" frac]]
[collection
["." dictionary]]]
[target
@@ -59,7 +61,7 @@
(_.float <const>))]
[frac//smallest (java/lang/Double::MIN_VALUE)]
- [frac//min (f/* -1.0 (java/lang/Double::MAX_VALUE))]
+ [frac//min (f.* -1.0 (java/lang/Double::MAX_VALUE))]
[frac//max (java/lang/Double::MAX_VALUE)]
)
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/scheme/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/scheme/extension/common.lux
index e23692e88..19776e6f5 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/scheme/extension/common.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/scheme/extension/common.lux
@@ -10,7 +10,8 @@
[data
["." product]
["." text]
- [number (#+ hex)]
+ [number (#+ hex)
+ ["f" frac]]
[collection
["." list ("#;." functor)]
["dict" dictionary (#+ Dictionary)]]]
@@ -109,7 +110,7 @@
(<encode> <const>))]
[f64::smallest (Double::MIN_VALUE) _.float]
- [f64::min (f/* -1.0 (Double::MAX_VALUE)) _.float]
+ [f64::min (f.* -1.0 (Double::MAX_VALUE)) _.float]
[f64::max (Double::MAX_VALUE) _.float]
)
diff --git a/stdlib/source/lux/tool/compiler/synthesis.lux b/stdlib/source/lux/tool/compiler/synthesis.lux
index edb618dd4..de91d38a7 100644
--- a/stdlib/source/lux/tool/compiler/synthesis.lux
+++ b/stdlib/source/lux/tool/compiler/synthesis.lux
@@ -9,6 +9,8 @@
["." bit ("#;." equivalence)]
["." text ("#;." equivalence)
["%" format (#+ Format format)]]
+ [number
+ ["f" frac]]
[collection
["." list ("#;." functor)]
["." dictionary (#+ Dictionary)]]]]
@@ -394,7 +396,7 @@
[(<tag> reference') (<tag> sample')]
(<eq> reference' sample'))
([#Bit bit;= %.bit]
- [#F64 f/= %.frac]
+ [#F64 f.= %.frac]
[#Text text;= %.text])
[(#I64 reference') (#I64 sample')]