diff options
author | Ben Burwell <ben.burwell@trifecta.com> | 2016-09-14 12:43:08 -0400 |
---|---|---|
committer | Ben Burwell <ben.burwell@trifecta.com> | 2016-09-14 12:43:08 -0400 |
commit | e73c3d8f4088a2dca15069fc823601664ea8024c (patch) | |
tree | f637a29cd6bccf95ba954fb9b6093549cbe2cede /prog/euclideanAlgorithm.html | |
parent | d612d6c38a80d1e3a60a7a50be451a04a9587252 (diff) |
Move DOML files to HTML
Diffstat (limited to 'prog/euclideanAlgorithm.html')
-rw-r--r-- | prog/euclideanAlgorithm.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/prog/euclideanAlgorithm.html b/prog/euclideanAlgorithm.html new file mode 100644 index 0000000..87fa168 --- /dev/null +++ b/prog/euclideanAlgorithm.html @@ -0,0 +1,66 @@ +<!-- vim: set filetype=html: --> +<!doctype html> +<html> + <head> + <script type="text/javascript" src="../lib/util.js"></script> + <script type="text/javascript" src="../lib/types.js"></script> + <script type="text/javascript" src="../lib/binops.js"></script> + <script type="text/javascript" src="../lib/statements.js"></script> + <script type="text/javascript" src="../lib/readability.js"></script> + <script type="text/javascript" src="../lib/run.js"></script> + <link rel="stylesheet" href="../lib/style.css"> + </head> + <body> + <span class="statement-sequence"> + <span class="assign" data-name="a"> + <span class="constant" data-val="2250256" data-type="number"></span> + </span> + + <span class="assign" data-name="b"> + <span class="constant" data-val="8273" data-type="number"></span> + </span> + + <span class="while"> + <span class="compare" data-op="!="> + <span class="variable" data-name="b"></span> + <span class="constant" data-val="0" data-type="number"></span> + </span> + + <span class="branch"> + <span class="compare" data-op=">"> + <span class="variable" data-name="a"></span> + <span class="variable" data-name="b"></span> + </span> + + <span class="assign" data-name="a"> + <span class="bin-op" data-op="-"> + <span class="variable" data-name="a"></span> + <span class="variable" data-name="b"></span> + </span> + </span> + + <span class="assign" data-name="b"> + <span class="bin-op" data-op="-"> + <span class="variable" data-name="b"></span> + <span class="variable" data-name="a"></span> + </span> + </span> + </span> + </span> + + <span class="branch"> + <span class="compare" data-op="=="> + <span class="variable" data-name="a"></span> + <span class="constant" data-val="1" data-type="number"></span> + </span> + <span class="print"> + <span class="constant" data-val="Relatively prime" data-type="string"></span> + </span> + <span class="print"> + <span class="constant" data-val="Found GCD" data-type="string"></span> + <span class="variable" data-name="a"></span> + </span> + </span> + </span> + </body> +</html> |