After I've written more than 3'000 lines of code of my AEC-to-WebAssembly
compiler,
I'm finally able to write an AEC program which can be tested in a browser.
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.
add(first,second)=
subtract(first,second)=
multiply(first,second)=
integerDivision(first,second)=
modulo(first,second)=
decimalDivision(first,second)=
maximum(first,second)=
minimum(first,second)=
signum(first)=
signum(second)=
xor(first,second)=
xor_using_assembly(first,second)=
You can see the source code of the AEC program
here.