zettacode 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (765) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/files.zettacode2/arithmetic.integer/0815}.txt +14 -0
  4. data/files.zettacode2/arithmetic.integer/11l}.txt +9 -0
  5. data/files.zettacode2/arithmetic.integer/360_assembly.txt +55 -0
  6. data/files.zettacode2/arithmetic.integer/6502_assembly}.txt +50 -0
  7. data/files.zettacode2/arithmetic.integer/68000_assembly.txt +24 -0
  8. data/files.zettacode2/arithmetic.integer/aarch64_assembly.txt +137 -0
  9. data/files.zettacode2/arithmetic.integer/abap.txt +25 -0
  10. data/files.zettacode2/arithmetic.integer/acl2.txt +21 -0
  11. data/files.zettacode2/arithmetic.integer/action!.txt +36 -0
  12. data/files.zettacode2/arithmetic.integer/ada.txt +20 -0
  13. data/files.zettacode2/arithmetic.integer/aikido.txt +10 -0
  14. data/files.zettacode2/arithmetic.integer/algol_68.txt +14 -0
  15. data/files.zettacode2/arithmetic.integer/algol_w.txt +16 -0
  16. data/files.zettacode2/arithmetic.integer/amigae.txt +14 -0
  17. data/files.zettacode2/arithmetic.integer/apl.txt +7 -0
  18. data/files.zettacode2/arithmetic.integer/applescript.txt +16 -0
  19. data/files.zettacode2/arithmetic.integer/arm_assembly.txt +293 -0
  20. data/files.zettacode2/arithmetic.integer/arturo.txt +10 -0
  21. data/files.zettacode2/arithmetic.integer/asymptote.txt +17 -0
  22. data/files.zettacode2/arithmetic.integer/autohotkey.txt +20 -0
  23. data/files.zettacode2/arithmetic.integer/avail.txt +13 -0
  24. data/files.zettacode2/arithmetic.integer/awk.txt +12 -0
  25. data/files.zettacode2/arithmetic.integer/basic.txt +56 -0
  26. data/files.zettacode2/arithmetic.integer/basic256.txt +11 -0
  27. data/files.zettacode2/arithmetic.integer/batch_file.txt +7 -0
  28. data/files.zettacode2/arithmetic.integer/bbc_basic.txt +9 -0
  29. data/files.zettacode2/arithmetic.integer/bc.txt +8 -0
  30. data/files.zettacode2/arithmetic.integer/befunge.txt +6 -0
  31. data/files.zettacode2/arithmetic.integer/bqn.txt +22 -0
  32. data/files.zettacode2/arithmetic.integer/bracmat.txt +19 -0
  33. data/files.zettacode2/arithmetic.integer/brat.txt +8 -0
  34. data/files.zettacode2/arithmetic.integer/c++.txt +12 -0
  35. data/files.zettacode2/arithmetic.integer/c.txt +17 -0
  36. data/files.zettacode2/arithmetic.integer/c_sharp|c#.txt +17 -0
  37. data/files.zettacode2/arithmetic.integer/chef.txt +37 -0
  38. data/files.zettacode2/arithmetic.integer/clipper.txt +11 -0
  39. data/files.zettacode2/arithmetic.integer/clojure.txt +18 -0
  40. data/files.zettacode2/arithmetic.integer/cobol.txt +44 -0
  41. data/files.zettacode2/arithmetic.integer/common_lisp.txt +29 -0
  42. data/files.zettacode2/arithmetic.integer/component_pascal.txt +32 -0
  43. data/files.zettacode2/arithmetic.integer/crystal.txt +11 -0
  44. data/files.zettacode2/arithmetic.integer/d.txt +17 -0
  45. data/files.zettacode2/arithmetic.integer/dc.txt +10 -0
  46. data/files.zettacode2/arithmetic.integer/dcl.txt +8 -0
  47. data/files.zettacode2/arithmetic.integer/delphi.txt +19 -0
  48. data/files.zettacode2/arithmetic.integer/dwscript.txt +9 -0
  49. data/files.zettacode2/arithmetic.integer/dyalect.txt +13 -0
  50. data/files.zettacode2/arithmetic.integer/e.txt +9 -0
  51. data/files.zettacode2/arithmetic.integer/easylang.txt +9 -0
  52. data/files.zettacode2/arithmetic.integer/ecl.txt +33 -0
  53. data/files.zettacode2/arithmetic.integer/efene.txt +16 -0
  54. data/files.zettacode2/arithmetic.integer/eiffel.txt +32 -0
  55. data/files.zettacode2/arithmetic.integer/elena.txt +16 -0
  56. data/files.zettacode2/arithmetic.integer/elixir.txt +26 -0
  57. data/files.zettacode2/arithmetic.integer/emojicode.txt +9 -0
  58. data/files.zettacode2/arithmetic.integer/erlang.txt +15 -0
  59. data/files.zettacode2/arithmetic.integer/erre.txt +20 -0
  60. data/files.zettacode2/arithmetic.integer/euphoria.txt +13 -0
  61. data/files.zettacode2/arithmetic.integer/excel.txt +32 -0
  62. data/files.zettacode2/arithmetic.integer/f_sharp|f#.txt +15 -0
  63. data/files.zettacode2/arithmetic.integer/factor.txt +17 -0
  64. data/files.zettacode2/arithmetic.integer/false.txt +8 -0
  65. data/files.zettacode2/arithmetic.integer/fermat.txt +10 -0
  66. data/files.zettacode2/arithmetic.integer/forth.txt +19 -0
  67. data/files.zettacode2/arithmetic.integer/fortran.txt +15 -0
  68. data/files.zettacode2/arithmetic.integer/freebasic.txt +18 -0
  69. data/files.zettacode2/arithmetic.integer/friendly_interactive_shell.txt +10 -0
  70. data/files.zettacode2/arithmetic.integer/frink.txt +10 -0
  71. data/files.zettacode2/arithmetic.integer/futurebasic.txt +158 -0
  72. data/files.zettacode2/arithmetic.integer/gambas.txt +30 -0
  73. data/files.zettacode2/arithmetic.integer/gap.txt +15 -0
  74. data/files.zettacode2/arithmetic.integer/genie.txt +23 -0
  75. data/files.zettacode2/arithmetic.integer/george.txt +7 -0
  76. data/files.zettacode2/arithmetic.integer/go.txt +66 -0
  77. data/files.zettacode2/arithmetic.integer/groovy.txt +18 -0
  78. data/files.zettacode2/arithmetic.integer/harbour.txt +11 -0
  79. data/files.zettacode2/arithmetic.integer/haskell.txt +16 -0
  80. data/files.zettacode2/arithmetic.integer/haxe.txt +13 -0
  81. data/files.zettacode2/arithmetic.integer/hicest.txt +26 -0
  82. data/files.zettacode2/arithmetic.integer/holyc.txt +14 -0
  83. data/files.zettacode2/arithmetic.integer/i.txt +11 -0
  84. data/files.zettacode2/arithmetic.integer/icon}}_and_{{header|unicon.txt +13 -0
  85. data/files.zettacode2/arithmetic.integer/inform_7.txt +27 -0
  86. data/files.zettacode2/arithmetic.integer/j.txt +18 -0
  87. data/files.zettacode2/arithmetic.integer/java.txt +22 -0
  88. data/files.zettacode2/arithmetic.integer/javascript.txt +30 -0
  89. data/files.zettacode2/arithmetic.integer/jq.txt +17 -0
  90. data/files.zettacode2/arithmetic.integer/jsish.txt +33 -0
  91. data/files.zettacode2/arithmetic.integer/julia.txt +5 -0
  92. data/files.zettacode2/arithmetic.integer/kotlin.txt +41 -0
  93. data/files.zettacode2/arithmetic.integer/labview.txt +2 -0
  94. data/files.zettacode2/arithmetic.integer/lambdatalk.txt +23 -0
  95. data/files.zettacode2/arithmetic.integer/lasso.txt +8 -0
  96. data/files.zettacode2/arithmetic.integer/lfe.txt +32 -0
  97. data/files.zettacode2/arithmetic.integer/liberty_basic.txt +12 -0
  98. data/files.zettacode2/arithmetic.integer/lil.txt +14 -0
  99. data/files.zettacode2/arithmetic.integer/lingo.txt +10 -0
  100. data/files.zettacode2/arithmetic.integer/little.txt +15 -0
  101. data/files.zettacode2/arithmetic.integer/livecode.txt +17 -0
  102. data/files.zettacode2/arithmetic.integer/logo.txt +11 -0
  103. data/files.zettacode2/arithmetic.integer/lse64.txt +10 -0
  104. data/files.zettacode2/arithmetic.integer/lua.txt +9 -0
  105. data/files.zettacode2/arithmetic.integer/m2000_interpreter.txt +54 -0
  106. data/files.zettacode2/arithmetic.integer/m4.txt +17 -0
  107. data/files.zettacode2/arithmetic.integer/maple.txt +25 -0
  108. data/files.zettacode2/arithmetic.integer/mathcad.txt +51 -0
  109. data/files.zettacode2/arithmetic.integer/mathematica}}-{{header|wolfram_language.txt +18 -0
  110. data/files.zettacode2/arithmetic.integer/matlab}}_-_{{header|octave.txt +8 -0
  111. data/files.zettacode2/arithmetic.integer/maxima.txt +10 -0
  112. data/files.zettacode2/arithmetic.integer/maxscript.txt +8 -0
  113. data/files.zettacode2/arithmetic.integer/mercury.txt +44 -0
  114. data/files.zettacode2/arithmetic.integer/metafont.txt +19 -0
  115. data/files.zettacode2/arithmetic.integer/min.txt +5 -0
  116. data/files.zettacode2/arithmetic.integer/ml-i.txt +18 -0
  117. data/files.zettacode2/arithmetic.integer/modula-2.txt +31 -0
  118. data/files.zettacode2/arithmetic.integer/modula-3.txt +15 -0
  119. data/files.zettacode2/arithmetic.integer/mumps.txt +52 -0
  120. data/files.zettacode2/arithmetic.integer/nanoquery.txt +13 -0
  121. data/files.zettacode2/arithmetic.integer/nemerle.txt +18 -0
  122. data/files.zettacode2/arithmetic.integer/netrexx.txt +14 -0
  123. data/files.zettacode2/arithmetic.integer/newlisp.txt +26 -0
  124. data/files.zettacode2/arithmetic.integer/nial.txt +23 -0
  125. data/files.zettacode2/arithmetic.integer/nim.txt +25 -0
  126. data/files.zettacode2/arithmetic.integer/nsis.txt +25 -0
  127. data/files.zettacode2/arithmetic.integer/oberon-2.txt +14 -0
  128. data/files.zettacode2/arithmetic.integer/objeck.txt +17 -0
  129. data/files.zettacode2/arithmetic.integer/ocaml.txt +9 -0
  130. data/files.zettacode2/arithmetic.integer/oforth.txt +9 -0
  131. data/files.zettacode2/arithmetic.integer/ol.txt +23 -0
  132. data/files.zettacode2/arithmetic.integer/onyx.txt +44 -0
  133. data/files.zettacode2/arithmetic.integer/openscad.txt +6 -0
  134. data/files.zettacode2/arithmetic.integer/oz.txt +19 -0
  135. data/files.zettacode2/arithmetic.integer/panda.txt +2 -0
  136. data/files.zettacode2/arithmetic.integer/pari-gp.txt +9 -0
  137. data/files.zettacode2/arithmetic.integer/pascal.txt +14 -0
  138. data/files.zettacode2/arithmetic.integer/perl.txt +12 -0
  139. data/files.zettacode2/arithmetic.integer/phix.txt +49 -0
  140. data/files.zettacode2/arithmetic.integer/phixmonti.txt +14 -0
  141. data/files.zettacode2/arithmetic.integer/phl.txt +20 -0
  142. data/files.zettacode2/arithmetic.integer/php.txt +13 -0
  143. data/files.zettacode2/arithmetic.integer/picat.txt +8 -0
  144. data/files.zettacode2/arithmetic.integer/picolisp.txt +8 -0
  145. data/files.zettacode2/arithmetic.integer/piet.txt +38 -0
  146. data/files.zettacode2/arithmetic.integer/pl-i.txt +8 -0
  147. data/files.zettacode2/arithmetic.integer/plain_english.txt +26 -0
  148. data/files.zettacode2/arithmetic.integer/pop11.txt +12 -0
  149. data/files.zettacode2/arithmetic.integer/postscript.txt +10 -0
  150. data/files.zettacode2/arithmetic.integer/powershell.txt +15 -0
  151. data/files.zettacode2/arithmetic.integer/processing.txt +7 -0
  152. data/files.zettacode2/arithmetic.integer/prodos.txt +35 -0
  153. data/files.zettacode2/arithmetic.integer/prolog.txt +33 -0
  154. data/files.zettacode2/arithmetic.integer/purebasic.txt +17 -0
  155. data/files.zettacode2/arithmetic.integer/python.txt +47 -0
  156. data/files.zettacode2/arithmetic.integer/qb64.txt +21 -0
  157. data/files.zettacode2/arithmetic.integer/quackery.txt +12 -0
  158. data/files.zettacode2/arithmetic.integer/r.txt +11 -0
  159. data/files.zettacode2/arithmetic.integer/racket.txt +8 -0
  160. data/files.zettacode2/arithmetic.integer/raku.txt +12 -0
  161. data/files.zettacode2/arithmetic.integer/raven.txt +9 -0
  162. data/files.zettacode2/arithmetic.integer/rebol.txt +51 -0
  163. data/files.zettacode2/arithmetic.integer/relation.txt +11 -0
  164. data/files.zettacode2/arithmetic.integer/rescript.txt +15 -0
  165. data/files.zettacode2/arithmetic.integer/retro.txt +10 -0
  166. data/files.zettacode2/arithmetic.integer/rexx.txt +47 -0
  167. data/files.zettacode2/arithmetic.integer/ring.txt +11 -0
  168. data/files.zettacode2/arithmetic.integer/robotic.txt +13 -0
  169. data/files.zettacode2/arithmetic.integer/ruby.txt +12 -0
  170. data/files.zettacode2/arithmetic.integer/run_basic.txt +9 -0
  171. data/files.zettacode2/arithmetic.integer/rust.txt +15 -0
  172. data/files.zettacode2/arithmetic.integer/sass-scss.txt +36 -0
  173. data/files.zettacode2/arithmetic.integer/scala.txt +9 -0
  174. data/files.zettacode2/arithmetic.integer/scheme.txt +27 -0
  175. data/files.zettacode2/arithmetic.integer/seed7.txt +20 -0
  176. data/files.zettacode2/arithmetic.integer/sensetalk.txt +12 -0
  177. data/files.zettacode2/arithmetic.integer/sidef.txt +6 -0
  178. data/files.zettacode2/arithmetic.integer/slate.txt +9 -0
  179. data/files.zettacode2/arithmetic.integer/smalltalk.txt +28 -0
  180. data/files.zettacode2/arithmetic.integer/smart_basic.txt +18 -0
  181. data/files.zettacode2/arithmetic.integer/snobol4.txt +12 -0
  182. data/files.zettacode2/arithmetic.integer/snusp.txt +61 -0
  183. data/files.zettacode2/arithmetic.integer/sql.txt +68 -0
  184. data/files.zettacode2/arithmetic.integer/ssem.txt +15 -0
  185. data/files.zettacode2/arithmetic.integer/standard_ml.txt +13 -0
  186. data/files.zettacode2/arithmetic.integer/swift.txt +11 -0
  187. data/files.zettacode2/arithmetic.integer/tcl.txt +19 -0
  188. data/files.zettacode2/arithmetic.integer/terraform.txt +33 -0
  189. data/files.zettacode2/arithmetic.integer/ti-83_basic.txt +14 -0
  190. data/files.zettacode2/arithmetic.integer/ti-89_basic.txt +8 -0
  191. data/files.zettacode2/arithmetic.integer/toka.txt +7 -0
  192. data/files.zettacode2/arithmetic.integer/tuscript.txt +9 -0
  193. data/files.zettacode2/arithmetic.integer/unix_shell.txt +29 -0
  194. data/files.zettacode2/arithmetic.integer/ursa.txt +27 -0
  195. data/files.zettacode2/arithmetic.integer/v_(vlang).txt +29 -0
  196. data/files.zettacode2/arithmetic.integer/vba.txt +19 -0
  197. data/files.zettacode2/arithmetic.integer/vbscript.txt +51 -0
  198. data/files.zettacode2/arithmetic.integer/vedit_macro_language.txt +8 -0
  199. data/files.zettacode2/arithmetic.integer/verilog.txt +26 -0
  200. data/files.zettacode2/arithmetic.integer/vim_script.txt +10 -0
  201. data/files.zettacode2/arithmetic.integer/visual_basic_.net.txt +14 -0
  202. data/files.zettacode2/arithmetic.integer/wart.txt +9 -0
  203. data/files.zettacode2/arithmetic.integer/wren.txt +16 -0
  204. data/files.zettacode2/arithmetic.integer/x86_assembly.txt +23 -0
  205. data/files.zettacode2/arithmetic.integer/xlisp.txt +17 -0
  206. data/files.zettacode2/arithmetic.integer/xpl0.txt +10 -0
  207. data/files.zettacode2/arithmetic.integer/xslt.txt +10 -0
  208. data/files.zettacode2/arithmetic.integer/yabasic.txt +11 -0
  209. data/files.zettacode2/arithmetic.integer/yorick.txt +8 -0
  210. data/files.zettacode2/arithmetic.integer/zkl.txt +7 -0
  211. data/files.zettacode2/arithmetic.integer/zonnon.txt +13 -0
  212. data/files.zettacode2/arithmetic.integer/zx_spectrum_basic.txt +11 -0
  213. data/files.zettacode2/arithmetic.integer//320/274/320/272-61-52.txt +7 -0
  214. data/files.zettacode2/hello_world.text/0815.txt +7 -0
  215. data/files.zettacode2/hello_world.text/11l.txt +1 -0
  216. data/files.zettacode2/hello_world.text/360_assembly.txt +17 -0
  217. data/files.zettacode2/hello_world.text/4dos_batch.txt +1 -0
  218. data/files.zettacode2/hello_world.text/6502_assembly.txt +22 -0
  219. data/files.zettacode2/hello_world.text/6800_assembly.txt +31 -0
  220. data/files.zettacode2/hello_world.text/8080_assembly.txt +12 -0
  221. data/files.zettacode2/hello_world.text/8086_assembly.txt +30 -0
  222. data/files.zettacode2/hello_world.text/8th.txt +1 -0
  223. data/files.zettacode2/hello_world.text/aarch64_assembly.txt +22 -0
  224. data/files.zettacode2/hello_world.text/abap.txt +2 -0
  225. data/files.zettacode2/hello_world.text/acl2.txt +2 -0
  226. data/files.zettacode2/hello_world.text/action!.txt +3 -0
  227. data/files.zettacode2/hello_world.text/actionscript.txt +1 -0
  228. data/files.zettacode2/hello_world.text/ada.txt +6 -0
  229. data/files.zettacode2/hello_world.text/agda.txt +14 -0
  230. data/files.zettacode2/hello_world.text/agena.txt +1 -0
  231. data/files.zettacode2/hello_world.text/aime.txt +11 -0
  232. data/files.zettacode2/hello_world.text/algae.txt +1 -0
  233. data/files.zettacode2/hello_world.text/algol-m.txt +3 -0
  234. data/files.zettacode2/hello_world.text/algol_60.txt +4 -0
  235. data/files.zettacode2/hello_world.text/algol_68.txt +3 -0
  236. data/files.zettacode2/hello_world.text/algol_w.txt +3 -0
  237. data/files.zettacode2/hello_world.text/alore.txt +1 -0
  238. data/files.zettacode2/hello_world.text/amazing_hopper.txt +21 -0
  239. data/files.zettacode2/hello_world.text/ambienttalk.txt +1 -0
  240. data/files.zettacode2/hello_world.text/amigae.txt +3 -0
  241. data/files.zettacode2/hello_world.text/angelscript.txt +1 -0
  242. data/files.zettacode2/hello_world.text/antlang.txt +3 -0
  243. data/files.zettacode2/hello_world.text/anyways.txt +4 -0
  244. data/files.zettacode2/hello_world.text/apl.txt +1 -0
  245. data/files.zettacode2/hello_world.text/applescript.txt +5 -0
  246. data/files.zettacode2/hello_world.text/applesoft_basic.txt +5 -0
  247. data/files.zettacode2/hello_world.text/apricot.txt +1 -0
  248. data/files.zettacode2/hello_world.text/arc.txt +1 -0
  249. data/files.zettacode2/hello_world.text/arendelle.txt +1 -0
  250. data/files.zettacode2/hello_world.text/argile.txt +3 -0
  251. data/files.zettacode2/hello_world.text/arm_assembly.txt +13 -0
  252. data/files.zettacode2/hello_world.text/arnoldc.txt +3 -0
  253. data/files.zettacode2/hello_world.text/arturo.txt +1 -0
  254. data/files.zettacode2/hello_world.text/asciidots.txt +4 -0
  255. data/files.zettacode2/hello_world.text/astro.txt +1 -0
  256. data/files.zettacode2/hello_world.text/asymptote.txt +2 -0
  257. data/files.zettacode2/hello_world.text/ats.txt +1 -0
  258. data/files.zettacode2/hello_world.text/autohotkey.txt +9 -0
  259. data/files.zettacode2/hello_world.text/autoit.txt +1 -0
  260. data/files.zettacode2/hello_world.text/autolisp.txt +1 -0
  261. data/files.zettacode2/hello_world.text/avail.txt +1 -0
  262. data/files.zettacode2/hello_world.text/awk.txt +30 -0
  263. data/files.zettacode2/hello_world.text/axe.txt +2 -0
  264. data/files.zettacode2/hello_world.text/b.txt +6 -0
  265. data/files.zettacode2/hello_world.text/b4x.txt +1 -0
  266. data/files.zettacode2/hello_world.text/babel.txt +2 -0
  267. data/files.zettacode2/hello_world.text/bash.txt +1 -0
  268. data/files.zettacode2/hello_world.text/basic.txt +14 -0
  269. data/files.zettacode2/hello_world.text/basic256.txt +1 -0
  270. data/files.zettacode2/hello_world.text/batch_file.txt +6 -0
  271. data/files.zettacode2/hello_world.text/battlestar.txt +4 -0
  272. data/files.zettacode2/hello_world.text/bbc_basic.txt +1 -0
  273. data/files.zettacode2/hello_world.text/bc.txt +2 -0
  274. data/files.zettacode2/hello_world.text/bcpl.txt +6 -0
  275. data/files.zettacode2/hello_world.text/beef.txt +11 -0
  276. data/files.zettacode2/hello_world.text/beeswax.txt +23 -0
  277. data/files.zettacode2/hello_world.text/befunge.txt +1 -0
  278. data/files.zettacode2/hello_world.text/binary_lambda_calculus.txt +2 -0
  279. data/files.zettacode2/hello_world.text/bird.txt +6 -0
  280. data/files.zettacode2/hello_world.text/blade.txt +6 -0
  281. data/files.zettacode2/hello_world.text/blast.txt +10 -0
  282. data/files.zettacode2/hello_world.text/blue.txt +18 -0
  283. data/files.zettacode2/hello_world.text/blz.txt +1 -0
  284. data/files.zettacode2/hello_world.text/bml.txt +1 -0
  285. data/files.zettacode2/hello_world.text/boo.txt +1 -0
  286. data/files.zettacode2/hello_world.text/bootbasic.txt +1 -0
  287. data/files.zettacode2/hello_world.text/bqn.txt +4 -0
  288. data/files.zettacode2/hello_world.text/brace.txt +4 -0
  289. data/files.zettacode2/hello_world.text/bracmat.txt +1 -0
  290. data/files.zettacode2/hello_world.text/brainf***.txt +83 -0
  291. data/files.zettacode2/hello_world.text/brat.txt +1 -0
  292. data/files.zettacode2/hello_world.text/brlcad.txt +6 -0
  293. data/files.zettacode2/hello_world.text/burlesque.txt +6 -0
  294. data/files.zettacode2/hello_world.text/c++-cli.txt +5 -0
  295. data/files.zettacode2/hello_world.text/c++.txt +5 -0
  296. data/files.zettacode2/hello_world.text/c.txt +37 -0
  297. data/files.zettacode2/hello_world.text/c1r.txt +1 -0
  298. data/files.zettacode2/hello_world.text/c2.txt +7 -0
  299. data/files.zettacode2/hello_world.text/c3.txt +7 -0
  300. data/files.zettacode2/hello_world.text/c_sharp|c#.txt +19 -0
  301. data/files.zettacode2/hello_world.text/casio_basic.txt +3 -0
  302. data/files.zettacode2/hello_world.text/cat.txt +1 -0
  303. data/files.zettacode2/hello_world.text/cduce.txt +1 -0
  304. data/files.zettacode2/hello_world.text/cfengine.txt +11 -0
  305. data/files.zettacode2/hello_world.text/chapel.txt +1 -0
  306. data/files.zettacode2/hello_world.text/chef.txt +36 -0
  307. data/files.zettacode2/hello_world.text/chuck.txt +1 -0
  308. data/files.zettacode2/hello_world.text/cind.txt +6 -0
  309. data/files.zettacode2/hello_world.text/clay.txt +3 -0
  310. data/files.zettacode2/hello_world.text/clean.txt +1 -0
  311. data/files.zettacode2/hello_world.text/clio.txt +1 -0
  312. data/files.zettacode2/hello_world.text/clipper.txt +1 -0
  313. data/files.zettacode2/hello_world.text/clips.txt +1 -0
  314. data/files.zettacode2/hello_world.text/clojure.txt +1 -0
  315. data/files.zettacode2/hello_world.text/clu.txt +4 -0
  316. data/files.zettacode2/hello_world.text/cmake.txt +5 -0
  317. data/files.zettacode2/hello_world.text/cobol.txt +22 -0
  318. data/files.zettacode2/hello_world.text/cobra.txt +3 -0
  319. data/files.zettacode2/hello_world.text/coffeescript.txt +4 -0
  320. data/files.zettacode2/hello_world.text/coldfusion.txt +1 -0
  321. data/files.zettacode2/hello_world.text/comal.txt +1 -0
  322. data/files.zettacode2/hello_world.text/comefrom0x10.txt +3 -0
  323. data/files.zettacode2/hello_world.text/commodore_basic.txt +5 -0
  324. data/files.zettacode2/hello_world.text/common_lisp.txt +18 -0
  325. data/files.zettacode2/hello_world.text/component_pascal.txt +10 -0
  326. data/files.zettacode2/hello_world.text/coq.txt +5 -0
  327. data/files.zettacode2/hello_world.text/corescript.txt +1 -0
  328. data/files.zettacode2/hello_world.text/cowgol.txt +4 -0
  329. data/files.zettacode2/hello_world.text/crack.txt +4 -0
  330. data/files.zettacode2/hello_world.text/creative_basic.txt +15 -0
  331. data/files.zettacode2/hello_world.text/crystal.txt +1 -0
  332. data/files.zettacode2/hello_world.text/d.txt +6 -0
  333. data/files.zettacode2/hello_world.text/dafny.txt +6 -0
  334. data/files.zettacode2/hello_world.text/dao.txt +1 -0
  335. data/files.zettacode2/hello_world.text/dart.txt +4 -0
  336. data/files.zettacode2/hello_world.text/dataweave.txt +1 -0
  337. data/files.zettacode2/hello_world.text/dbl.txt +15 -0
  338. data/files.zettacode2/hello_world.text/dc.txt +3 -0
  339. data/files.zettacode2/hello_world.text/dcl.txt +1 -0
  340. data/files.zettacode2/hello_world.text/ddnc.txt +40 -0
  341. data/files.zettacode2/hello_world.text/delphi.txt +7 -0
  342. data/files.zettacode2/hello_world.text/deviousyarn.txt +1 -0
  343. data/files.zettacode2/hello_world.text/dibol-11.txt +14 -0
  344. data/files.zettacode2/hello_world.text/diego.txt +12 -0
  345. data/files.zettacode2/hello_world.text/div_games_studio.txt +12 -0
  346. data/files.zettacode2/hello_world.text/dm.txt +5 -0
  347. data/files.zettacode2/hello_world.text/draco.txt +3 -0
  348. data/files.zettacode2/hello_world.text/dragon.txt +3 -0
  349. data/files.zettacode2/hello_world.text/dwscript.txt +3 -0
  350. data/files.zettacode2/hello_world.text/dyalect.txt +1 -0
  351. data/files.zettacode2/hello_world.text/dylan.net.txt +28 -0
  352. data/files.zettacode2/hello_world.text/dylan.txt +5 -0
  353. data/files.zettacode2/hello_world.text/d/303/251j/303/240_vu.txt +1 -0
  354. data/files.zettacode2/hello_world.text/e.txt +3 -0
  355. data/files.zettacode2/hello_world.text/easylang.txt +2 -0
  356. data/files.zettacode2/hello_world.text/ec.txt +7 -0
  357. data/files.zettacode2/hello_world.text/echolisp.txt +3 -0
  358. data/files.zettacode2/hello_world.text/ecl.txt +3 -0
  359. data/files.zettacode2/hello_world.text/ecstasy.txt +8 -0
  360. data/files.zettacode2/hello_world.text/edsac_order_code.txt +34 -0
  361. data/files.zettacode2/hello_world.text/efene.txt +10 -0
  362. data/files.zettacode2/hello_world.text/egel.txt +3 -0
  363. data/files.zettacode2/hello_world.text/egison.txt +6 -0
  364. data/files.zettacode2/hello_world.text/egl.txt +9 -0
  365. data/files.zettacode2/hello_world.text/eiffel.txt +11 -0
  366. data/files.zettacode2/hello_world.text/ela.txt +2 -0
  367. data/files.zettacode2/hello_world.text/elan.txt +1 -0
  368. data/files.zettacode2/hello_world.text/elastic.txt +20 -0
  369. data/files.zettacode2/hello_world.text/elena.txt +5 -0
  370. data/files.zettacode2/hello_world.text/elisa.txt +1 -0
  371. data/files.zettacode2/hello_world.text/elixir.txt +3 -0
  372. data/files.zettacode2/hello_world.text/elm.txt +1 -0
  373. data/files.zettacode2/hello_world.text/emacs_lisp.txt +6 -0
  374. data/files.zettacode2/hello_world.text/emojicode.txt +3 -0
  375. data/files.zettacode2/hello_world.text/erlang.txt +1 -0
  376. data/files.zettacode2/hello_world.text/erre.txt +7 -0
  377. data/files.zettacode2/hello_world.text/euler_math_toolbox.txt +4 -0
  378. data/files.zettacode2/hello_world.text/extended_brainf***.txt +2 -0
  379. data/files.zettacode2/hello_world.text/ezhil.txt +5 -0
  380. data/files.zettacode2/hello_world.text/f_sharp|f#.txt +3 -0
  381. data/files.zettacode2/hello_world.text/factor.txt +1 -0
  382. data/files.zettacode2/hello_world.text/falcon.txt +4 -0
  383. data/files.zettacode2/hello_world.text/false.txt +2 -0
  384. data/files.zettacode2/hello_world.text/fantom.txt +10 -0
  385. data/files.zettacode2/hello_world.text/fennel.txt +1 -0
  386. data/files.zettacode2/hello_world.text/ferite.txt +3 -0
  387. data/files.zettacode2/hello_world.text/fermat.txt +1 -0
  388. data/files.zettacode2/hello_world.text/fexl.txt +1 -0
  389. data/files.zettacode2/hello_world.text/fhidwfe.txt +1 -0
  390. data/files.zettacode2/hello_world.text/fish.txt +9 -0
  391. data/files.zettacode2/hello_world.text/focal.txt +1 -0
  392. data/files.zettacode2/hello_world.text/forth.txt +5 -0
  393. data/files.zettacode2/hello_world.text/fortran.txt +16 -0
  394. data/files.zettacode2/hello_world.text/fortress.txt +3 -0
  395. data/files.zettacode2/hello_world.text/free_pascal.txt +21 -0
  396. data/files.zettacode2/hello_world.text/freebasic.txt +3 -0
  397. data/files.zettacode2/hello_world.text/frege.txt +5 -0
  398. data/files.zettacode2/hello_world.text/friendly_interactive_shell.txt +2 -0
  399. data/files.zettacode2/hello_world.text/frink.txt +3 -0
  400. data/files.zettacode2/hello_world.text/funl.txt +2 -0
  401. data/files.zettacode2/hello_world.text/furor.txt +1 -0
  402. data/files.zettacode2/hello_world.text/futurebasic.txt +4 -0
  403. data/files.zettacode2/hello_world.text/fuze_basic.txt +1 -0
  404. data/files.zettacode2/hello_world.text/gambas.txt +6 -0
  405. data/files.zettacode2/hello_world.text/gap.txt +10 -0
  406. data/files.zettacode2/hello_world.text/gb_basic.txt +1 -0
  407. data/files.zettacode2/hello_world.text/gecho.txt +1 -0
  408. data/files.zettacode2/hello_world.text/gema.txt +5 -0
  409. data/files.zettacode2/hello_world.text/genie.txt +4 -0
  410. data/files.zettacode2/hello_world.text/gentee.txt +4 -0
  411. data/files.zettacode2/hello_world.text/gfa_basic.txt +1 -0
  412. data/files.zettacode2/hello_world.text/glbasic.txt +1 -0
  413. data/files.zettacode2/hello_world.text/glee.txt +13 -0
  414. data/files.zettacode2/hello_world.text/global_script.txt +3 -0
  415. data/files.zettacode2/hello_world.text/glovepie.txt +1 -0
  416. data/files.zettacode2/hello_world.text/gml.txt +2 -0
  417. data/files.zettacode2/hello_world.text/go.txt +6 -0
  418. data/files.zettacode2/hello_world.text/golfscript.txt +1 -0
  419. data/files.zettacode2/hello_world.text/gosu.txt +1 -0
  420. data/files.zettacode2/hello_world.text/grain.txt +1 -0
  421. data/files.zettacode2/hello_world.text/groovy.txt +1 -0
  422. data/files.zettacode2/hello_world.text/gw-basic.txt +1 -0
  423. data/files.zettacode2/hello_world.text/hack.txt +1 -0
  424. data/files.zettacode2/hello_world.text/halon.txt +3 -0
  425. data/files.zettacode2/hello_world.text/harbour.txt +1 -0
  426. data/files.zettacode2/hello_world.text/hare.txt +5 -0
  427. data/files.zettacode2/hello_world.text/haskell.txt +3 -0
  428. data/files.zettacode2/hello_world.text/haxe.txt +1 -0
  429. data/files.zettacode2/hello_world.text/hexiscript.txt +1 -0
  430. data/files.zettacode2/hello_world.text/hicest.txt +1 -0
  431. data/files.zettacode2/hello_world.text/hla.txt +7 -0
  432. data/files.zettacode2/hello_world.text/holyc.txt +1 -0
  433. data/files.zettacode2/hello_world.text/hoon.txt +1 -0
  434. data/files.zettacode2/hello_world.text/hpppl.txt +1 -0
  435. data/files.zettacode2/hello_world.text/hq9+.txt +7 -0
  436. data/files.zettacode2/hello_world.text/html5.txt +8 -0
  437. data/files.zettacode2/hello_world.text/huginn.txt +8 -0
  438. data/files.zettacode2/hello_world.text/hy.txt +1 -0
  439. data/files.zettacode2/hello_world.text/i.txt +3 -0
  440. data/files.zettacode2/hello_world.text/icon}}_and_{{header|unicon.txt +3 -0
  441. data/files.zettacode2/hello_world.text/idl.txt +1 -0
  442. data/files.zettacode2/hello_world.text/idris.txt +4 -0
  443. data/files.zettacode2/hello_world.text/inform_6.txt +3 -0
  444. data/files.zettacode2/hello_world.text/inko.txt +4 -0
  445. data/files.zettacode2/hello_world.text/integer_basic.txt +4 -0
  446. data/files.zettacode2/hello_world.text/intercal.txt +17 -0
  447. data/files.zettacode2/hello_world.text/io.txt +1 -0
  448. data/files.zettacode2/hello_world.text/ioke.txt +1 -0
  449. data/files.zettacode2/hello_world.text/is-basic.txt +1 -0
  450. data/files.zettacode2/hello_world.text/isabelle.txt +5 -0
  451. data/files.zettacode2/hello_world.text/iwbasic.txt +15 -0
  452. data/files.zettacode2/hello_world.text/j.txt +40 -0
  453. data/files.zettacode2/hello_world.text/jack.txt +7 -0
  454. data/files.zettacode2/hello_world.text/jacquard_loom.txt +88 -0
  455. data/files.zettacode2/hello_world.text/java.txt +7 -0
  456. data/files.zettacode2/hello_world.text/javascript.txt +12 -0
  457. data/files.zettacode2/hello_world.text/jcl.txt +1 -0
  458. data/files.zettacode2/hello_world.text/jinja.txt +9 -0
  459. data/files.zettacode2/hello_world.text/joy.txt +1 -0
  460. data/files.zettacode2/hello_world.text/jq.txt +1 -0
  461. data/files.zettacode2/hello_world.text/jse.txt +1 -0
  462. data/files.zettacode2/hello_world.text/jsish.txt +1 -0
  463. data/files.zettacode2/hello_world.text/julia.txt +1 -0
  464. data/files.zettacode2/hello_world.text/k.txt +14 -0
  465. data/files.zettacode2/hello_world.text/kabap.txt +1 -0
  466. data/files.zettacode2/hello_world.text/kaya.txt +6 -0
  467. data/files.zettacode2/hello_world.text/kdf9_usercode.txt +13 -0
  468. data/files.zettacode2/hello_world.text/keg.txt +1 -0
  469. data/files.zettacode2/hello_world.text/kite.txt +4 -0
  470. data/files.zettacode2/hello_world.text/kitten.txt +2 -0
  471. data/files.zettacode2/hello_world.text/koka.txt +3 -0
  472. data/files.zettacode2/hello_world.text/konsolscript.txt +4 -0
  473. data/files.zettacode2/hello_world.text/kotlin.txt +3 -0
  474. data/files.zettacode2/hello_world.text/kql.txt +2 -0
  475. data/files.zettacode2/hello_world.text/ksi.txt +5 -0
  476. data/files.zettacode2/hello_world.text/lambdatalk.txt +5 -0
  477. data/files.zettacode2/hello_world.text/lang5.txt +1 -0
  478. data/files.zettacode2/hello_world.text/langur.txt +1 -0
  479. data/files.zettacode2/hello_world.text/lasso.txt +2 -0
  480. data/files.zettacode2/hello_world.text/latex.txt +4 -0
  481. data/files.zettacode2/hello_world.text/latitude.txt +1 -0
  482. data/files.zettacode2/hello_world.text/lc3_assembly.txt +18 -0
  483. data/files.zettacode2/hello_world.text/ldpl.txt +4 -0
  484. data/files.zettacode2/hello_world.text/lean.txt +3 -0
  485. data/files.zettacode2/hello_world.text/lfe.txt +3 -0
  486. data/files.zettacode2/hello_world.text/liberty_basic.txt +1 -0
  487. data/files.zettacode2/hello_world.text/lil.txt +5 -0
  488. data/files.zettacode2/hello_world.text/lily.txt +7 -0
  489. data/files.zettacode2/hello_world.text/lilypond.txt +11 -0
  490. data/files.zettacode2/hello_world.text/limbo.txt +14 -0
  491. data/files.zettacode2/hello_world.text/lingo.txt +5 -0
  492. data/files.zettacode2/hello_world.text/lisaac.txt +16 -0
  493. data/files.zettacode2/hello_world.text/little.txt +9 -0
  494. data/files.zettacode2/hello_world.text/livecode.txt +15 -0
  495. data/files.zettacode2/hello_world.text/llvm.txt +13 -0
  496. data/files.zettacode2/hello_world.text/lobster.txt +1 -0
  497. data/files.zettacode2/hello_world.text/logo.txt +4 -0
  498. data/files.zettacode2/hello_world.text/logtalk.txt +7 -0
  499. data/files.zettacode2/hello_world.text/lolcode.txt +6 -0
  500. data/files.zettacode2/hello_world.text/lotusscript.txt +5 -0
  501. data/files.zettacode2/hello_world.text/lse.txt +1 -0
  502. data/files.zettacode2/hello_world.text/lse64.txt +1 -0
  503. data/files.zettacode2/hello_world.text/lua.txt +12 -0
  504. data/files.zettacode2/hello_world.text/luna.txt +3 -0
  505. data/files.zettacode2/hello_world.text/m2000_interpreter.txt +5 -0
  506. data/files.zettacode2/hello_world.text/m4.txt +2 -0
  507. data/files.zettacode2/hello_world.text/maclisp.txt +3 -0
  508. data/files.zettacode2/hello_world.text/macro-10.txt +24 -0
  509. data/files.zettacode2/hello_world.text/macro-11.txt +28 -0
  510. data/files.zettacode2/hello_world.text/mad.txt +4 -0
  511. data/files.zettacode2/hello_world.text/make.txt +9 -0
  512. data/files.zettacode2/hello_world.text/malbolge.txt +7 -0
  513. data/files.zettacode2/hello_world.text/manool.txt +10 -0
  514. data/files.zettacode2/hello_world.text/maple.txt +4 -0
  515. data/files.zettacode2/hello_world.text/mathcad.txt +3 -0
  516. data/files.zettacode2/hello_world.text/mathematica}}_-_{{header|wolfram_language.txt +1 -0
  517. data/files.zettacode2/hello_world.text/matlab.txt +2 -0
  518. data/files.zettacode2/hello_world.text/maude.txt +13 -0
  519. data/files.zettacode2/hello_world.text/maxima.txt +1 -0
  520. data/files.zettacode2/hello_world.text/maxscript.txt +3 -0
  521. data/files.zettacode2/hello_world.text/mdl.txt +2 -0
  522. data/files.zettacode2/hello_world.text/mel.txt +3 -0
  523. data/files.zettacode2/hello_world.text/melonbasic.txt +3 -0
  524. data/files.zettacode2/hello_world.text/mercury.txt +8 -0
  525. data/files.zettacode2/hello_world.text/metafont.txt +1 -0
  526. data/files.zettacode2/hello_world.text/min.txt +1 -0
  527. data/files.zettacode2/hello_world.text/miniscript.txt +1 -0
  528. data/files.zettacode2/hello_world.text/minizinc.txt +2 -0
  529. data/files.zettacode2/hello_world.text/mips_assembly.txt +12 -0
  530. data/files.zettacode2/hello_world.text/mirc_scripting_language.txt +1 -0
  531. data/files.zettacode2/hello_world.text/ml-i.txt +1 -0
  532. data/files.zettacode2/hello_world.text/modula-2.txt +24 -0
  533. data/files.zettacode2/hello_world.text/modula-3.txt +7 -0
  534. data/files.zettacode2/hello_world.text/montilang.txt +1 -0
  535. data/files.zettacode2/hello_world.text/morfa.txt +7 -0
  536. data/files.zettacode2/hello_world.text/mosaic.txt +3 -0
  537. data/files.zettacode2/hello_world.text/muf.txt +4 -0
  538. data/files.zettacode2/hello_world.text/mumps.txt +1 -0
  539. data/files.zettacode2/hello_world.text/mydef.txt +27 -0
  540. data/files.zettacode2/hello_world.text/myrtlescript.txt +6 -0
  541. data/files.zettacode2/hello_world.text/mysql.txt +2 -0
  542. data/files.zettacode2/hello_world.text/mythryl.txt +2 -0
  543. data/files.zettacode2/hello_world.text/n-t-roff.txt +6 -0
  544. data/files.zettacode2/hello_world.text/nanoquery.txt +1 -0
  545. data/files.zettacode2/hello_world.text/neat.txt +2 -0
  546. data/files.zettacode2/hello_world.text/neko.txt +1 -0
  547. data/files.zettacode2/hello_world.text/nemerle.txt +13 -0
  548. data/files.zettacode2/hello_world.text/netrexx.txt +1 -0
  549. data/files.zettacode2/hello_world.text/never.txt +4 -0
  550. data/files.zettacode2/hello_world.text/newlisp.txt +2 -0
  551. data/files.zettacode2/hello_world.text/nickle.txt +1 -0
  552. data/files.zettacode2/hello_world.text/nim.txt +3 -0
  553. data/files.zettacode2/hello_world.text/nit.txt +1 -0
  554. data/files.zettacode2/hello_world.text/nix.txt +1 -0
  555. data/files.zettacode2/hello_world.text/nlp++.txt +5 -0
  556. data/files.zettacode2/hello_world.text/ns-hubasic.txt +6 -0
  557. data/files.zettacode2/hello_world.text/nyquist.txt +15 -0
  558. data/files.zettacode2/hello_world.text/oberon-2.txt +11 -0
  559. data/files.zettacode2/hello_world.text/objeck.txt +6 -0
  560. data/files.zettacode2/hello_world.text/objective-c.txt +42 -0
  561. data/files.zettacode2/hello_world.text/ocaml.txt +1 -0
  562. data/files.zettacode2/hello_world.text/occam.txt +5 -0
  563. data/files.zettacode2/hello_world.text/octave.txt +5 -0
  564. data/files.zettacode2/hello_world.text/odin.txt +6 -0
  565. data/files.zettacode2/hello_world.text/oforth.txt +1 -0
  566. data/files.zettacode2/hello_world.text/ol.txt +1 -0
  567. data/files.zettacode2/hello_world.text/onyx.txt +1 -0
  568. data/files.zettacode2/hello_world.text/ooc.txt +8 -0
  569. data/files.zettacode2/hello_world.text/oorexx.txt +4 -0
  570. data/files.zettacode2/hello_world.text/openlisp.txt +10 -0
  571. data/files.zettacode2/hello_world.text/openscad.txt +5 -0
  572. data/files.zettacode2/hello_world.text/oxygene.txt +25 -0
  573. data/files.zettacode2/hello_world.text/oz.txt +1 -0
  574. data/files.zettacode2/hello_world.text/pari-gp.txt +2 -0
  575. data/files.zettacode2/hello_world.text/pascal.txt +5 -0
  576. data/files.zettacode2/hello_world.text/pasm.txt +2 -0
  577. data/files.zettacode2/hello_world.text/pdp-11_assembly.txt +15 -0
  578. data/files.zettacode2/hello_world.text/pdp-1_assembly.txt +22 -0
  579. data/files.zettacode2/hello_world.text/pepsiscript.txt +16 -0
  580. data/files.zettacode2/hello_world.text/perl.txt +11 -0
  581. data/files.zettacode2/hello_world.text/peylang.txt +1 -0
  582. data/files.zettacode2/hello_world.text/pharo.txt +4 -0
  583. data/files.zettacode2/hello_world.text/phix.txt +4 -0
  584. data/files.zettacode2/hello_world.text/phl.txt +7 -0
  585. data/files.zettacode2/hello_world.text/php.txt +5 -0
  586. data/files.zettacode2/hello_world.text/picat.txt +1 -0
  587. data/files.zettacode2/hello_world.text/picolisp.txt +1 -0
  588. data/files.zettacode2/hello_world.text/pict.txt +6 -0
  589. data/files.zettacode2/hello_world.text/pikachu.txt +23 -0
  590. data/files.zettacode2/hello_world.text/pike.txt +3 -0
  591. data/files.zettacode2/hello_world.text/pilot.txt +1 -0
  592. data/files.zettacode2/hello_world.text/pir.txt +3 -0
  593. data/files.zettacode2/hello_world.text/pixilang.txt +1 -0
  594. data/files.zettacode2/hello_world.text/pl-i.txt +3 -0
  595. data/files.zettacode2/hello_world.text/pl-m.txt +13 -0
  596. data/files.zettacode2/hello_world.text/pl-sql.txt +21 -0
  597. data/files.zettacode2/hello_world.text/plain_english.txt +7 -0
  598. data/files.zettacode2/hello_world.text/plan.txt +14 -0
  599. data/files.zettacode2/hello_world.text/pony.txt +3 -0
  600. data/files.zettacode2/hello_world.text/pop11.txt +1 -0
  601. data/files.zettacode2/hello_world.text/portugol.txt +11 -0
  602. data/files.zettacode2/hello_world.text/postscript.txt +31 -0
  603. data/files.zettacode2/hello_world.text/potion.txt +1 -0
  604. data/files.zettacode2/hello_world.text/powerbasic.txt +7 -0
  605. data/files.zettacode2/hello_world.text/powershell.txt +4 -0
  606. data/files.zettacode2/hello_world.text/processing.txt +1 -0
  607. data/files.zettacode2/hello_world.text/prodos.txt +1 -0
  608. data/files.zettacode2/hello_world.text/programming_language.txt +5 -0
  609. data/files.zettacode2/hello_world.text/prolog.txt +1 -0
  610. data/files.zettacode2/hello_world.text/promal.txt +7 -0
  611. data/files.zettacode2/hello_world.text/psql.txt +7 -0
  612. data/files.zettacode2/hello_world.text/pure.txt +5 -0
  613. data/files.zettacode2/hello_world.text/purebasic.txt +5 -0
  614. data/files.zettacode2/hello_world.text/python.txt +19 -0
  615. data/files.zettacode2/hello_world.text/qb64.txt +1 -0
  616. data/files.zettacode2/hello_world.text/quackery.txt +1 -0
  617. data/files.zettacode2/hello_world.text/quill.txt +1 -0
  618. data/files.zettacode2/hello_world.text/quite_basic.txt +1 -0
  619. data/files.zettacode2/hello_world.text/r.txt +5 -0
  620. data/files.zettacode2/hello_world.text/ra.txt +8 -0
  621. data/files.zettacode2/hello_world.text/racket.txt +3 -0
  622. data/files.zettacode2/hello_world.text/raku.txt +4 -0
  623. data/files.zettacode2/hello_world.text/rasel.txt +1 -0
  624. data/files.zettacode2/hello_world.text/ratfor.txt +11 -0
  625. data/files.zettacode2/hello_world.text/raven.txt +1 -0
  626. data/files.zettacode2/hello_world.text/realbasic.txt +7 -0
  627. data/files.zettacode2/hello_world.text/rebol.txt +1 -0
  628. data/files.zettacode2/hello_world.text/red.txt +1 -0
  629. data/files.zettacode2/hello_world.text/relation.txt +4 -0
  630. data/files.zettacode2/hello_world.text/rescript.txt +2 -0
  631. data/files.zettacode2/hello_world.text/retro.txt +4 -0
  632. data/files.zettacode2/hello_world.text/rexx.txt +13 -0
  633. data/files.zettacode2/hello_world.text/ring.txt +1 -0
  634. data/files.zettacode2/hello_world.text/risc-v.txt +11 -0
  635. data/files.zettacode2/hello_world.text/rockstar.txt +1 -0
  636. data/files.zettacode2/hello_world.text/rtl-2.txt +12 -0
  637. data/files.zettacode2/hello_world.text/ruby.txt +11 -0
  638. data/files.zettacode2/hello_world.text/run_basic.txt +1 -0
  639. data/files.zettacode2/hello_world.text/rust.txt +13 -0
  640. data/files.zettacode2/hello_world.text/salmon.txt +9 -0
  641. data/files.zettacode2/hello_world.text/sas.txt +4 -0
  642. data/files.zettacode2/hello_world.text/sasl.txt +4 -0
  643. data/files.zettacode2/hello_world.text/sather.txt +5 -0
  644. data/files.zettacode2/hello_world.text/scala.txt +19 -0
  645. data/files.zettacode2/hello_world.text/scheme.txt +21 -0
  646. data/files.zettacode2/hello_world.text/scilab.txt +1 -0
  647. data/files.zettacode2/hello_world.text/scratchscript.txt +4 -0
  648. data/files.zettacode2/hello_world.text/sed.txt +3 -0
  649. data/files.zettacode2/hello_world.text/seed7.txt +6 -0
  650. data/files.zettacode2/hello_world.text/self.txt +1 -0
  651. data/files.zettacode2/hello_world.text/sensetalk.txt +1 -0
  652. data/files.zettacode2/hello_world.text/set_lang.txt +12 -0
  653. data/files.zettacode2/hello_world.text/setl.txt +1 -0
  654. data/files.zettacode2/hello_world.text/setl4.txt +1 -0
  655. data/files.zettacode2/hello_world.text/shen.txt +1 -0
  656. data/files.zettacode2/hello_world.text/shiny.txt +1 -0
  657. data/files.zettacode2/hello_world.text/sidef.txt +1 -0
  658. data/files.zettacode2/hello_world.text/simplecode.txt +3 -0
  659. data/files.zettacode2/hello_world.text/simpol.txt +2 -0
  660. data/files.zettacode2/hello_world.text/simula.txt +5 -0
  661. data/files.zettacode2/hello_world.text/sing.txt +7 -0
  662. data/files.zettacode2/hello_world.text/sisal.txt +10 -0
  663. data/files.zettacode2/hello_world.text/skookumscript.txt +3 -0
  664. data/files.zettacode2/hello_world.text/slate.txt +1 -0
  665. data/files.zettacode2/hello_world.text/slope.txt +1 -0
  666. data/files.zettacode2/hello_world.text/smalltalk.txt +4 -0
  667. data/files.zettacode2/hello_world.text/smart_basic.txt +1 -0
  668. data/files.zettacode2/hello_world.text/smilebasic.txt +1 -0
  669. data/files.zettacode2/hello_world.text/snobol4.txt +3 -0
  670. data/files.zettacode2/hello_world.text/snusp.txt +11 -0
  671. data/files.zettacode2/hello_world.text/soneking_assembly.txt +10 -0
  672. data/files.zettacode2/hello_world.text/sparc_assembly.txt +18 -0
  673. data/files.zettacode2/hello_world.text/sparkling.txt +1 -0
  674. data/files.zettacode2/hello_world.text/spl.txt +1 -0
  675. data/files.zettacode2/hello_world.text/sql.txt +12 -0
  676. data/files.zettacode2/hello_world.text/sql_pl.txt +35 -0
  677. data/files.zettacode2/hello_world.text/standard_ml.txt +1 -0
  678. data/files.zettacode2/hello_world.text/stata.txt +1 -0
  679. data/files.zettacode2/hello_world.text/suneido.txt +1 -0
  680. data/files.zettacode2/hello_world.text/swahili.txt +1 -0
  681. data/files.zettacode2/hello_world.text/swift.txt +4 -0
  682. data/files.zettacode2/hello_world.text/symsyn.txt +3 -0
  683. data/files.zettacode2/hello_world.text/tailspin.txt +1 -0
  684. data/files.zettacode2/hello_world.text/tcl.txt +5 -0
  685. data/files.zettacode2/hello_world.text/teco.txt +2 -0
  686. data/files.zettacode2/hello_world.text/tern.txt +1 -0
  687. data/files.zettacode2/hello_world.text/terra.txt +6 -0
  688. data/files.zettacode2/hello_world.text/terraform.txt +3 -0
  689. data/files.zettacode2/hello_world.text/testml.txt +2 -0
  690. data/files.zettacode2/hello_world.text/ti-83_basic.txt +2 -0
  691. data/files.zettacode2/hello_world.text/ti-89_basic.txt +1 -0
  692. data/files.zettacode2/hello_world.text/tiny_basic.txt +5 -0
  693. data/files.zettacode2/hello_world.text/tmg.txt +2 -0
  694. data/files.zettacode2/hello_world.text/torquescript.txt +1 -0
  695. data/files.zettacode2/hello_world.text/tpp.txt +1 -0
  696. data/files.zettacode2/hello_world.text/transact-sql.txt +2 -0
  697. data/files.zettacode2/hello_world.text/transd.txt +2 -0
  698. data/files.zettacode2/hello_world.text/transforth.txt +1 -0
  699. data/files.zettacode2/hello_world.text/trith.txt +1 -0
  700. data/files.zettacode2/hello_world.text/true_basic.txt +5 -0
  701. data/files.zettacode2/hello_world.text/tuscript.txt +8 -0
  702. data/files.zettacode2/hello_world.text/ubasic-4th.txt +1 -0
  703. data/files.zettacode2/hello_world.text/uniface.txt +3 -0
  704. data/files.zettacode2/hello_world.text/unison.txt +3 -0
  705. data/files.zettacode2/hello_world.text/unix_shell.txt +9 -0
  706. data/files.zettacode2/hello_world.text/unlambda.txt +1 -0
  707. data/files.zettacode2/hello_world.text/ursa.txt +1 -0
  708. data/files.zettacode2/hello_world.text/ursala.txt +10 -0
  709. data/files.zettacode2/hello_world.text/v.txt +1 -0
  710. data/files.zettacode2/hello_world.text/v_(vlang).txt +3 -0
  711. data/files.zettacode2/hello_world.text/vala.txt +3 -0
  712. data/files.zettacode2/hello_world.text/vax_assembly.txt +10 -0
  713. data/files.zettacode2/hello_world.text/vba.txt +6 -0
  714. data/files.zettacode2/hello_world.text/vbscript.txt +2 -0
  715. data/files.zettacode2/hello_world.text/vedit_macro_language.txt +1 -0
  716. data/files.zettacode2/hello_world.text/verbexx.txt +2 -0
  717. data/files.zettacode2/hello_world.text/verilog.txt +8 -0
  718. data/files.zettacode2/hello_world.text/vhdl.txt +16 -0
  719. data/files.zettacode2/hello_world.text/vim_script.txt +1 -0
  720. data/files.zettacode2/hello_world.text/visual_basic.txt +22 -0
  721. data/files.zettacode2/hello_world.text/visual_basic_.net.txt +7 -0
  722. data/files.zettacode2/hello_world.text/viua_vm_assembly.txt +6 -0
  723. data/files.zettacode2/hello_world.text/vtl-2.txt +1 -0
  724. data/files.zettacode2/hello_world.text/wart.txt +2 -0
  725. data/files.zettacode2/hello_world.text/wdte.txt +1 -0
  726. data/files.zettacode2/hello_world.text/webassembly.txt +38 -0
  727. data/files.zettacode2/hello_world.text/wee_basic.txt +2 -0
  728. data/files.zettacode2/hello_world.text/whenever.txt +2 -0
  729. data/files.zettacode2/hello_world.text/whiley.txt +5 -0
  730. data/files.zettacode2/hello_world.text/whitespace.txt +1 -0
  731. data/files.zettacode2/hello_world.text/wisp.txt +8 -0
  732. data/files.zettacode2/hello_world.text/wolfram_language.txt +1 -0
  733. data/files.zettacode2/hello_world.text/wren.txt +1 -0
  734. data/files.zettacode2/hello_world.text/x10.txt +8 -0
  735. data/files.zettacode2/hello_world.text/x86-64_assembly.txt +44 -0
  736. data/files.zettacode2/hello_world.text/x86_assembly.txt +37 -0
  737. data/files.zettacode2/hello_world.text/xbasic.txt +12 -0
  738. data/files.zettacode2/hello_world.text/xeec.txt +4 -0
  739. data/files.zettacode2/hello_world.text/xl.txt +2 -0
  740. data/files.zettacode2/hello_world.text/xlisp.txt +2 -0
  741. data/files.zettacode2/hello_world.text/xpath.txt +1 -0
  742. data/files.zettacode2/hello_world.text/xpl0.txt +3 -0
  743. data/files.zettacode2/hello_world.text/xslt.txt +5 -0
  744. data/files.zettacode2/hello_world.text/yabasic.txt +3 -0
  745. data/files.zettacode2/hello_world.text/yorick.txt +1 -0
  746. data/files.zettacode2/hello_world.text/z80_assembly.txt +21 -0
  747. data/files.zettacode2/hello_world.text/zig.txt +4 -0
  748. data/files.zettacode2/hello_world.text/zkl.txt +2 -0
  749. data/files.zettacode2/hello_world.text/zoea.txt +2 -0
  750. data/files.zettacode2/hello_world.text/zoea_visual.txt +1 -0
  751. data/files.zettacode2/hello_world.text/zoomscript.txt +5 -0
  752. data/files.zettacode2/hello_world.text/zx_spectrum_basic.txt +4 -0
  753. data/files.zettacode2/hello_world.text//340/256/211/340/256/257/340/256/277/340/256/260/340/257/215-uyir.txt +5 -0
  754. data/install/docker/.gitignore +2 -0
  755. data/install/docker/run +7 -0
  756. data/{vagrant → install/vagrant/debian}/.gitignore +0 -0
  757. data/{vagrant → install/vagrant/debian}/.ruby-version +0 -0
  758. data/{vagrant → install/vagrant/debian}/Vagrantfile +1 -1
  759. data/{vagrant → install/vagrant/debian}/install.sh +0 -0
  760. data/install/vagrant/opensuse/.gitignore +2 -0
  761. data/install/vagrant/opensuse/.ruby-version +1 -0
  762. data/install/vagrant/opensuse/Vagrantfile +29 -0
  763. data/lib/zettacode/parse/parse.rb +1 -1
  764. data/lib/zettacode/version.rb +1 -1
  765. metadata +761 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f579bfba963a1101694ba42d392732b0367d61d32d0e7464c546dc544557668d
4
- data.tar.gz: 6501f595e29aedf44aadd2cbfd6028e05bc674b23a6550d8d538cd4c800c5525
3
+ metadata.gz: ae2df517beff7796650021bf0fba7de819ec55080ad053a469e13095d6c011de
4
+ data.tar.gz: 836c53f4420566b2b4b8368028d8e55f6e3e28a4e147a5f6b3822fc613539e11
5
5
  SHA512:
6
- metadata.gz: 2160249bac68d769b0a42adc3ea2d5bc858244e030049ddf8491492c134cc8c5ca5388435f104d1ae8935ee08d239217cf4e0cfbad20e689f7d8ff275b687ce8
7
- data.tar.gz: aa85239d535347aa2ee08352e89387bbb01d297c0dea2f3783fe9a23757e13213ccfc64ae779567892c841365d6b6a346cea818331944eb67bd99cbb82994049
6
+ metadata.gz: 6265a82dbe96221b8bb3833fd493113285488d2a3d92210d9aba37181f4c1e222b707497dec85b765b0417ffcf1f541bac82771eea0fadad21bc2298cda670b3
7
+ data.tar.gz: 0ca96af084802f24e8efd9e852e66f08b336b5e87f570fc0a75f74e799216528ee372f3508bec796b7fa3265f4f4f05d51ce681c057d42238f1466b49aa72922
data/README.md CHANGED
@@ -26,7 +26,7 @@ Features:
26
26
  ## 1.1 Installation
27
27
 
28
28
  * Install Ruby on your host.
29
- * `ruby -v`, check current Ruby version.
29
+ * `ruby -v`, check current Ruby version (Require version >= 3.1.0)
30
30
  * `gem install zettacode`, to install "zettacode" gem.
31
31
  * `zettacode -v`, show current version.
32
32
 
@@ -0,0 +1,14 @@
1
+
2
+ |~>|~#:end:>
3
+ <:61:x<:3d:=<:20:$==$~$=${~>%<:2c:~$<:20:~$
4
+ <:62:x<:3d:=<:20:$==$~$=${~>%<:a:~$$
5
+ <:61:x<:2b:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~+%<:a:~$
6
+ <:61:x<:2d:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~-%<:a:~$
7
+ <:61:x<:2a:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~*%<:a:~$
8
+ <:61:x<:2f:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~/%<:a:~$
9
+ <:61:x<:25:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~/=%<:a:~$
10
+ {~>>{x<:1:-^:u:
11
+ <:61:x<:5e:=<:20:$==$~$$=$<:62:x<:3D:=<:20:$==$~$=${{~%#:end:
12
+ }:u:=>{x{=>~*>{x<:2:-#:ter:
13
+ }:ml:x->{x{=>~*>{x<:1:-#:ter:^:ml:
14
+ }:ter:<:61:x<:5e:=<:20:$==$~$$=$<:62:x<:3D:=<:20:$==$~$=${{~%
@@ -0,0 +1,9 @@
1
+ V a = Int(input())
2
+ V b = Int(input())
3
+
4
+ print(‘a + b = ’(a + b))
5
+ print(‘a - b = ’(a - b))
6
+ print(‘a * b = ’(a * b))
7
+ print(‘a / b = ’(a I/ b))
8
+ print(‘a % b = ’(a % b))
9
+ print(‘a ^ b = ’(a ^ b))
@@ -0,0 +1,55 @@
1
+ From the principles of operation: Operands are signed and 32 bits long.
2
+ Negative quantities are held in two's-complement form.
3
+ <br>'''Multiplication:'''<br>
4
+ The product of the multiplier (the second operand) and the multiplicand
5
+ (the first operand) replaces the multiplicand. Both multiplier and
6
+ multiplicand are 32-bit signed integers. The product is always a 64-bit
7
+ signed integer and occupies an even/odd register pair.
8
+ <br>'''Division:'''<br>
9
+ The dividend (first operand) is divided by the divisor (second operand)
10
+ and replaced by the quotient and remainder. The dividend is a 64-bit
11
+ signed integer and occupies the even/odd pair of registers.
12
+ A 32-bit signed remainder and a 32-bit signed quotient replace the dividend
13
+ in the even-numbered and odd-numbered registers, respectively.
14
+ The sign of the quotient is determined by the rules of algebra.
15
+ The remainder has the same sign as the dividend.
16
+ * Arithmetic/Integer 04/09/2015
17
+ ARITHINT CSECT
18
+ USING ARITHINT,R12
19
+ LR R12,R15
20
+ ADD L R1,A
21
+ A R1,B r1=a+b
22
+ XDECO R1,BUF
23
+ MVI BUF,C'+'
24
+ XPRNT BUF,12
25
+ SUB L R1,A
26
+ S R1,B r1=a-b
27
+ XDECO R1,BUF
28
+ MVI BUF,C'-'
29
+ XPRNT BUF,12
30
+ MUL L R1,A
31
+ M R0,B r0r1=a*b
32
+ XDECO R1,BUF so r1 has the lower part
33
+ MVI BUF,C'*'
34
+ XPRNT BUF,12
35
+ DIV L R0,A
36
+ SRDA R0,32 to shift the sign
37
+ D R0,B r1=a/b and r0 has the remainder
38
+ XDECO R1,BUF so r1 has quotient
39
+ MVI BUF,C'/'
40
+ XPRNT BUF,12
41
+ MOD L R0,A
42
+ SRDA R0,32 to shift the sign
43
+ D R0,B r1=a/b and r0 has the remainder
44
+ XDECO R0,BUF so r0 has the remainder
45
+ MVI BUF,C'R'
46
+ XPRNT BUF,12
47
+ RETURN XR R15,R15
48
+ BR R14
49
+ CNOP 0,4
50
+ A DC F'53'
51
+ B DC F'11'
52
+ BUF DC CL12' '
53
+ YREGS
54
+ END ARITHINT
55
+ Inputs are in the code: a=53, b=11
@@ -0,0 +1,50 @@
1
+ Code is called as a subroutine (i.e. JSR Arithmetic). Specific OS/hardware routines for user input and printing are left unimplemented.
2
+ Arithmetic: PHA ;push accumulator and X register onto stack
3
+ TXA
4
+ PHA
5
+ JSR GetUserInput ;routine not implemented
6
+ ;two integers now in memory locations A and B
7
+ ;addition
8
+ LDA A
9
+ CLC
10
+ ADC B
11
+ JSR DisplayAddition ;routine not implemented
12
+
13
+ ;subtraction
14
+ LDA A
15
+ SEC
16
+ SBC B
17
+ JSR DisplaySubtraction ;routine not implemented
18
+
19
+ ;multiplication - overflow not handled
20
+ LDA A
21
+ LDX B
22
+ Multiply: CLC
23
+ ADC A
24
+ DEX
25
+ BNE Multiply
26
+ JSR DisplayMultiply ;routine not implemented
27
+
28
+ ;division - rounds up
29
+ LDA A
30
+ LDX #0
31
+ SEC
32
+ Divide: INX
33
+ SBC B
34
+ BCS Divide
35
+ TXA ;get result into accumulator
36
+ JSR DisplayDivide ;routine not implemented
37
+
38
+ ;modulus
39
+ LDA A
40
+ SEC
41
+ Modulus: SBC B
42
+ BCS Modulus
43
+ ADC B
44
+ JSR DisplayModulus ;routine not implemented
45
+
46
+ PLA ;restore accumulator and X register from stack
47
+ TAX
48
+ PLA
49
+ RTS ;return from subroutine
50
+ The 6502 has no opcodes for multiplication, division, or modulus; the routines for multiplication, division, and modulus given above can be heavily optimized at the expense of some clarity.
@@ -0,0 +1,24 @@
1
+ ADD.L D0,D1 ; add two numbers
2
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
+ SUB.L D1,D0 ; subtract D1 from D0
4
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5
+ MULU D0,D1 ; multiply two unsigned numbers. Use MULS for signed numbers
6
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
+ DIVU D1,D0 ; Divide D0 by D1. Use DIVS for signed numbers. Upper two bytes of D0 are the remainder, lower two are the integer quotient.
8
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
9
+ MODULUS:
10
+ DIVU D1,D0
11
+ SWAP D0 ;swap the order of the 16-bit halves of D0.
12
+ RTS
13
+
14
+ Exponentiation doesn't exist but can be implemented in a similar fashion to multiplication on the 6502:
15
+
16
+ Exponent:
17
+ ;raises D0 to the D1 power. No overflow protection.
18
+ MOVE.L D0,D2
19
+ SUBQ.L #1,D1
20
+ loop_exponent:
21
+ MULU D0,D2
22
+ DBRA D1,loop_exponent
23
+ ;output is in D2
24
+ RTS
@@ -0,0 +1,137 @@
1
+ {{works with|as|Raspberry Pi 3B version Buster 64 bits}}
2
+ <syntaxhighlight lang="aarch64 assembly">
3
+ /* ARM assembly AARCH64 Raspberry PI 3B */
4
+ /* program arith64.s */
5
+
6
+ /*******************************************/
7
+ /* Constantes file */
8
+ /*******************************************/
9
+ /* for this file see task include a file in language AArch64 assembly*/
10
+ .include "../includeConstantesARM64.inc"
11
+
12
+ /***********************/
13
+ /* Initialized data */
14
+ /***********************/
15
+ .data
16
+ szMessError: .asciz " Two numbers in command line please ! \n" // message
17
+ szRetourLigne: .asciz "\n"
18
+ szMessResult: .asciz "resultat : @ \n" // message result
19
+ sMessValeur: .fill 12, 1, ' '
20
+ .asciz "\n"
21
+ szMessAddition: .asciz "Addition "
22
+ szMessSoustraction: .asciz "soustraction :"
23
+ szMessMultiplication: .asciz "multiplication :"
24
+ szMessDivision: .asciz "division :"
25
+ szMessReste: .asciz "remainder :"
26
+
27
+ /***********************/
28
+ /* No Initialized data */
29
+ /***********************/
30
+ .bss
31
+ qValeur: .skip 8 // reserve 8 bytes in memory
32
+ sZoneConv: .skip 30
33
+ .text
34
+ .global main
35
+ main:
36
+ mov fp,sp // fp <- stack address
37
+ ldr x0,[fp] // recup number of parameter in command line
38
+ cmp x0,3
39
+ blt error
40
+ ldr x0,[fp,16] // adresse of 1er number
41
+ bl conversionAtoD
42
+ mov x3,x0
43
+ ldr x0,[fp,24] // adresse of 2eme number
44
+ bl conversionAtoD
45
+ mov x4,x0
46
+ // addition
47
+ add x0,x3,x4
48
+ ldr x1,qAdrsZoneConv // result in x0
49
+ bl conversion10S // call function with 2 parameter (x0,x1)
50
+ ldr x0,qAdrszMessAddition
51
+ bl affichageMess // display message
52
+ ldr x0,qAdrszMessResult
53
+ ldr x1,qAdrsZoneConv
54
+ bl strInsertAtCharInc // insert result at @ character
55
+ bl affichageMess // display message
56
+ ldr x0,qAdrsZoneConv
57
+ // soustraction
58
+ sub x0,x3,x4
59
+ ldr x1,qAdrsZoneConv // result in x0
60
+ bl conversion10S // call function with 2 parameter (x0,x1)
61
+ ldr x0,qAdrszMessSoustraction
62
+ bl affichageMess // display message
63
+ ldr x0,qAdrszMessResult
64
+ ldr x1,qAdrsZoneConv
65
+ bl strInsertAtCharInc // insert result at @ character
66
+ bl affichageMess // display message
67
+ ldr x0,qAdrsZoneConv
68
+ // multiplication
69
+ mul x0,x3,x4
70
+ ldr x1,qAdrsZoneConv // result in x0
71
+ bl conversion10S // call function with 2 parameter (x0,x1)
72
+ ldr x0,qAdrszMessMultiplication
73
+ bl affichageMess // display message
74
+ ldr x0,qAdrszMessResult
75
+ ldr x1,qAdrsZoneConv
76
+ bl strInsertAtCharInc // insert result at @ character
77
+ bl affichageMess // display message
78
+ ldr x0,qAdrsZoneConv
79
+ // division
80
+ mov x0,x3
81
+ mov x1,x4
82
+ udiv x0,x3,x4 // quotient
83
+ msub x3,x0,x4,x3 // remainder x3 = x3 - (x0*x4)
84
+ ldr x1,qAdrsZoneConv // result in x0
85
+ bl conversion10S // call function with 2 parameter (x0,x1)
86
+ ldr x0,qAdrszMessDivision
87
+ bl affichageMess // display message
88
+ ldr x0,qAdrszMessResult
89
+ ldr x1,qAdrsZoneConv
90
+ bl strInsertAtCharInc // insert result at @ character
91
+ bl affichageMess // display message
92
+ ldr x0,qAdrsZoneConv
93
+
94
+ mov x0,x3 // remainder
95
+ ldr x1,qAdrsZoneConv // result in x0
96
+ bl conversion10S // call function with 2 parameter (x0,x1)
97
+ ldr x0,qAdrszMessReste
98
+ bl affichageMess // display message
99
+ ldr x0,qAdrszMessResult
100
+ ldr x1,qAdrsZoneConv
101
+ bl strInsertAtCharInc // insert result at @ character
102
+ bl affichageMess // display message
103
+ ldr x0,qAdrsZoneConv
104
+
105
+ mov x0,0 // return code
106
+ b 100f
107
+ error:
108
+ ldr x0,qAdrszMessError
109
+ bl affichageMess // call function with 1 parameter (x0)
110
+ mov x0,1 // return code
111
+ 100: // end of program
112
+ mov x8,EXIT // request to exit program
113
+ svc 0 // perform the system call
114
+ qAdrsMessValeur: .quad sMessValeur
115
+ qAdrszMessResult: .quad szMessResult
116
+ qAdrszMessError: .quad szMessError
117
+ qAdrszMessAddition: .quad szMessAddition
118
+ qAdrszMessSoustraction: .quad szMessSoustraction
119
+ qAdrszMessMultiplication: .quad szMessMultiplication
120
+ qAdrszMessDivision: .quad szMessDivision
121
+ qAdrszMessReste: .quad szMessReste
122
+ qAdrsZoneConv: .quad sZoneConv
123
+ /********************************************************/
124
+ /* File Include fonctions */
125
+ /********************************************************/
126
+ /* for this file see task include a file in language AArch64 assembly */
127
+ .include "../includeARM64.inc"
128
+
129
+ {{Output : }}
130
+ <PRE>
131
+ pi@debian-buster-64:~/asm64/rosetta/asm3 $ arith64 101 25
132
+ Addition resultat : +126
133
+ soustraction :resultat : +76
134
+ multiplication :resultat : +2525
135
+ division :resultat : +4
136
+ remainder :resultat : +1
137
+ </PRE>
@@ -0,0 +1,25 @@
1
+ report zz_arithmetic no standard page heading.
2
+
3
+ " Read in the two numbers from the user.
4
+ selection-screen begin of block input.
5
+ parameters: p_first type i,
6
+ p_second type i.
7
+ selection-screen end of block input.
8
+
9
+ " Set the text value that is displayed on input request.
10
+ at selection-screen output.
11
+ %_p_first_%_app_%-text = 'First Number: '.
12
+ %_p_second_%_app_%-text = 'Second Number: '.
13
+
14
+ end-of-selection.
15
+ data: lv_result type i.
16
+ lv_result = p_first + p_second.
17
+ write: / 'Addition:', lv_result.
18
+ lv_result = p_first - p_second.
19
+ write: / 'Substraction:', lv_result.
20
+ lv_result = p_first * p_second.
21
+ write: / 'Multiplication:', lv_result.
22
+ lv_result = p_first div p_second.
23
+ write: / 'Integer quotient:', lv_result. " Truncated towards zero.
24
+ lv_result = p_first mod p_second.
25
+ write: / 'Remainder:', lv_result.
@@ -0,0 +1,21 @@
1
+
2
+ :set-state-ok t
3
+
4
+ (defun get-two-nums (state)
5
+ (mv-let (_ a state)
6
+ (read-object *standard-oi* state)
7
+ (declare (ignore _))
8
+ (mv-let (_ b state)
9
+ (read-object *standard-oi* state)
10
+ (declare (ignore _))
11
+ (mv a b state))))
12
+
13
+ (defun integer-arithmetic (state)
14
+ (mv-let (a b state)
15
+ (get-two-nums state)
16
+ (mv state
17
+ (progn$ (cw "Sum: ~x0~%" (+ a b))
18
+ (cw "Difference: ~x0~%" (- a b))
19
+ (cw "Product: ~x0~%" (* a b))
20
+ (cw "Quotient: ~x0~%" (floor a b))
21
+ (cw "Remainder: ~x0~%" (mod a b))))))
@@ -0,0 +1,36 @@
1
+ <syntaxhighlight lang="action!">DEFINE NO_KEY="255"
2
+ DEFINE KEY_Y="43"
3
+ DEFINE KEY_N="35"
4
+
5
+ PROC Main()
6
+ BYTE CH=$02FC ;Internal hardware value for last key pressed
7
+ BYTE k
8
+ INT a,b
9
+
10
+ DO
11
+ Print("Input integer value a=")
12
+ a=InputI()
13
+ Print("Input integer value b=")
14
+ b=InputI()
15
+
16
+ PrintF("a+b=%I%E",a+b)
17
+ PrintF("a-b=%I%E",a-b)
18
+ PrintF("a*b=%I%E",a*b)
19
+ PrintF("a/b=%I%E",a/b)
20
+ PrintF("a MOD b=%I%E",a MOD b)
21
+
22
+ PutE()
23
+ PrintE("Again? (Y/N)")
24
+
25
+ CH=NO_KEY ;Flush the keyboard
26
+ DO
27
+ k=CH
28
+ UNTIL k=KEY_Y OR k=KEY_N
29
+ OD
30
+ CH=NO_KEY ;Flush the keyboard
31
+
32
+ IF k=KEY_N THEN
33
+ EXIT
34
+ FI
35
+ OD
36
+ RETURN
@@ -0,0 +1,20 @@
1
+ with Ada.Text_Io;
2
+ with Ada.Integer_Text_IO;
3
+
4
+ procedure Integer_Arithmetic is
5
+ use Ada.Text_IO;
6
+ use Ada.Integer_Text_Io;
7
+
8
+ A, B : Integer;
9
+ begin
10
+ Get(A);
11
+ Get(B);
12
+ Put_Line("a+b = " &amp; Integer'Image(A + B));
13
+ Put_Line("a-b = " &amp; Integer'Image(A - B));
14
+ Put_Line("a*b = " &amp; Integer'Image(A * B));
15
+ Put_Line("a/b = " &amp; Integer'Image(A / B));
16
+ Put_Line("a mod b = " &amp; Integer'Image(A mod B)); -- Sign matches B
17
+ Put_Line("remainder of a/b = " &amp; Integer'Image(A rem B)); -- Sign matches A
18
+ Put_Line("a**b = " &amp; Integer'Image(A ** B));
19
+
20
+ end Integer_Arithmetic;
@@ -0,0 +1,10 @@
1
+ var a = 0
2
+ var b = 0
3
+ stdin -> a // read int from stdin
4
+ stdin -> b // read int from stdin
5
+
6
+ println ("a+b=" + (a + b))
7
+ println ("a-b=" + (a - b))
8
+ println ("a*b=" + (a * b))
9
+ println ("a/b=" + (a / b))
10
+ println ("a%b=" + (a % b))
@@ -0,0 +1,14 @@
1
+ {{trans|C}}
2
+ {{works with|ALGOL 68|Revision 1 - no extensions to language used}}
3
+ {{works with|ALGOL 68G|Any - tested with release [http://sourceforge.net/projects/algol68/files/algol68g/algol68g-1.18.0/algol68g-1.18.0-9h.tiny.el5.centos.fc11.i386.rpm/download 1.18.0-9h.tiny]}}
4
+ {{wont work with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release [http://sourceforge.net/projects/algol68/files/algol68toc/algol68toc-1.8.8d/algol68toc-1.8-8d.fc9.i386.rpm/download 1.8-8d] - due to extensive use of FORMATted transput}}
5
+ main:(
6
+ LONG INT a=355, b=113;
7
+ printf(($"a PLUS b = a+b = "gl$, a + b));
8
+ printf(($"a MINUS b = a-b = "gl$, a - b));
9
+ printf(($"a TIMES b = a*b = a×b = "gl$, a * b));
10
+ printf(($"a DIV b = a/b = "gl$, a / b));
11
+ printf(($"a OVER b = a%b = a÷b = "gl$, a % b));
12
+ printf(($"a MOD b = a%*b = a%×b = a÷×b = a÷*b = "gl$, a %* b));
13
+ printf(($"a UP b = a**b = a↑b = "gl$, a ** b))
14
+ )
@@ -0,0 +1,16 @@
1
+ The Algol W integer division operator (called div) truncates towards zero.<br>
2
+ The result of the modulo operator (called rem) has the sign of the first operand when the operands have different signs.
3
+ begin
4
+ integer a, b;
5
+ write( "Enter 2 integers> " );
6
+ read( a, b );
7
+ write( "a + b: ", a + b ); % addition %
8
+ write( "a - b: ", a - b ); % subtraction %
9
+ write( "a * b: ", a * b ); % multiplication %
10
+ write( "a / b: ", a div b ); % integer division %
11
+ write( "a mod b: ", a rem b ); % modulo %
12
+ % the ** operator returns a real result even with integer operands %
13
+ % ( the right-hand operand must always be an integer, the left-hand %
14
+ % operand can be integer, real or complex ) %
15
+ write( "a ^ b: ", round( a ** b ) )
16
+ end.
@@ -0,0 +1,14 @@
1
+ PROC main()
2
+ DEF a, b, t
3
+ WriteF('A = ')
4
+ ReadStr(stdin, t)
5
+ a := Val(t)
6
+ WriteF('B = ')
7
+ ReadStr(stdin, t)
8
+ b := Val(t)
9
+ WriteF('A+B=\d\nA-B=\d\n', a+b, a-b)
10
+ WriteF('A*B=\d\nA/B=\d\n', a*b, a/b)
11
+ /* * and / are 16 bit ops; Mul and Div are 32bit ops */
12
+ WriteF('A*B=\d\nA/B=\d\n', Mul(a,b), Div(a,b))
13
+ WriteF('A mod B =\d\n', Mod(a,b))
14
+ ENDPROC
@@ -0,0 +1,7 @@
1
+ ∇res ← integer_arithmetic; l; r
2
+ l ← ⎕
3
+ r ← ⎕
4
+ res ← 6 2 ⍴ 'sum' (l+r) 'diff' (l-r) 'prod' (l×r) 'quot' (⌊l÷r) 'rem' (r|l) 'pow' (l*r)
5
+
6
+
7
+ Quotient will round down in this version.
@@ -0,0 +1,16 @@
1
+
2
+ set i1 to (text returned of (display dialog "Enter an integer value" default answer "")) as integer
3
+ set i2 to (text returned of (display dialog "Enter another integer value" default answer "")) as integer
4
+
5
+ set sum to i1 + i2
6
+ set diff to i1 - i2
7
+ set prod to i1 * i2
8
+ set quot to i1 div i2 -- Rounds towards zero.
9
+ set remainder to i1 mod i2 -- The result's sign matches the dividend's.
10
+ set exp to i1 ^ i2 -- The result's always a real.
11
+
12
+ return {|integers|:{i1, i2}, difference:diff, product:prod, quotient:quot, remainder:remainder, exponientiation:exp}
13
+
14
+ {{output}}
15
+
16
+ {|integers|:{-57, 2}, difference:-59, product:-114, quotient:-28, remainder:-1, exponientiation:3249.0}