Euclid Test

After I've written about 3'500 lines of code of my AEC-to-WebAssembly compiler, I think I'm finally able to implement some simple algorithms, such as Fibonacci Sequence and Euclid Algorithm, in AEC and invoke them from JavaScript.
This only works in very modern browsers. I'm not too interested in targeting archaic browsers here. This only works in Firefox 62 and newer or Chrome 69 and newer. After a few years (if not months), all JavaScript environments will become as capable as they are, rather than like Internet Explorer.






gcd(first,second)=
fib(first)=
fib(second)=

You can see the source code of the AEC program here.