Fuzuli is a programming language created in 2012 by Mehmet Hakan Satman.
git clone https://github.com/jbytecode/fuzuli/
#2039on PLDB | 12Years Old |
stdioe.blogspot.com/search/label/fuzuli
(require "/usr/lib/fuzuli/nfl/math.nfl")
(function euclidean (params x y)
(block
(def dist FLOAT)(let dist 0.0)
(def i INTEGER)
(for (let i 0) (< i (length x)) (inc i)
(let dist (+ dist (pow (- (nth x i) (nth y i)) 2)))
)
(return dist)
)
)
(def x LIST)
(def y LIST)
(let x (list 1 2 3 4 5 6 7 8 9 10))
(let y (list 1 2 3 4 5 6 7 8 9 11))
(let dist (euclidean x y))
(print dist "\n")