zettacode 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (755) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/zettacode/parse/parse.rb +17 -14
  4. data/lib/zettacode/version.rb +1 -1
  5. data/zettacode.files/arithmetic.integer/0815}.txt +13 -13
  6. data/zettacode.files/arithmetic.integer/11l}.txt +8 -8
  7. data/zettacode.files/arithmetic.integer/360_assembly.txt +28 -28
  8. data/zettacode.files/arithmetic.integer/6502_assembly}.txt +24 -24
  9. data/zettacode.files/arithmetic.integer/68000_assembly.txt +15 -15
  10. data/zettacode.files/arithmetic.integer/aarch64_assembly.txt +130 -130
  11. data/zettacode.files/arithmetic.integer/abap.txt +22 -22
  12. data/zettacode.files/arithmetic.integer/acl2.txt +18 -18
  13. data/zettacode.files/arithmetic.integer/action!.txt +21 -21
  14. data/zettacode.files/arithmetic.integer/ada.txt +17 -17
  15. data/zettacode.files/arithmetic.integer/aikido.txt +9 -9
  16. data/zettacode.files/arithmetic.integer/algol_68.txt +13 -13
  17. data/zettacode.files/arithmetic.integer/algol_w.txt +16 -16
  18. data/zettacode.files/arithmetic.integer/amigae.txt +13 -13
  19. data/zettacode.files/arithmetic.integer/apl.txt +5 -5
  20. data/zettacode.files/arithmetic.integer/applescript.txt +11 -11
  21. data/zettacode.files/arithmetic.integer/arm_assembly.txt +267 -267
  22. data/zettacode.files/arithmetic.integer/arturo.txt +8 -8
  23. data/zettacode.files/arithmetic.integer/asymptote.txt +15 -15
  24. data/zettacode.files/arithmetic.integer/autohotkey.txt +18 -18
  25. data/zettacode.files/arithmetic.integer/avail.txt +10 -10
  26. data/zettacode.files/arithmetic.integer/awk.txt +10 -10
  27. data/zettacode.files/arithmetic.integer/basic.txt +47 -47
  28. data/zettacode.files/arithmetic.integer/basic256.txt +8 -8
  29. data/zettacode.files/arithmetic.integer/batch_file.txt +5 -5
  30. data/zettacode.files/arithmetic.integer/bbc_basic.txt +8 -8
  31. data/zettacode.files/arithmetic.integer/bc.txt +7 -7
  32. data/zettacode.files/arithmetic.integer/befunge.txt +6 -6
  33. data/zettacode.files/arithmetic.integer/bqn.txt +12 -12
  34. data/zettacode.files/arithmetic.integer/bracmat.txt +17 -17
  35. data/zettacode.files/arithmetic.integer/brat.txt +7 -7
  36. data/zettacode.files/arithmetic.integer/c++.txt +9 -9
  37. data/zettacode.files/arithmetic.integer/c.txt +14 -14
  38. data/zettacode.files/arithmetic.integer/c_sharp|c#.txt +11 -11
  39. data/zettacode.files/arithmetic.integer/chef.txt +32 -32
  40. data/zettacode.files/arithmetic.integer/clipper.txt +11 -11
  41. data/zettacode.files/arithmetic.integer/clojure.txt +12 -12
  42. data/zettacode.files/arithmetic.integer/cobol.txt +22 -22
  43. data/zettacode.files/arithmetic.integer/common_lisp.txt +20 -20
  44. data/zettacode.files/arithmetic.integer/component_pascal.txt +21 -21
  45. data/zettacode.files/arithmetic.integer/crystal.txt +9 -9
  46. data/zettacode.files/arithmetic.integer/d.txt +14 -14
  47. data/zettacode.files/arithmetic.integer/dc.txt +10 -10
  48. data/zettacode.files/arithmetic.integer/dcl.txt +8 -8
  49. data/zettacode.files/arithmetic.integer/delphi.txt +14 -14
  50. data/zettacode.files/arithmetic.integer/dwscript.txt +8 -8
  51. data/zettacode.files/arithmetic.integer/dyalect.txt +9 -9
  52. data/zettacode.files/arithmetic.integer/e.txt +7 -7
  53. data/zettacode.files/arithmetic.integer/easylang.txt +8 -8
  54. data/zettacode.files/arithmetic.integer/ecl.txt +28 -28
  55. data/zettacode.files/arithmetic.integer/efene.txt +11 -11
  56. data/zettacode.files/arithmetic.integer/eiffel.txt +30 -30
  57. data/zettacode.files/arithmetic.integer/elena.txt +12 -12
  58. data/zettacode.files/arithmetic.integer/elixir.txt +23 -23
  59. data/zettacode.files/arithmetic.integer/emojicode.txt +7 -7
  60. data/zettacode.files/arithmetic.integer/erlang.txt +13 -13
  61. data/zettacode.files/arithmetic.integer/erre.txt +9 -9
  62. data/zettacode.files/arithmetic.integer/euphoria.txt +10 -10
  63. data/zettacode.files/arithmetic.integer/excel.txt +7 -7
  64. data/zettacode.files/arithmetic.integer/f_sharp|f#.txt +7 -7
  65. data/zettacode.files/arithmetic.integer/factor.txt +15 -15
  66. data/zettacode.files/arithmetic.integer/false.txt +6 -6
  67. data/zettacode.files/arithmetic.integer/fermat.txt +9 -9
  68. data/zettacode.files/arithmetic.integer/forth.txt +15 -15
  69. data/zettacode.files/arithmetic.integer/fortran.txt +6 -6
  70. data/zettacode.files/arithmetic.integer/freebasic.txt +14 -14
  71. data/zettacode.files/arithmetic.integer/friendly_interactive_shell.txt +8 -8
  72. data/zettacode.files/arithmetic.integer/frink.txt +6 -6
  73. data/zettacode.files/arithmetic.integer/futurebasic.txt +115 -115
  74. data/zettacode.files/arithmetic.integer/gambas.txt +22 -22
  75. data/zettacode.files/arithmetic.integer/gap.txt +15 -15
  76. data/zettacode.files/arithmetic.integer/genie.txt +18 -18
  77. data/zettacode.files/arithmetic.integer/george.txt +7 -7
  78. data/zettacode.files/arithmetic.integer/go.txt +45 -45
  79. data/zettacode.files/arithmetic.integer/groovy.txt +14 -14
  80. data/zettacode.files/arithmetic.integer/harbour.txt +11 -11
  81. data/zettacode.files/arithmetic.integer/haskell.txt +15 -15
  82. data/zettacode.files/arithmetic.integer/haxe.txt +11 -11
  83. data/zettacode.files/arithmetic.integer/hicest.txt +20 -20
  84. data/zettacode.files/arithmetic.integer/holyc.txt +12 -12
  85. data/zettacode.files/arithmetic.integer/i.txt +9 -9
  86. data/zettacode.files/arithmetic.integer/icon}}_and_{{header|unicon.txt +12 -12
  87. data/zettacode.files/arithmetic.integer/inform_7.txt +20 -20
  88. data/zettacode.files/arithmetic.integer/j.txt +14 -14
  89. data/zettacode.files/arithmetic.integer/java.txt +17 -17
  90. data/zettacode.files/arithmetic.integer/javascript.txt +24 -24
  91. data/zettacode.files/arithmetic.integer/jq.txt +15 -15
  92. data/zettacode.files/arithmetic.integer/jsish.txt +24 -24
  93. data/zettacode.files/arithmetic.integer/julia.txt +5 -4
  94. data/zettacode.files/arithmetic.integer/kotlin.txt +34 -34
  95. data/zettacode.files/arithmetic.integer/labview.txt +2 -2
  96. data/zettacode.files/arithmetic.integer/lambdatalk.txt +20 -20
  97. data/zettacode.files/arithmetic.integer/lasso.txt +8 -8
  98. data/zettacode.files/arithmetic.integer/lfe.txt +25 -25
  99. data/zettacode.files/arithmetic.integer/liberty_basic.txt +9 -9
  100. data/zettacode.files/arithmetic.integer/lil.txt +13 -13
  101. data/zettacode.files/arithmetic.integer/lingo.txt +9 -9
  102. data/zettacode.files/arithmetic.integer/little.txt +13 -13
  103. data/zettacode.files/arithmetic.integer/livecode.txt +17 -17
  104. data/zettacode.files/arithmetic.integer/logo.txt +10 -10
  105. data/zettacode.files/arithmetic.integer/lse64.txt +9 -9
  106. data/zettacode.files/arithmetic.integer/lua.txt +8 -8
  107. data/zettacode.files/arithmetic.integer/m2000_interpreter.txt +46 -46
  108. data/zettacode.files/arithmetic.integer/m4.txt +12 -12
  109. data/zettacode.files/arithmetic.integer/maple.txt +21 -21
  110. data/zettacode.files/arithmetic.integer/mathcad.txt +24 -24
  111. data/zettacode.files/arithmetic.integer/mathematica}}-{{header|wolfram_language.txt +18 -18
  112. data/zettacode.files/arithmetic.integer/matlab}}_-_{{header|octave.txt +8 -8
  113. data/zettacode.files/arithmetic.integer/maxima.txt +10 -10
  114. data/zettacode.files/arithmetic.integer/maxscript.txt +7 -7
  115. data/zettacode.files/arithmetic.integer/mercury.txt +32 -32
  116. data/zettacode.files/arithmetic.integer/metafont.txt +15 -15
  117. data/zettacode.files/arithmetic.integer/min.txt +4 -4
  118. data/zettacode.files/arithmetic.integer/ml-i.txt +15 -15
  119. data/zettacode.files/arithmetic.integer/modula-2.txt +26 -26
  120. data/zettacode.files/arithmetic.integer/modula-3.txt +11 -11
  121. data/zettacode.files/arithmetic.integer/mumps.txt +47 -47
  122. data/zettacode.files/arithmetic.integer/nanoquery.txt +11 -11
  123. data/zettacode.files/arithmetic.integer/nemerle.txt +12 -12
  124. data/zettacode.files/arithmetic.integer/netrexx.txt +11 -11
  125. data/zettacode.files/arithmetic.integer/newlisp.txt +19 -19
  126. data/zettacode.files/arithmetic.integer/nial.txt +12 -12
  127. data/zettacode.files/arithmetic.integer/nim.txt +20 -20
  128. data/zettacode.files/arithmetic.integer/nsis.txt +23 -23
  129. data/zettacode.files/arithmetic.integer/oberon-2.txt +11 -11
  130. data/zettacode.files/arithmetic.integer/objeck.txt +11 -11
  131. data/zettacode.files/arithmetic.integer/ocaml.txt +8 -8
  132. data/zettacode.files/arithmetic.integer/oforth.txt +8 -8
  133. data/zettacode.files/arithmetic.integer/ol.txt +17 -17
  134. data/zettacode.files/arithmetic.integer/onyx.txt +43 -43
  135. data/zettacode.files/arithmetic.integer/openscad.txt +5 -5
  136. data/zettacode.files/arithmetic.integer/oz.txt +13 -13
  137. data/zettacode.files/arithmetic.integer/panda.txt +2 -2
  138. data/zettacode.files/arithmetic.integer/pari-gp.txt +9 -9
  139. data/zettacode.files/arithmetic.integer/pascal.txt +12 -12
  140. data/zettacode.files/arithmetic.integer/perl.txt +11 -11
  141. data/zettacode.files/arithmetic.integer/phix.txt +44 -44
  142. data/zettacode.files/arithmetic.integer/phixmonti.txt +12 -12
  143. data/zettacode.files/arithmetic.integer/phl.txt +14 -14
  144. data/zettacode.files/arithmetic.integer/php.txt +12 -12
  145. data/zettacode.files/arithmetic.integer/picat.txt +7 -7
  146. data/zettacode.files/arithmetic.integer/picolisp.txt +8 -8
  147. data/zettacode.files/arithmetic.integer/piet.txt +38 -38
  148. data/zettacode.files/arithmetic.integer/pl-i.txt +8 -8
  149. data/zettacode.files/arithmetic.integer/plain_english.txt +23 -23
  150. data/zettacode.files/arithmetic.integer/pop11.txt +11 -11
  151. data/zettacode.files/arithmetic.integer/postscript.txt +10 -10
  152. data/zettacode.files/arithmetic.integer/powershell.txt +12 -12
  153. data/zettacode.files/arithmetic.integer/processing.txt +6 -6
  154. data/zettacode.files/arithmetic.integer/prodos.txt +34 -34
  155. data/zettacode.files/arithmetic.integer/prolog.txt +19 -19
  156. data/zettacode.files/arithmetic.integer/purebasic.txt +12 -12
  157. data/zettacode.files/arithmetic.integer/python.txt +40 -40
  158. data/zettacode.files/arithmetic.integer/qb64.txt +13 -13
  159. data/zettacode.files/arithmetic.integer/quackery.txt +11 -11
  160. data/zettacode.files/arithmetic.integer/r.txt +10 -10
  161. data/zettacode.files/arithmetic.integer/racket.txt +5 -5
  162. data/zettacode.files/arithmetic.integer/raku.txt +10 -10
  163. data/zettacode.files/arithmetic.integer/raven.txt +7 -7
  164. data/zettacode.files/arithmetic.integer/rebol.txt +45 -45
  165. data/zettacode.files/arithmetic.integer/relation.txt +9 -9
  166. data/zettacode.files/arithmetic.integer/rescript.txt +12 -12
  167. data/zettacode.files/arithmetic.integer/retro.txt +9 -9
  168. data/zettacode.files/arithmetic.integer/rexx.txt +41 -41
  169. data/zettacode.files/arithmetic.integer/ring.txt +9 -9
  170. data/zettacode.files/arithmetic.integer/robotic.txt +10 -10
  171. data/zettacode.files/arithmetic.integer/ruby.txt +10 -10
  172. data/zettacode.files/arithmetic.integer/run_basic.txt +8 -8
  173. data/zettacode.files/arithmetic.integer/rust.txt +11 -11
  174. data/zettacode.files/arithmetic.integer/sass-scss.txt +17 -17
  175. data/zettacode.files/arithmetic.integer/scala.txt +8 -8
  176. data/zettacode.files/arithmetic.integer/scheme.txt +23 -23
  177. data/zettacode.files/arithmetic.integer/seed7.txt +18 -18
  178. data/zettacode.files/arithmetic.integer/sensetalk.txt +10 -10
  179. data/zettacode.files/arithmetic.integer/sidef.txt +4 -4
  180. data/zettacode.files/arithmetic.integer/slate.txt +8 -8
  181. data/zettacode.files/arithmetic.integer/smalltalk.txt +26 -26
  182. data/zettacode.files/arithmetic.integer/smart_basic.txt +15 -15
  183. data/zettacode.files/arithmetic.integer/snobol4.txt +11 -11
  184. data/zettacode.files/arithmetic.integer/snusp.txt +36 -36
  185. data/zettacode.files/arithmetic.integer/sql.txt +21 -21
  186. data/zettacode.files/arithmetic.integer/ssem.txt +11 -11
  187. data/zettacode.files/arithmetic.integer/standard_ml.txt +13 -13
  188. data/zettacode.files/arithmetic.integer/swift.txt +8 -8
  189. data/zettacode.files/arithmetic.integer/tcl.txt +13 -13
  190. data/zettacode.files/arithmetic.integer/terraform.txt +17 -17
  191. data/zettacode.files/arithmetic.integer/ti-83_basic.txt +12 -12
  192. data/zettacode.files/arithmetic.integer/ti-89_basic.txt +7 -7
  193. data/zettacode.files/arithmetic.integer/toka.txt +6 -6
  194. data/zettacode.files/arithmetic.integer/tuscript.txt +6 -6
  195. data/zettacode.files/arithmetic.integer/unix_shell.txt +23 -23
  196. data/zettacode.files/arithmetic.integer/ursa.txt +21 -21
  197. data/zettacode.files/arithmetic.integer/v_(vlang).txt +24 -24
  198. data/zettacode.files/arithmetic.integer/vba.txt +15 -15
  199. data/zettacode.files/arithmetic.integer/vbscript.txt +48 -48
  200. data/zettacode.files/arithmetic.integer/vedit_macro_language.txt +7 -7
  201. data/zettacode.files/arithmetic.integer/verilog.txt +23 -23
  202. data/zettacode.files/arithmetic.integer/vim_script.txt +10 -10
  203. data/zettacode.files/arithmetic.integer/visual_basic_.net.txt +14 -14
  204. data/zettacode.files/arithmetic.integer/wart.txt +9 -9
  205. data/zettacode.files/arithmetic.integer/wren.txt +15 -15
  206. data/zettacode.files/arithmetic.integer/x86_assembly.txt +18 -18
  207. data/zettacode.files/arithmetic.integer/xlisp.txt +4 -4
  208. data/zettacode.files/arithmetic.integer/xpl0.txt +9 -9
  209. data/zettacode.files/arithmetic.integer/xslt.txt +9 -9
  210. data/zettacode.files/arithmetic.integer/yabasic.txt +9 -9
  211. data/zettacode.files/arithmetic.integer/yorick.txt +8 -8
  212. data/zettacode.files/arithmetic.integer/zkl.txt +7 -7
  213. data/zettacode.files/arithmetic.integer/zonnon.txt +12 -12
  214. data/zettacode.files/arithmetic.integer/zx_spectrum_basic.txt +8 -8
  215. data/zettacode.files/arithmetic.integer//320/274/320/272-61-52.txt +7 -7
  216. data/zettacode.files/hello_world.text/0815.txt +4 -4
  217. data/zettacode.files/hello_world.text/11l.txt +1 -1
  218. data/zettacode.files/hello_world.text/360_assembly.txt +12 -12
  219. data/zettacode.files/hello_world.text/4dos_batch.txt +1 -1
  220. data/zettacode.files/hello_world.text/6502_assembly.txt +18 -18
  221. data/zettacode.files/hello_world.text/6800_assembly.txt +31 -31
  222. data/zettacode.files/hello_world.text/8080_assembly.txt +11 -11
  223. data/zettacode.files/hello_world.text/8086_assembly.txt +17 -17
  224. data/zettacode.files/hello_world.text/8th.txt +1 -1
  225. data/zettacode.files/hello_world.text/aarch64_assembly.txt +19 -19
  226. data/zettacode.files/hello_world.text/abap.txt +2 -2
  227. data/zettacode.files/hello_world.text/acl2.txt +1 -1
  228. data/zettacode.files/hello_world.text/action!.txt +3 -3
  229. data/zettacode.files/hello_world.text/actionscript.txt +1 -1
  230. data/zettacode.files/hello_world.text/ada.txt +6 -6
  231. data/zettacode.files/hello_world.text/agda.txt +10 -10
  232. data/zettacode.files/hello_world.text/agena.txt +1 -1
  233. data/zettacode.files/hello_world.text/aime.txt +6 -6
  234. data/zettacode.files/hello_world.text/algae.txt +1 -1
  235. data/zettacode.files/hello_world.text/algol-m.txt +1 -1
  236. data/zettacode.files/hello_world.text/algol_60.txt +1 -1
  237. data/zettacode.files/hello_world.text/algol_68.txt +2 -2
  238. data/zettacode.files/hello_world.text/algol_w.txt +3 -3
  239. data/zettacode.files/hello_world.text/alore.txt +1 -1
  240. data/zettacode.files/hello_world.text/amazing_hopper.txt +14 -14
  241. data/zettacode.files/hello_world.text/ambienttalk.txt +1 -1
  242. data/zettacode.files/hello_world.text/amigae.txt +2 -2
  243. data/zettacode.files/hello_world.text/angelscript.txt +1 -1
  244. data/zettacode.files/hello_world.text/antlang.txt +3 -3
  245. data/zettacode.files/hello_world.text/anyways.txt +3 -3
  246. data/zettacode.files/hello_world.text/apl.txt +1 -1
  247. data/zettacode.files/hello_world.text/applescript.txt +4 -4
  248. data/zettacode.files/hello_world.text/applesoft_basic.txt +3 -3
  249. data/zettacode.files/hello_world.text/apricot.txt +1 -1
  250. data/zettacode.files/hello_world.text/arc.txt +1 -1
  251. data/zettacode.files/hello_world.text/arendelle.txt +1 -1
  252. data/zettacode.files/hello_world.text/argile.txt +3 -3
  253. data/zettacode.files/hello_world.text/arm_assembly.txt +9 -9
  254. data/zettacode.files/hello_world.text/arnoldc.txt +1 -1
  255. data/zettacode.files/hello_world.text/arturo.txt +1 -1
  256. data/zettacode.files/hello_world.text/asciidots.txt +1 -1
  257. data/zettacode.files/hello_world.text/astro.txt +1 -1
  258. data/zettacode.files/hello_world.text/asymptote.txt +1 -1
  259. data/zettacode.files/hello_world.text/ats.txt +1 -1
  260. data/zettacode.files/hello_world.text/autohotkey.txt +9 -9
  261. data/zettacode.files/hello_world.text/autoit.txt +1 -1
  262. data/zettacode.files/hello_world.text/autolisp.txt +1 -1
  263. data/zettacode.files/hello_world.text/avail.txt +1 -1
  264. data/zettacode.files/hello_world.text/awk.txt +12 -12
  265. data/zettacode.files/hello_world.text/axe.txt +2 -2
  266. data/zettacode.files/hello_world.text/b.txt +4 -4
  267. data/zettacode.files/hello_world.text/b4x.txt +1 -1
  268. data/zettacode.files/hello_world.text/babel.txt +1 -1
  269. data/zettacode.files/hello_world.text/bash.txt +1 -1
  270. data/zettacode.files/hello_world.text/basic.txt +13 -13
  271. data/zettacode.files/hello_world.text/basic256.txt +1 -1
  272. data/zettacode.files/hello_world.text/batch_file.txt +5 -5
  273. data/zettacode.files/hello_world.text/battlestar.txt +3 -3
  274. data/zettacode.files/hello_world.text/bbc_basic.txt +1 -1
  275. data/zettacode.files/hello_world.text/bc.txt +1 -1
  276. data/zettacode.files/hello_world.text/bcpl.txt +3 -3
  277. data/zettacode.files/hello_world.text/beef.txt +5 -5
  278. data/zettacode.files/hello_world.text/beeswax.txt +12 -12
  279. data/zettacode.files/hello_world.text/befunge.txt +1 -1
  280. data/zettacode.files/hello_world.text/binary_lambda_calculus.txt +2 -2
  281. data/zettacode.files/hello_world.text/bird.txt +5 -5
  282. data/zettacode.files/hello_world.text/blade.txt +6 -6
  283. data/zettacode.files/hello_world.text/blast.txt +7 -7
  284. data/zettacode.files/hello_world.text/blue.txt +10 -10
  285. data/zettacode.files/hello_world.text/blz.txt +1 -1
  286. data/zettacode.files/hello_world.text/bml.txt +1 -1
  287. data/zettacode.files/hello_world.text/boo.txt +1 -1
  288. data/zettacode.files/hello_world.text/bootbasic.txt +1 -1
  289. data/zettacode.files/hello_world.text/bqn.txt +2 -2
  290. data/zettacode.files/hello_world.text/brace.txt +4 -4
  291. data/zettacode.files/hello_world.text/bracmat.txt +1 -1
  292. data/zettacode.files/hello_world.text/brainf***.txt +54 -54
  293. data/zettacode.files/hello_world.text/brat.txt +1 -1
  294. data/zettacode.files/hello_world.text/brlcad.txt +2 -2
  295. data/zettacode.files/hello_world.text/burlesque.txt +2 -2
  296. data/zettacode.files/hello_world.text/c++-cli.txt +3 -3
  297. data/zettacode.files/hello_world.text/c++.txt +3 -3
  298. data/zettacode.files/hello_world.text/c.txt +21 -21
  299. data/zettacode.files/hello_world.text/c1r.txt +1 -1
  300. data/zettacode.files/hello_world.text/c2.txt +5 -5
  301. data/zettacode.files/hello_world.text/c3.txt +4 -4
  302. data/zettacode.files/hello_world.text/c_sharp|c#.txt +12 -12
  303. data/zettacode.files/hello_world.text/casio_basic.txt +3 -3
  304. data/zettacode.files/hello_world.text/cat.txt +1 -1
  305. data/zettacode.files/hello_world.text/cduce.txt +1 -1
  306. data/zettacode.files/hello_world.text/cfengine.txt +8 -8
  307. data/zettacode.files/hello_world.text/chapel.txt +1 -1
  308. data/zettacode.files/hello_world.text/chef.txt +33 -33
  309. data/zettacode.files/hello_world.text/chuck.txt +1 -1
  310. data/zettacode.files/hello_world.text/cind.txt +2 -2
  311. data/zettacode.files/hello_world.text/clay.txt +2 -2
  312. data/zettacode.files/hello_world.text/clean.txt +1 -1
  313. data/zettacode.files/hello_world.text/clio.txt +1 -1
  314. data/zettacode.files/hello_world.text/clipper.txt +1 -1
  315. data/zettacode.files/hello_world.text/clips.txt +1 -1
  316. data/zettacode.files/hello_world.text/clojure.txt +1 -1
  317. data/zettacode.files/hello_world.text/clu.txt +4 -4
  318. data/zettacode.files/hello_world.text/cmake.txt +3 -3
  319. data/zettacode.files/hello_world.text/cobol.txt +16 -16
  320. data/zettacode.files/hello_world.text/cobra.txt +3 -3
  321. data/zettacode.files/hello_world.text/coffeescript.txt +4 -4
  322. data/zettacode.files/hello_world.text/coldfusion.txt +1 -1
  323. data/zettacode.files/hello_world.text/comal.txt +1 -1
  324. data/zettacode.files/hello_world.text/comefrom0x10.txt +2 -2
  325. data/zettacode.files/hello_world.text/commodore_basic.txt +4 -4
  326. data/zettacode.files/hello_world.text/common_lisp.txt +9 -9
  327. data/zettacode.files/hello_world.text/component_pascal.txt +7 -7
  328. data/zettacode.files/hello_world.text/coq.txt +2 -2
  329. data/zettacode.files/hello_world.text/corescript.txt +1 -1
  330. data/zettacode.files/hello_world.text/cowgol.txt +3 -3
  331. data/zettacode.files/hello_world.text/crack.txt +2 -2
  332. data/zettacode.files/hello_world.text/creative_basic.txt +6 -6
  333. data/zettacode.files/hello_world.text/crystal.txt +1 -1
  334. data/zettacode.files/hello_world.text/d.txt +4 -4
  335. data/zettacode.files/hello_world.text/dafny.txt +3 -3
  336. data/zettacode.files/hello_world.text/dao.txt +1 -1
  337. data/zettacode.files/hello_world.text/dart.txt +3 -3
  338. data/zettacode.files/hello_world.text/dataweave.txt +1 -1
  339. data/zettacode.files/hello_world.text/dbl.txt +8 -8
  340. data/zettacode.files/hello_world.text/dc.txt +2 -2
  341. data/zettacode.files/hello_world.text/dcl.txt +1 -1
  342. data/zettacode.files/hello_world.text/ddnc.txt +4 -4
  343. data/zettacode.files/hello_world.text/delphi.txt +4 -4
  344. data/zettacode.files/hello_world.text/deviousyarn.txt +1 -1
  345. data/zettacode.files/hello_world.text/dibol-11.txt +4 -4
  346. data/zettacode.files/hello_world.text/diego.txt +12 -12
  347. data/zettacode.files/hello_world.text/div_games_studio.txt +3 -3
  348. data/zettacode.files/hello_world.text/dm.txt +2 -2
  349. data/zettacode.files/hello_world.text/draco.txt +3 -3
  350. data/zettacode.files/hello_world.text/dragon.txt +1 -1
  351. data/zettacode.files/hello_world.text/dwscript.txt +1 -1
  352. data/zettacode.files/hello_world.text/dyalect.txt +1 -1
  353. data/zettacode.files/hello_world.text/dylan.net.txt +21 -21
  354. data/zettacode.files/hello_world.text/dylan.txt +2 -2
  355. data/zettacode.files/hello_world.text/d/303/251j/303/240_vu.txt +1 -1
  356. data/zettacode.files/hello_world.text/e.txt +2 -2
  357. data/zettacode.files/hello_world.text/easylang.txt +1 -1
  358. data/zettacode.files/hello_world.text/ec.txt +3 -3
  359. data/zettacode.files/hello_world.text/echolisp.txt +1 -1
  360. data/zettacode.files/hello_world.text/ecl.txt +1 -1
  361. data/zettacode.files/hello_world.text/ecstasy.txt +4 -4
  362. data/zettacode.files/hello_world.text/edsac_order_code.txt +18 -18
  363. data/zettacode.files/hello_world.text/efene.txt +6 -6
  364. data/zettacode.files/hello_world.text/egel.txt +1 -1
  365. data/zettacode.files/hello_world.text/egison.txt +3 -3
  366. data/zettacode.files/hello_world.text/egl.txt +7 -7
  367. data/zettacode.files/hello_world.text/eiffel.txt +10 -10
  368. data/zettacode.files/hello_world.text/ela.txt +2 -2
  369. data/zettacode.files/hello_world.text/elan.txt +1 -1
  370. data/zettacode.files/hello_world.text/elastic.txt +13 -13
  371. data/zettacode.files/hello_world.text/elena.txt +3 -3
  372. data/zettacode.files/hello_world.text/elisa.txt +1 -1
  373. data/zettacode.files/hello_world.text/elixir.txt +1 -1
  374. data/zettacode.files/hello_world.text/elm.txt +1 -1
  375. data/zettacode.files/hello_world.text/emacs_lisp.txt +3 -3
  376. data/zettacode.files/hello_world.text/emojicode.txt +1 -1
  377. data/zettacode.files/hello_world.text/erlang.txt +1 -1
  378. data/zettacode.files/hello_world.text/erre.txt +2 -2
  379. data/zettacode.files/hello_world.text/euler_math_toolbox.txt +1 -1
  380. data/zettacode.files/hello_world.text/extended_brainf***.txt +1 -1
  381. data/zettacode.files/hello_world.text/ezhil.txt +4 -4
  382. data/zettacode.files/hello_world.text/f_sharp|f#.txt +3 -3
  383. data/zettacode.files/hello_world.text/factor.txt +1 -1
  384. data/zettacode.files/hello_world.text/falcon.txt +4 -4
  385. data/zettacode.files/hello_world.text/false.txt +1 -1
  386. data/zettacode.files/hello_world.text/fantom.txt +3 -3
  387. data/zettacode.files/hello_world.text/fennel.txt +1 -1
  388. data/zettacode.files/hello_world.text/ferite.txt +3 -3
  389. data/zettacode.files/hello_world.text/fermat.txt +1 -1
  390. data/zettacode.files/hello_world.text/fexl.txt +1 -1
  391. data/zettacode.files/hello_world.text/fhidwfe.txt +1 -1
  392. data/zettacode.files/hello_world.text/fish.txt +9 -9
  393. data/zettacode.files/hello_world.text/focal.txt +1 -1
  394. data/zettacode.files/hello_world.text/forth.txt +3 -3
  395. data/zettacode.files/hello_world.text/fortran.txt +9 -9
  396. data/zettacode.files/hello_world.text/fortress.txt +2 -2
  397. data/zettacode.files/hello_world.text/free_pascal.txt +4 -4
  398. data/zettacode.files/hello_world.text/freebasic.txt +2 -2
  399. data/zettacode.files/hello_world.text/frege.txt +3 -3
  400. data/zettacode.files/hello_world.text/friendly_interactive_shell.txt +2 -2
  401. data/zettacode.files/hello_world.text/frink.txt +1 -1
  402. data/zettacode.files/hello_world.text/funl.txt +1 -1
  403. data/zettacode.files/hello_world.text/furor.txt +1 -1
  404. data/zettacode.files/hello_world.text/futurebasic.txt +3 -3
  405. data/zettacode.files/hello_world.text/fuze_basic.txt +1 -1
  406. data/zettacode.files/hello_world.text/gambas.txt +4 -4
  407. data/zettacode.files/hello_world.text/gap.txt +7 -7
  408. data/zettacode.files/hello_world.text/gb_basic.txt +1 -1
  409. data/zettacode.files/hello_world.text/gecho.txt +1 -1
  410. data/zettacode.files/hello_world.text/gema.txt +4 -4
  411. data/zettacode.files/hello_world.text/genie.txt +2 -2
  412. data/zettacode.files/hello_world.text/gentee.txt +2 -2
  413. data/zettacode.files/hello_world.text/gfa_basic.txt +1 -1
  414. data/zettacode.files/hello_world.text/glbasic.txt +1 -1
  415. data/zettacode.files/hello_world.text/glee.txt +7 -7
  416. data/zettacode.files/hello_world.text/global_script.txt +2 -2
  417. data/zettacode.files/hello_world.text/glovepie.txt +1 -1
  418. data/zettacode.files/hello_world.text/gml.txt +2 -2
  419. data/zettacode.files/hello_world.text/go.txt +3 -3
  420. data/zettacode.files/hello_world.text/golfscript.txt +1 -1
  421. data/zettacode.files/hello_world.text/gosu.txt +1 -1
  422. data/zettacode.files/hello_world.text/grain.txt +1 -1
  423. data/zettacode.files/hello_world.text/groovy.txt +1 -1
  424. data/zettacode.files/hello_world.text/gw-basic.txt +1 -1
  425. data/zettacode.files/hello_world.text/hack.txt +1 -1
  426. data/zettacode.files/hello_world.text/halon.txt +2 -2
  427. data/zettacode.files/hello_world.text/harbour.txt +1 -1
  428. data/zettacode.files/hello_world.text/hare.txt +4 -4
  429. data/zettacode.files/hello_world.text/haskell.txt +1 -1
  430. data/zettacode.files/hello_world.text/haxe.txt +1 -1
  431. data/zettacode.files/hello_world.text/hexiscript.txt +1 -1
  432. data/zettacode.files/hello_world.text/hicest.txt +1 -1
  433. data/zettacode.files/hello_world.text/hla.txt +5 -5
  434. data/zettacode.files/hello_world.text/holyc.txt +1 -1
  435. data/zettacode.files/hello_world.text/hoon.txt +1 -1
  436. data/zettacode.files/hello_world.text/hpppl.txt +1 -1
  437. data/zettacode.files/hello_world.text/hq9+.txt +6 -6
  438. data/zettacode.files/hello_world.text/html5.txt +6 -6
  439. data/zettacode.files/hello_world.text/huginn.txt +6 -6
  440. data/zettacode.files/hello_world.text/hy.txt +1 -1
  441. data/zettacode.files/hello_world.text/i.txt +2 -2
  442. data/zettacode.files/hello_world.text/icon}}_and_{{header|unicon.txt +3 -3
  443. data/zettacode.files/hello_world.text/idl.txt +1 -1
  444. data/zettacode.files/hello_world.text/idris.txt +3 -3
  445. data/zettacode.files/hello_world.text/inform_6.txt +3 -3
  446. data/zettacode.files/hello_world.text/inko.txt +2 -2
  447. data/zettacode.files/hello_world.text/integer_basic.txt +2 -2
  448. data/zettacode.files/hello_world.text/intercal.txt +14 -14
  449. data/zettacode.files/hello_world.text/io.txt +1 -1
  450. data/zettacode.files/hello_world.text/ioke.txt +1 -1
  451. data/zettacode.files/hello_world.text/is-basic.txt +1 -1
  452. data/zettacode.files/hello_world.text/isabelle.txt +5 -5
  453. data/zettacode.files/hello_world.text/iwbasic.txt +5 -5
  454. data/zettacode.files/hello_world.text/j.txt +26 -26
  455. data/zettacode.files/hello_world.text/jack.txt +5 -5
  456. data/zettacode.files/hello_world.text/jacquard_loom.txt +1 -1
  457. data/zettacode.files/hello_world.text/java.txt +3 -3
  458. data/zettacode.files/hello_world.text/javascript.txt +9 -9
  459. data/zettacode.files/hello_world.text/jcl.txt +1 -1
  460. data/zettacode.files/hello_world.text/jinja.txt +5 -5
  461. data/zettacode.files/hello_world.text/joy.txt +1 -1
  462. data/zettacode.files/hello_world.text/jq.txt +1 -1
  463. data/zettacode.files/hello_world.text/jse.txt +1 -1
  464. data/zettacode.files/hello_world.text/jsish.txt +1 -1
  465. data/zettacode.files/hello_world.text/julia.txt +1 -1
  466. data/zettacode.files/hello_world.text/k.txt +6 -6
  467. data/zettacode.files/hello_world.text/kabap.txt +1 -1
  468. data/zettacode.files/hello_world.text/kaya.txt +4 -4
  469. data/zettacode.files/hello_world.text/kdf9_usercode.txt +10 -10
  470. data/zettacode.files/hello_world.text/keg.txt +1 -1
  471. data/zettacode.files/hello_world.text/kite.txt +3 -3
  472. data/zettacode.files/hello_world.text/kitten.txt +1 -1
  473. data/zettacode.files/hello_world.text/koka.txt +2 -2
  474. data/zettacode.files/hello_world.text/konsolscript.txt +3 -3
  475. data/zettacode.files/hello_world.text/kotlin.txt +2 -2
  476. data/zettacode.files/hello_world.text/kql.txt +1 -1
  477. data/zettacode.files/hello_world.text/ksi.txt +2 -2
  478. data/zettacode.files/hello_world.text/lambdatalk.txt +3 -3
  479. data/zettacode.files/hello_world.text/lang5.txt +1 -1
  480. data/zettacode.files/hello_world.text/langur.txt +1 -1
  481. data/zettacode.files/hello_world.text/lasso.txt +2 -2
  482. data/zettacode.files/hello_world.text/latex.txt +4 -4
  483. data/zettacode.files/hello_world.text/latitude.txt +1 -1
  484. data/zettacode.files/hello_world.text/lc3_assembly.txt +15 -15
  485. data/zettacode.files/hello_world.text/ldpl.txt +2 -2
  486. data/zettacode.files/hello_world.text/lean.txt +1 -1
  487. data/zettacode.files/hello_world.text/lfe.txt +1 -1
  488. data/zettacode.files/hello_world.text/liberty_basic.txt +1 -1
  489. data/zettacode.files/hello_world.text/lil.txt +2 -2
  490. data/zettacode.files/hello_world.text/lily.txt +4 -4
  491. data/zettacode.files/hello_world.text/lilypond.txt +8 -8
  492. data/zettacode.files/hello_world.text/limbo.txt +8 -8
  493. data/zettacode.files/hello_world.text/lingo.txt +3 -3
  494. data/zettacode.files/hello_world.text/lisaac.txt +11 -11
  495. data/zettacode.files/hello_world.text/little.txt +6 -6
  496. data/zettacode.files/hello_world.text/livecode.txt +11 -11
  497. data/zettacode.files/hello_world.text/llvm.txt +7 -7
  498. data/zettacode.files/hello_world.text/lobster.txt +1 -1
  499. data/zettacode.files/hello_world.text/logo.txt +4 -4
  500. data/zettacode.files/hello_world.text/logtalk.txt +5 -5
  501. data/zettacode.files/hello_world.text/lolcode.txt +1 -1
  502. data/zettacode.files/hello_world.text/lotusscript.txt +4 -4
  503. data/zettacode.files/hello_world.text/lse.txt +1 -1
  504. data/zettacode.files/hello_world.text/lse64.txt +1 -1
  505. data/zettacode.files/hello_world.text/lua.txt +9 -9
  506. data/zettacode.files/hello_world.text/luna.txt +3 -3
  507. data/zettacode.files/hello_world.text/m2000_interpreter.txt +4 -4
  508. data/zettacode.files/hello_world.text/m4.txt +2 -2
  509. data/zettacode.files/hello_world.text/maclisp.txt +3 -3
  510. data/zettacode.files/hello_world.text/macro-10.txt +11 -11
  511. data/zettacode.files/hello_world.text/macro-11.txt +6 -6
  512. data/zettacode.files/hello_world.text/make.txt +6 -6
  513. data/zettacode.files/hello_world.text/malbolge.txt +5 -5
  514. data/zettacode.files/hello_world.text/manool.txt +10 -10
  515. data/zettacode.files/hello_world.text/maple.txt +2 -2
  516. data/zettacode.files/hello_world.text/mathcad.txt +3 -3
  517. data/zettacode.files/hello_world.text/mathematica}}_-_{{header|wolfram_language.txt +1 -1
  518. data/zettacode.files/hello_world.text/matlab.txt +1 -1
  519. data/zettacode.files/hello_world.text/maude.txt +6 -6
  520. data/zettacode.files/hello_world.text/maxima.txt +1 -1
  521. data/zettacode.files/hello_world.text/maxscript.txt +3 -3
  522. data/zettacode.files/hello_world.text/mdl.txt +2 -2
  523. data/zettacode.files/hello_world.text/mel.txt +2 -2
  524. data/zettacode.files/hello_world.text/melonbasic.txt +2 -2
  525. data/zettacode.files/hello_world.text/mercury.txt +7 -7
  526. data/zettacode.files/hello_world.text/metafont.txt +1 -1
  527. data/zettacode.files/hello_world.text/min.txt +1 -1
  528. data/zettacode.files/hello_world.text/miniscript.txt +1 -1
  529. data/zettacode.files/hello_world.text/minizinc.txt +1 -1
  530. data/zettacode.files/hello_world.text/mips_assembly.txt +10 -10
  531. data/zettacode.files/hello_world.text/mirc_scripting_language.txt +1 -1
  532. data/zettacode.files/hello_world.text/ml-i.txt +1 -1
  533. data/zettacode.files/hello_world.text/modula-2.txt +17 -17
  534. data/zettacode.files/hello_world.text/modula-3.txt +4 -4
  535. data/zettacode.files/hello_world.text/montilang.txt +1 -1
  536. data/zettacode.files/hello_world.text/morfa.txt +3 -3
  537. data/zettacode.files/hello_world.text/mosaic.txt +3 -3
  538. data/zettacode.files/hello_world.text/muf.txt +4 -4
  539. data/zettacode.files/hello_world.text/mumps.txt +1 -1
  540. data/zettacode.files/hello_world.text/mydef.txt +14 -14
  541. data/zettacode.files/hello_world.text/myrtlescript.txt +3 -3
  542. data/zettacode.files/hello_world.text/mysql.txt +1 -1
  543. data/zettacode.files/hello_world.text/mythryl.txt +1 -1
  544. data/zettacode.files/hello_world.text/n-t-roff.txt +3 -3
  545. data/zettacode.files/hello_world.text/nanoquery.txt +1 -1
  546. data/zettacode.files/hello_world.text/neat.txt +1 -1
  547. data/zettacode.files/hello_world.text/neko.txt +1 -1
  548. data/zettacode.files/hello_world.text/nemerle.txt +5 -5
  549. data/zettacode.files/hello_world.text/netrexx.txt +1 -1
  550. data/zettacode.files/hello_world.text/never.txt +2 -2
  551. data/zettacode.files/hello_world.text/newlisp.txt +2 -2
  552. data/zettacode.files/hello_world.text/nickle.txt +1 -1
  553. data/zettacode.files/hello_world.text/nim.txt +3 -3
  554. data/zettacode.files/hello_world.text/nit.txt +1 -1
  555. data/zettacode.files/hello_world.text/nix.txt +1 -1
  556. data/zettacode.files/hello_world.text/nlp++.txt +2 -2
  557. data/zettacode.files/hello_world.text/ns-hubasic.txt +5 -5
  558. data/zettacode.files/hello_world.text/nyquist.txt +10 -10
  559. data/zettacode.files/hello_world.text/oberon-2.txt +7 -7
  560. data/zettacode.files/hello_world.text/objeck.txt +3 -3
  561. data/zettacode.files/hello_world.text/objective-c.txt +20 -20
  562. data/zettacode.files/hello_world.text/ocaml.txt +1 -1
  563. data/zettacode.files/hello_world.text/occam.txt +4 -4
  564. data/zettacode.files/hello_world.text/octave.txt +3 -3
  565. data/zettacode.files/hello_world.text/odin.txt +4 -4
  566. data/zettacode.files/hello_world.text/oforth.txt +1 -1
  567. data/zettacode.files/hello_world.text/ol.txt +1 -1
  568. data/zettacode.files/hello_world.text/onyx.txt +1 -1
  569. data/zettacode.files/hello_world.text/ooc.txt +6 -6
  570. data/zettacode.files/hello_world.text/oorexx.txt +3 -3
  571. data/zettacode.files/hello_world.text/openlisp.txt +7 -7
  572. data/zettacode.files/hello_world.text/openscad.txt +3 -3
  573. data/zettacode.files/hello_world.text/oxygene.txt +16 -16
  574. data/zettacode.files/hello_world.text/oz.txt +1 -1
  575. data/zettacode.files/hello_world.text/pari-gp.txt +1 -1
  576. data/zettacode.files/hello_world.text/pascal.txt +5 -5
  577. data/zettacode.files/hello_world.text/pasm.txt +2 -2
  578. data/zettacode.files/hello_world.text/pdp-11_assembly.txt +12 -12
  579. data/zettacode.files/hello_world.text/pdp-1_assembly.txt +20 -20
  580. data/zettacode.files/hello_world.text/pepsiscript.txt +10 -10
  581. data/zettacode.files/hello_world.text/perl.txt +9 -9
  582. data/zettacode.files/hello_world.text/peylang.txt +1 -1
  583. data/zettacode.files/hello_world.text/pharo.txt +3 -3
  584. data/zettacode.files/hello_world.text/phix.txt +4 -4
  585. data/zettacode.files/hello_world.text/phl.txt +5 -5
  586. data/zettacode.files/hello_world.text/php.txt +5 -5
  587. data/zettacode.files/hello_world.text/picat.txt +1 -1
  588. data/zettacode.files/hello_world.text/picolisp.txt +1 -1
  589. data/zettacode.files/hello_world.text/pict.txt +6 -6
  590. data/zettacode.files/hello_world.text/pikachu.txt +23 -23
  591. data/zettacode.files/hello_world.text/pike.txt +2 -2
  592. data/zettacode.files/hello_world.text/pilot.txt +1 -1
  593. data/zettacode.files/hello_world.text/pir.txt +3 -3
  594. data/zettacode.files/hello_world.text/pixilang.txt +1 -1
  595. data/zettacode.files/hello_world.text/pl-i.txt +3 -3
  596. data/zettacode.files/hello_world.text/pl-m.txt +8 -8
  597. data/zettacode.files/hello_world.text/pl-sql.txt +13 -13
  598. data/zettacode.files/hello_world.text/plain_english.txt +7 -7
  599. data/zettacode.files/hello_world.text/plan.txt +2 -2
  600. data/zettacode.files/hello_world.text/pony.txt +3 -3
  601. data/zettacode.files/hello_world.text/pop11.txt +1 -1
  602. data/zettacode.files/hello_world.text/portugol.txt +7 -7
  603. data/zettacode.files/hello_world.text/postscript.txt +19 -19
  604. data/zettacode.files/hello_world.text/potion.txt +1 -1
  605. data/zettacode.files/hello_world.text/powerbasic.txt +1 -1
  606. data/zettacode.files/hello_world.text/powershell.txt +3 -3
  607. data/zettacode.files/hello_world.text/processing.txt +1 -1
  608. data/zettacode.files/hello_world.text/prodos.txt +1 -1
  609. data/zettacode.files/hello_world.text/programming_language.txt +4 -4
  610. data/zettacode.files/hello_world.text/prolog.txt +1 -1
  611. data/zettacode.files/hello_world.text/promal.txt +5 -5
  612. data/zettacode.files/hello_world.text/psql.txt +2 -2
  613. data/zettacode.files/hello_world.text/pure.txt +2 -2
  614. data/zettacode.files/hello_world.text/purebasic.txt +5 -5
  615. data/zettacode.files/hello_world.text/python.txt +13 -13
  616. data/zettacode.files/hello_world.text/qb64.txt +1 -1
  617. data/zettacode.files/hello_world.text/quackery.txt +1 -1
  618. data/zettacode.files/hello_world.text/quill.txt +1 -1
  619. data/zettacode.files/hello_world.text/quite_basic.txt +1 -1
  620. data/zettacode.files/hello_world.text/r.txt +5 -5
  621. data/zettacode.files/hello_world.text/ra.txt +4 -4
  622. data/zettacode.files/hello_world.text/racket.txt +1 -1
  623. data/zettacode.files/hello_world.text/raku.txt +4 -4
  624. data/zettacode.files/hello_world.text/rasel.txt +1 -1
  625. data/zettacode.files/hello_world.text/ratfor.txt +4 -4
  626. data/zettacode.files/hello_world.text/raven.txt +1 -1
  627. data/zettacode.files/hello_world.text/realbasic.txt +6 -6
  628. data/zettacode.files/hello_world.text/rebol.txt +1 -1
  629. data/zettacode.files/hello_world.text/red.txt +1 -1
  630. data/zettacode.files/hello_world.text/relation.txt +1 -1
  631. data/zettacode.files/hello_world.text/rescript.txt +1 -1
  632. data/zettacode.files/hello_world.text/retro.txt +1 -1
  633. data/zettacode.files/hello_world.text/rexx.txt +10 -10
  634. data/zettacode.files/hello_world.text/ring.txt +1 -1
  635. data/zettacode.files/hello_world.text/risc-v.txt +10 -10
  636. data/zettacode.files/hello_world.text/rockstar.txt +1 -1
  637. data/zettacode.files/hello_world.text/rtl-2.txt +7 -7
  638. data/zettacode.files/hello_world.text/ruby.txt +9 -9
  639. data/zettacode.files/hello_world.text/run_basic.txt +1 -1
  640. data/zettacode.files/hello_world.text/rust.txt +5 -5
  641. data/zettacode.files/hello_world.text/salmon.txt +5 -5
  642. data/zettacode.files/hello_world.text/sas.txt +4 -4
  643. data/zettacode.files/hello_world.text/sasl.txt +2 -2
  644. data/zettacode.files/hello_world.text/sather.txt +5 -5
  645. data/zettacode.files/hello_world.text/scala.txt +17 -17
  646. data/zettacode.files/hello_world.text/scheme.txt +14 -14
  647. data/zettacode.files/hello_world.text/scilab.txt +1 -1
  648. data/zettacode.files/hello_world.text/scratchscript.txt +4 -4
  649. data/zettacode.files/hello_world.text/sed.txt +2 -2
  650. data/zettacode.files/hello_world.text/seed7.txt +5 -5
  651. data/zettacode.files/hello_world.text/self.txt +1 -1
  652. data/zettacode.files/hello_world.text/sensetalk.txt +1 -1
  653. data/zettacode.files/hello_world.text/set_lang.txt +12 -12
  654. data/zettacode.files/hello_world.text/setl.txt +1 -1
  655. data/zettacode.files/hello_world.text/setl4.txt +1 -1
  656. data/zettacode.files/hello_world.text/shen.txt +1 -1
  657. data/zettacode.files/hello_world.text/shiny.txt +1 -1
  658. data/zettacode.files/hello_world.text/sidef.txt +1 -1
  659. data/zettacode.files/hello_world.text/simplecode.txt +3 -3
  660. data/zettacode.files/hello_world.text/simpol.txt +2 -2
  661. data/zettacode.files/hello_world.text/simula.txt +2 -2
  662. data/zettacode.files/hello_world.text/sing.txt +4 -4
  663. data/zettacode.files/hello_world.text/sisal.txt +7 -7
  664. data/zettacode.files/hello_world.text/skookumscript.txt +3 -3
  665. data/zettacode.files/hello_world.text/slate.txt +1 -1
  666. data/zettacode.files/hello_world.text/slope.txt +1 -1
  667. data/zettacode.files/hello_world.text/smalltalk.txt +3 -3
  668. data/zettacode.files/hello_world.text/smart_basic.txt +1 -1
  669. data/zettacode.files/hello_world.text/smilebasic.txt +1 -1
  670. data/zettacode.files/hello_world.text/snobol4.txt +2 -2
  671. data/zettacode.files/hello_world.text/snusp.txt +9 -9
  672. data/zettacode.files/hello_world.text/soneking_assembly.txt +7 -7
  673. data/zettacode.files/hello_world.text/sparc_assembly.txt +14 -14
  674. data/zettacode.files/hello_world.text/sparkling.txt +1 -1
  675. data/zettacode.files/hello_world.text/spl.txt +1 -1
  676. data/zettacode.files/hello_world.text/sql.txt +5 -5
  677. data/zettacode.files/hello_world.text/sql_pl.txt +21 -21
  678. data/zettacode.files/hello_world.text/standard_ml.txt +1 -1
  679. data/zettacode.files/hello_world.text/stata.txt +1 -1
  680. data/zettacode.files/hello_world.text/suneido.txt +1 -1
  681. data/zettacode.files/hello_world.text/swahili.txt +1 -1
  682. data/zettacode.files/hello_world.text/swift.txt +4 -4
  683. data/zettacode.files/hello_world.text/symsyn.txt +1 -1
  684. data/zettacode.files/hello_world.text/tailspin.txt +1 -1
  685. data/zettacode.files/hello_world.text/tcl.txt +4 -4
  686. data/zettacode.files/hello_world.text/teco.txt +2 -2
  687. data/zettacode.files/hello_world.text/tern.txt +1 -1
  688. data/zettacode.files/hello_world.text/terra.txt +5 -5
  689. data/zettacode.files/hello_world.text/terraform.txt +2 -2
  690. data/zettacode.files/hello_world.text/testml.txt +2 -2
  691. data/zettacode.files/hello_world.text/ti-83_basic.txt +2 -2
  692. data/zettacode.files/hello_world.text/ti-89_basic.txt +1 -1
  693. data/zettacode.files/hello_world.text/tiny_basic.txt +2 -2
  694. data/zettacode.files/hello_world.text/tmg.txt +2 -2
  695. data/zettacode.files/hello_world.text/torquescript.txt +1 -1
  696. data/zettacode.files/hello_world.text/tpp.txt +1 -1
  697. data/zettacode.files/hello_world.text/transact-sql.txt +1 -1
  698. data/zettacode.files/hello_world.text/transd.txt +1 -1
  699. data/zettacode.files/hello_world.text/transforth.txt +1 -1
  700. data/zettacode.files/hello_world.text/trith.txt +1 -1
  701. data/zettacode.files/hello_world.text/true_basic.txt +2 -2
  702. data/zettacode.files/hello_world.text/tuscript.txt +3 -3
  703. data/zettacode.files/hello_world.text/ubasic-4th.txt +1 -1
  704. data/zettacode.files/hello_world.text/uniface.txt +1 -1
  705. data/zettacode.files/hello_world.text/unison.txt +1 -1
  706. data/zettacode.files/hello_world.text/unix_shell.txt +7 -7
  707. data/zettacode.files/hello_world.text/unlambda.txt +1 -1
  708. data/zettacode.files/hello_world.text/ursa.txt +1 -1
  709. data/zettacode.files/hello_world.text/ursala.txt +7 -7
  710. data/zettacode.files/hello_world.text/v.txt +1 -1
  711. data/zettacode.files/hello_world.text/v_(vlang).txt +2 -2
  712. data/zettacode.files/hello_world.text/vala.txt +2 -2
  713. data/zettacode.files/hello_world.text/vax_assembly.txt +7 -7
  714. data/zettacode.files/hello_world.text/vba.txt +3 -3
  715. data/zettacode.files/hello_world.text/vbscript.txt +2 -2
  716. data/zettacode.files/hello_world.text/vedit_macro_language.txt +1 -1
  717. data/zettacode.files/hello_world.text/verbexx.txt +1 -1
  718. data/zettacode.files/hello_world.text/verilog.txt +6 -6
  719. data/zettacode.files/hello_world.text/vhdl.txt +14 -14
  720. data/zettacode.files/hello_world.text/vim_script.txt +1 -1
  721. data/zettacode.files/hello_world.text/visual_basic.txt +20 -20
  722. data/zettacode.files/hello_world.text/visual_basic_.net.txt +6 -6
  723. data/zettacode.files/hello_world.text/viua_vm_assembly.txt +6 -6
  724. data/zettacode.files/hello_world.text/vtl-2.txt +1 -1
  725. data/zettacode.files/hello_world.text/wart.txt +1 -1
  726. data/zettacode.files/hello_world.text/wdte.txt +1 -1
  727. data/zettacode.files/hello_world.text/webassembly.txt +24 -24
  728. data/zettacode.files/hello_world.text/wee_basic.txt +2 -2
  729. data/zettacode.files/hello_world.text/whenever.txt +1 -1
  730. data/zettacode.files/hello_world.text/whiley.txt +3 -3
  731. data/zettacode.files/hello_world.text/whitespace.txt +1 -1
  732. data/zettacode.files/hello_world.text/wisp.txt +6 -6
  733. data/zettacode.files/hello_world.text/wolfram_language.txt +1 -1
  734. data/zettacode.files/hello_world.text/wren.txt +1 -1
  735. data/zettacode.files/hello_world.text/x10.txt +5 -5
  736. data/zettacode.files/hello_world.text/x86-64_assembly.txt +36 -36
  737. data/zettacode.files/hello_world.text/x86_assembly.txt +28 -28
  738. data/zettacode.files/hello_world.text/xbasic.txt +5 -5
  739. data/zettacode.files/hello_world.text/xeec.txt +2 -2
  740. data/zettacode.files/hello_world.text/xl.txt +2 -2
  741. data/zettacode.files/hello_world.text/xlisp.txt +1 -1
  742. data/zettacode.files/hello_world.text/xpath.txt +1 -1
  743. data/zettacode.files/hello_world.text/xpl0.txt +2 -2
  744. data/zettacode.files/hello_world.text/xslt.txt +5 -5
  745. data/zettacode.files/hello_world.text/yabasic.txt +1 -1
  746. data/zettacode.files/hello_world.text/yorick.txt +1 -1
  747. data/zettacode.files/hello_world.text/z80_assembly.txt +14 -14
  748. data/zettacode.files/hello_world.text/zig.txt +3 -3
  749. data/zettacode.files/hello_world.text/zkl.txt +2 -2
  750. data/zettacode.files/hello_world.text/zoea.txt +2 -2
  751. data/zettacode.files/hello_world.text/zoea_visual.txt +1 -1
  752. data/zettacode.files/hello_world.text/zoomscript.txt +4 -4
  753. data/zettacode.files/hello_world.text/zx_spectrum_basic.txt +2 -2
  754. data/zettacode.files/hello_world.text//340/256/211/340/256/257/340/256/277/340/256/260/340/257/215-uyir.txt +4 -4
  755. metadata +1 -1
@@ -1,14 +1,14 @@
1
- Of Ob-2
1
+ Oxford Oberon-2
2
2
 
3
- MODULE Ac
4
- IMPORT I, Ou
3
+ MODULE Arithmetic;
4
+ IMPORT In, Out;
5
5
  VAR
6
- ,:INTEGER
6
+ x,y:INTEGER;
7
7
  BEGIN
8
- Ou.S("G ub: ")I.I()I.I()
9
- Ou.S(" + ")Ou.I( + ,6)Ou.L
10
- Ou.S(" - ")Ou.I( - ,6)Ou.L
11
- Ou.S(" * ")Ou.I( * ,6)Ou.L
12
- Ou.S(" ")Ou.I( DIV ,6)Ou.L
13
- Ou.S(" MOD ")Ou.I( MOD ,6)Ou.L
14
- END Ac.
8
+ Out.String("Give two numbers: ");In.Int(x);In.Int(y);
9
+ Out.String("x + y >");Out.Int(x + y,6);Out.Ln;
10
+ Out.String("x - y >");Out.Int(x - y,6);Out.Ln;
11
+ Out.String("x * y >");Out.Int(x * y,6);Out.Ln;
12
+ Out.String("x / y >");Out.Int(x DIV y,6);Out.Ln;
13
+ Out.String("x MOD y >");Out.Int(x MOD y,6);Out.Ln;
14
+ END Arithmetic.
@@ -1,17 +1,17 @@
1
- bud Dfu {
2
- c Ac {
3
- fuc : M( : S.S[]) ~ N {
4
- DAc()
1
+ bundle Default {
2
+ class Arithmetic {
3
+ function : Main(args : System.String[]) ~ Nil {
4
+ DoArithmetic();
5
5
  }
6
6
 
7
- fuc : : DAc() ~ N {
8
- := IO.C-GIc()-RS()-TI()
9
- b := IO.C-GIc()-RS()-TI()
7
+ function : native : DoArithmetic() ~ Nil {
8
+ a := IO.Console->GetInstance()->ReadString()->ToInt();
9
+ b := IO.Console->GetInstance()->ReadString()->ToInt();
10
10
 
11
- IO.C-GIc()-P("+b = ")-PL(+b)
12
- IO.C-GIc()-P("-b = ")-PL(-b)
13
- IO.C-GIc()-P("*b = ")-PL(*b)
14
- IO.C-GIc()-P("b = ")-PL(b)
11
+ IO.Console->GetInstance()->Print("a+b = ")->PrintLine(a+b);
12
+ IO.Console->GetInstance()->Print("a-b = ")->PrintLine(a-b);
13
+ IO.Console->GetInstance()->Print("a*b = ")->PrintLine(a*b);
14
+ IO.Console->GetInstance()->Print("a/b = ")->PrintLine(a/b);
15
15
  }
16
16
  }
17
17
  }
@@ -1,9 +1,9 @@
1
- _ =
2
- = _ ()
3
- b = _ ()
1
+ let _ =
2
+ let a = read_int ()
3
+ and b = read_int () in
4
4
 
5
- Pf.f " + b = %\" ( + b)
6
- Pf.f " - b = %\" ( - b)
7
- Pf.f " * b = %\" ( * b)
8
- Pf.f " b = %\" ( b) (* uc 0 *)
9
- Pf.f " b = %\" ( b) (* f *)
5
+ Printf.printf "a + b = %d\n" (a + b);
6
+ Printf.printf "a - b = %d\n" (a - b);
7
+ Printf.printf "a * b = %d\n" (a * b);
8
+ Printf.printf "a / b = %d\n" (a / b); (* truncates towards 0 *)
9
+ Printf.printf "a mod b = %d\n" (a mod b) (* same sign as first operand *)
@@ -1,9 +1,9 @@
1
1
 
2
- : ( b -- )
3
- " + b =" . b + .c
4
- " - b =" . b - .c
5
- " * b =" . b * .c
6
- " b =" . b .c
7
- " b =" . b .c
8
- " b =" . b .c
9
-
2
+ : integers (a b -- )
3
+ "a + b =" . a b + .cr
4
+ "a - b =" . a b - .cr
5
+ "a * b =" . a b * .cr
6
+ "a / b =" . a b / .cr
7
+ "a mod b =" . a b mod .cr
8
+ "a pow b =" . a b pow .cr
9
+ ;
@@ -1,23 +1,23 @@
1
1
 
2
2
 
3
- (f 8)
4
- (f b 12)
3
+ (define a 8)
4
+ (define b 12)
5
5
 
6
- ( "(+ " " " b ") = " (+ b))
7
- ( "(- " " " b ") = " (- b))
8
- ( "(* " " " b ") = " (* b))
9
- ( "( " " " b ") = " ( b))
6
+ (print "(+ " a " " b ") => " (+ a b))
7
+ (print "(- " a " " b ") => " (- a b))
8
+ (print "(* " a " " b ") => " (* a b))
9
+ (print "(/ " a " " b ") => " (/ a b))
10
10
 
11
- ( "(qu " " " b ") = " (qu b)) (qu b)
12
- ( "( " " " b ") = " ( b)) ( b)
13
- ( "(u " " " b ") = " ( b)) (u b)
11
+ (print "(quotient " a " " b ") => " (quot a b)) ; same as (quotient a b)
12
+ (print "(remainder " a " " b ") => " (rem a b)) ; same as (remainder a b)
13
+ (print "(modulo " a " " b ") => " (mod a b)) ; same as (modulo a b)
14
14
 
15
- ( "( " " " b ") = " ( b))
16
- ( "(c " " " b ") = " (c b))
17
- ( "(c " " " b ") = " (c b))
15
+ (print "(expt " a " " b ") => " (expt a b))
16
+ (print "(gcd " a " " b ") => " (gcd a b))
17
+ (print "(lcm " a " " b ") => " (lcm a b))
18
18
 
19
- u c u u f +,-,*, fuc
20
- ( (+ 1 3 5 7 9))
21
- ( (- 1 3 5 7 9))
22
- ( (* 1 3 5 7 9)) (1*3*5*7*9)
23
- ( ( 1 3 5 7 9)) (((13)5)7)9
19
+ ; you can use more than two arguments for +,-,*,/ functions
20
+ (print (+ 1 3 5 7 9))
21
+ (print (- 1 3 5 7 9))
22
+ (print (* 1 3 5 7 9)) ; same as (1*3*5*7*9)
23
+ (print (/ 1 3 5 7 9)) ; same as (((1/3)/5)/7)/9
@@ -1,44 +1,44 @@
1
1
 
2
- # Mo of o c m o.
3
- # A u u c
4
- # cu , ub, u, , .
5
-
6
- $CSc { # U ANSI c
7
- `\[2J\[11H' fu
8
- } b f
9
-
10
- $S { # S -
11
- `\' c fu
12
- } b f
13
-
14
- $SPb {
15
- `T c O,' S
16
- `\' u ub f u cc, c' S
17
- `\' c A B.\' S
18
- } b f
19
-
20
- $P { # c: --
21
- u c fu
22
- } f
23
-
24
- $GI { # c: --
25
- u c `E ' c c `: ' c
26
- P c f
27
- } b f
28
-
29
- $T { # c__ b_ T u_
30
- A c ` ' B c ` ' 5 c c ` ' 3 c c
31
- A B c c `.' 3 c S
32
- } b f
33
-
34
- $SRu {
35
- $ `A: ' T
36
- $ub `Subc: ' T
37
- $u `Muc: ' T
38
- $ `D: ' T
39
- `N u f u z.' S
40
- $ `E: ' T
41
- `N u f ub.' S
42
- } b f
43
-
44
- CSc SPb $A GI $B GI SRu
2
+ # Most of this long script is mere presentation.
3
+ # All you really need to do is push two integers onto the stack
4
+ # and then execute add, sub, mul, idiv, or pow.
5
+
6
+ $ClearScreen { # Using ANSI terminal control
7
+ `\e[2J\e[1;1H' print flush
8
+ } bind def
9
+
10
+ $Say { # string Say -
11
+ `\n' cat print flush
12
+ } bind def
13
+
14
+ $ShowPreamble {
15
+ `To show how integer arithmetic in done in Onyx,' Say
16
+ `we\'ll use two numbers of your choice, which' Say
17
+ `we\'ll call A and B.\n' Say
18
+ } bind def
19
+
20
+ $Prompt { # stack: string --
21
+ stdout exch write pop flush
22
+ } def
23
+
24
+ $GetInt { # stack: name -- integer
25
+ dup cvs `Enter integer ' exch cat `: ' cat
26
+ Prompt stdin readline pop cvx eval def
27
+ } bind def
28
+
29
+ $Template { # arithmetic_operator_name label_string Template result_string
30
+ A cvs ` ' B cvs ` ' 5 ncat over cvs ` gives ' 3 ncat exch
31
+ A B dn cvx eval cvs `.' 3 ncat Say
32
+ } bind def
33
+
34
+ $ShowResults {
35
+ $add `Addition: ' Template
36
+ $sub `Subtraction: ' Template
37
+ $mul `Multiplication: ' Template
38
+ $idiv `Division: ' Template
39
+ `Note that the result of integer division is rounded toward zero.' Say
40
+ $pow `Exponentiation: ' Template
41
+ `Note that the result of raising to a negative power always gives a real number.' Say
42
+ } bind def
43
+
44
+ ClearScreen ShowPreamble $A GetInt $B GetInt ShowResults
@@ -1,6 +1,6 @@
1
1
 
2
- co (+b) * Sum *
3
- c (-b) * Dffc *
4
- c (*b) * Puc *
5
- c (b) * Qu *
6
- c (%b) * Muu *
2
+ echo (a+b); /* Sum */
3
+ echo (a-b); /* Difference */
4
+ echo (a*b); /* Product */
5
+ echo (a/b); /* Quotient */
6
+ echo (a%b); /* Modulus */
@@ -1,19 +1,19 @@
1
- dc
2
- SI = {N c $ f O.f O. (:)}
1
+ declare
2
+ StdIn = {New class $ from Open.file Open.text end init(name:stdin)}
3
3
 
4
- fu {RI}
5
- {S.I {SI S($)}}
6
-
4
+ fun {ReadInt}
5
+ {String.toInt {StdIn getS($)}}
6
+ end
7
7
 
8
- A = {RI}
9
- B = {RI}
10
-
11
- {FA
8
+ A = {ReadInt}
9
+ B = {ReadInt}
10
+ in
11
+ {ForAll
12
12
  ["A+B = "#A+B
13
13
  "A-B = "#A-B
14
14
  "A*B = "#A*B
15
- "AB = "#A B %% uc 0
16
- " "#A B %% A
17
- "A^B = "#{P A B}
15
+ "A/B = "#A div B %% truncates towards 0
16
+ "remainder "#A mod B %% has the same sign as A
17
+ "A^B = "#{Pow A B}
18
18
  ]
19
- S.If}
19
+ System.showInfo}
@@ -1,2 +1,2 @@
1
- U fc fuc f ub ub u ub.
2
- =3 b=7 fuc:_bbf__umb_umb_umb =f.m.b '(' b ')' ' = ' f( b)
1
+ Use reflection to get all functions defined on numbers taking number and returning number.
2
+ a=3 b=7 func:_bbf__number_number_number =>f.name.<b> '(' a b ')' ' => ' f(a b) nl
@@ -1,9 +1,9 @@
1
- I c\c u -\f. T c\c u-- ( +\f) . O cc u bu u f - qu.
2
- (,b)={
3
- (+b)
4
- (-b)
5
- (*b)
6
- (\b)
7
- (%b)
8
- (^b)
9
- }
1
+ Integer division with <code>\</code> rounds to <math>-\infty</math>. There also exists the <code>\/</code> round-to-nearest (ties to <math>+\infty</math>) operator. Ordinary division <code>/</code> does not round but returns rationals if given integers with a non-integral quotient.
2
+ arith(a,b)={
3
+ print(a+b);
4
+ print(a-b);
5
+ print(a*b);
6
+ print(a\b);
7
+ print(a%b);
8
+ print(a^b);
9
+ };
@@ -1,14 +1,14 @@
1
- om mc(u, ouu)
1
+ program arithmetic(input, output)
2
2
 
3
+ var
4
+ a, b: integer;
3
5
 
4
- , b:
5
-
6
- b
7
- (, b)
8
- ('+b = ', +b)
9
- ('-b = ', -b)
10
- ('*b = ', *b)
11
- ('b = ', b, ', ', b)
12
- ('^b = ',P(,b):4:2) { }
13
- ('^b = ',IP(,b):4:2) { }
14
- .
6
+ begin
7
+ readln(a, b);
8
+ writeln('a+b = ', a+b);
9
+ writeln('a-b = ', a-b);
10
+ writeln('a*b = ', a*b);
11
+ writeln('a/b = ', a div b, ', remainder ', a mod b);
12
+ writeln('a^b = ',Power(a,b):4:2); {real power}
13
+ writeln('a^b = ',IntPower(a,b):4:2); {integer power}
14
+ end.
@@ -1,12 +1,12 @@
1
- {{ |P|5.}}
2
- m $ =
3
- $b =
1
+ {{works with|Perl|5.x}}
2
+ my $a = <>;
3
+ my $b = <>;
4
4
 
5
-
6
- "u: ", $ + $b, "\",
7
- "ffc: ", $ - $b, "\",
8
- "uc: ", $ * $b, "\",
9
- " qu: ", ($ $b), "\",
10
- ": ", $ % $b, "\",
11
- ": ", $ ** $b, "\"
12
-
5
+ print
6
+ "sum: ", $a + $b, "\n",
7
+ "difference: ", $a - $b, "\n",
8
+ "product: ", $a * $b, "\n",
9
+ "integer quotient: ", int($a / $b), "\n",
10
+ "remainder: ", $a % $b, "\n",
11
+ "exponent: ", $a ** $b, "\n"
12
+ ;
@@ -1,49 +1,49 @@
1
- {{b|PGUI}}
2
- {{b|P}}
3
- Yu c u [:.10.2jAI. ] (uc fc ).
4
- !--(o)--
5
- ="c: #008080" ="c: #008080"jc_c
6
- ="c: #008080"cu ="c: #000000"GUI ="c: #0000FF". ="c: #000000"
1
+ {{libheader|Phix/pGUI}}
2
+ {{libheader|Phix/online}}
3
+ You can run this online [http://phix.x10.mx/p2js/ArithInt.htm here] (layout/space is not perfected yet).
4
+ <!--(phixonline)-->
5
+ <span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span>
6
+ <span style="color: #008080;">include</span> <span style="color: #000000;">pGUI</span><span style="color: #0000FF;">.</span><span style="color: #000000;">e</span>
7
7
 
8
- ="c: #004080"I ="c: #000000"b ="c: #0000FF", ="c: #000000"b ="c: #0000FF", ="c: #000000" ="c: #0000FF", ="c: #000000"
8
+ <span style="color: #004080;">Ihandle</span> <span style="color: #000000;">lab</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">tab</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">res</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">dlg</span>
9
9
 
10
- ="c: #008080"c ="c: #000000"f ="c: #0000FF"= ="c: #008000""""
11
- = %
12
- b = %
13
- + b = %
14
- - b = %
15
- * b = %
16
- b = % ( uc)
17
- (,b) = % ( f )
18
- (,b) = %
19
- """
10
+ <span style="color: #008080;">constant</span> <span style="color: #000000;">fmt</span> <span style="color: #0000FF;">=</span> <span style="color: #008000;">"""
11
+ a = %d
12
+ b = %d
13
+ a + b = %d
14
+ a - b = %d
15
+ a * b = %d
16
+ a / b = %g (does not truncate)
17
+ remainder(a,b) = %d (same sign as first operand)
18
+ power(a,b) = %g
19
+ """</span>
20
20
 
21
- ="c: #008080"fuc ="c: #000000"uc_cb ="c: #0000FF"( ="c: #004080"I ="c: #000000"b ="c: #0000FF")
22
- ="c: #004080" ="c: #000000" ="c: #0000FF"= ="c: #7060A8"IuGAbu ="c: #0000FF"( ="c: #000000"b ="c: #0000FF", ="c: #008000""VALUE" ="c: #0000FF")
23
- ="c: #004080"quc ="c: #000000" ="c: #0000FF"= ="c: #7060A8"cf ="c: #0000FF"( ="c: #000000" ="c: #0000FF", ="c: #008000""% %" ="c: #0000FF")
24
- ="c: #008080"f ="c: #7060A8" ="c: #0000FF"( ="c: #000000" ="c: #0000FF")= ="c: #000000"1 ="c: #008080"
25
- ="c: #004080" ="c: #0000FF"{ ="c: #000000" ="c: #0000FF", ="c: #000000"b ="c: #0000FF"} ="c: #0000FF"= ="c: #000000" ="c: #0000FF"[ ="c: #000000"1 ="c: #0000FF"]
26
- ="c: #000000" ="c: #0000FF"= ="c: #7060A8"f ="c: #0000FF"( ="c: #000000"f ="c: #0000FF", ="c: #0000FF"{ ="c: #000000" ="c: #0000FF", ="c: #000000"b ="c: #0000FF", ="c: #000000" ="c: #0000FF"+ ="c: #000000"b ="c: #0000FF", ="c: #000000" ="c: #0000FF"- ="c: #000000"b ="c: #0000FF", ="c: #000000" ="c: #0000FF"* ="c: #000000"b ="c: #0000FF", ="c: #000000" ="c: #0000FF" ="c: #000000"b ="c: #0000FF", ="c: #7060A8" ="c: #0000FF"( ="c: #000000" ="c: #0000FF", ="c: #000000"b ="c: #0000FF"), ="c: #7060A8" ="c: #0000FF"( ="c: #000000" ="c: #0000FF", ="c: #000000"b ="c: #0000FF")})
27
- ="c: #7060A8"IuSSAbu ="c: #0000FF"( ="c: #000000" ="c: #0000FF", ="c: #008000""TITLE" ="c: #0000FF", ="c: #000000" ="c: #0000FF")
28
- ="c: #7060A8"IuRf ="c: #0000FF"( ="c: #000000" ="c: #0000FF")
29
- ="c: #008080" ="c: #008080"f
30
- ="c: #008080"u ="c: #004600"IUP_DEFAULT
31
- ="c: #008080" ="c: #008080"fuc
21
+ <span style="color: #008080;">function</span> <span style="color: #000000;">valuechanged_cb</span><span style="color: #0000FF;">(</span><span style="color: #004080;">Ihandle</span> <span style="color: #000000;">tab</span><span style="color: #0000FF;">)</span>
22
+ <span style="color: #004080;">string</span> <span style="color: #000000;">s</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">IupGetAttribute</span><span style="color: #0000FF;">(</span><span style="color: #000000;">tab</span><span style="color: #0000FF;">,</span><span style="color: #008000;">"VALUE"</span><span style="color: #0000FF;">)</span>
23
+ <span style="color: #004080;">sequence</span> <span style="color: #000000;">r</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">scanf</span><span style="color: #0000FF;">(</span><span style="color: #000000;">s</span><span style="color: #0000FF;">,</span><span style="color: #008000;">"%d %d"</span><span style="color: #0000FF;">)</span>
24
+ <span style="color: #008080;">if</span> <span style="color: #7060A8;">length</span><span style="color: #0000FF;">(</span><span style="color: #000000;">r</span><span style="color: #0000FF;">)=</span><span style="color: #000000;">1</span> <span style="color: #008080;">then</span>
25
+ <span style="color: #004080;">integer</span> <span style="color: #0000FF;">{</span><span style="color: #000000;">a</span><span style="color: #0000FF;">,</span><span style="color: #000000;">b</span><span style="color: #0000FF;">}</span> <span style="color: #0000FF;">=</span> <span style="color: #000000;">r</span><span style="color: #0000FF;">[</span><span style="color: #000000;">1</span><span style="color: #0000FF;">]</span>
26
+ <span style="color: #000000;">s</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">sprintf</span><span style="color: #0000FF;">(</span><span style="color: #000000;">fmt</span><span style="color: #0000FF;">,</span> <span style="color: #0000FF;">{</span><span style="color: #000000;">a</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">b</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">a</span><span style="color: #0000FF;">+</span><span style="color: #000000;">b</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">a</span><span style="color: #0000FF;">-</span><span style="color: #000000;">b</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">a</span><span style="color: #0000FF;">*</span><span style="color: #000000;">b</span><span style="color: #0000FF;">,</span> <span style="color: #000000;">a</span><span style="color: #0000FF;">/</span><span style="color: #000000;">b</span><span style="color: #0000FF;">,</span> <span style="color: #7060A8;">remainder</span><span style="color: #0000FF;">(</span><span style="color: #000000;">a</span><span style="color: #0000FF;">,</span><span style="color: #000000;">b</span><span style="color: #0000FF;">),</span> <span style="color: #7060A8;">power</span><span style="color: #0000FF;">(</span><span style="color: #000000;">a</span><span style="color: #0000FF;">,</span><span style="color: #000000;">b</span><span style="color: #0000FF;">)})</span>
27
+ <span style="color: #7060A8;">IupSetStrAttribute</span><span style="color: #0000FF;">(</span><span style="color: #000000;">res</span><span style="color: #0000FF;">,</span><span style="color: #008000;">"TITLE"</span><span style="color: #0000FF;">,</span><span style="color: #000000;">s</span><span style="color: #0000FF;">)</span>
28
+ <span style="color: #7060A8;">IupRefresh</span><span style="color: #0000FF;">(</span><span style="color: #000000;">res</span><span style="color: #0000FF;">)</span>
29
+ <span style="color: #008080;">end</span> <span style="color: #008080;">if</span>
30
+ <span style="color: #008080;">return</span> <span style="color: #004600;">IUP_DEFAULT</span>
31
+ <span style="color: #008080;">end</span> <span style="color: #008080;">function</span>
32
32
 
33
- ="c: #008080"cu ="c: #000000" ="c: #0000FF"()
34
- ="c: #7060A8"IuO ="c: #0000FF"()
35
- ="c: #000000"b ="c: #0000FF"= ="c: #7060A8"IuLb ="c: #0000FF"( ="c: #008000""E ub" ="c: #0000FF")
36
- ="c: #000000"b ="c: #0000FF"= ="c: #7060A8"IuT ="c: #0000FF"( ="c: #008000""VALUECHANGED_CB" ="c: #0000FF", ="c: #7060A8"Icbc ="c: #0000FF"( ="c: #008000""uc_cb" ="c: #0000FF"), ="c: #008000""EXPAND=HORIZONTAL" ="c: #0000FF")
37
- ="c: #000000" ="c: #0000FF"= ="c: #7060A8"IuLb ="c: #0000FF"( ="c: #008000""( b c)\\\\\\\" ="c: #0000FF", ="c: #008000""EXPAND=BOTH" ="c: #0000FF")
38
- ="c: #000000" ="c: #0000FF"= ="c: #7060A8"IuD ="c: #0000FF"( ="c: #7060A8"IuVb ="c: #0000FF"({ ="c: #7060A8"IuHb ="c: #0000FF"({ ="c: #000000"b ="c: #0000FF", ="c: #000000"b ="c: #0000FF"}, ="c: #008000""GAP=10,NORMALIZESIZE=VERTICAL" ="c: #0000FF"),
39
- ="c: #7060A8"IuHb ="c: #0000FF"({ ="c: #000000" ="c: #0000FF"})}, ="c: #008000""MARGIN=55" ="c: #0000FF"),
40
- ="c: #008000"`SIZE=188112,TITLE="AcI"` ="c: #0000FF")
41
- ="c: #7060A8"IuS ="c: #0000FF"( ="c: #000000" ="c: #0000FF")
42
- ="c: #008080"f ="c: #7060A8"f ="c: #0000FF"()!= ="c: #004600"JS ="c: #008080"
43
- ="c: #7060A8"IuML ="c: #0000FF"()
44
- ="c: #7060A8"IuC ="c: #0000FF"()
45
- ="c: #008080" ="c: #008080"f
46
- ="c: #008080" ="c: #008080"cu
33
+ <span style="color: #008080;">procedure</span> <span style="color: #000000;">main</span><span style="color: #0000FF;">()</span>
34
+ <span style="color: #7060A8;">IupOpen</span><span style="color: #0000FF;">()</span>
35
+ <span style="color: #000000;">lab</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">IupLabel</span><span style="color: #0000FF;">(</span><span style="color: #008000;">"Enter two numbers"</span><span style="color: #0000FF;">)</span>
36
+ <span style="color: #000000;">tab</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">IupText</span><span style="color: #0000FF;">(</span><span style="color: #008000;">"VALUECHANGED_CB"</span><span style="color: #0000FF;">,</span> <span style="color: #7060A8;">Icallback</span><span style="color: #0000FF;">(</span><span style="color: #008000;">"valuechanged_cb"</span><span style="color: #0000FF;">),</span><span style="color: #008000;">"EXPAND=HORIZONTAL"</span><span style="color: #0000FF;">)</span>
37
+ <span style="color: #000000;">res</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">IupLabel</span><span style="color: #0000FF;">(</span><span style="color: #008000;">"(separated by a space)\n\n\n\n\n\n\n"</span><span style="color: #0000FF;">,</span><span style="color: #008000;">"EXPAND=BOTH"</span><span style="color: #0000FF;">)</span>
38
+ <span style="color: #000000;">dlg</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">IupDialog</span><span style="color: #0000FF;">(</span><span style="color: #7060A8;">IupVbox</span><span style="color: #0000FF;">({</span><span style="color: #7060A8;">IupHbox</span><span style="color: #0000FF;">({</span><span style="color: #000000;">lab</span><span style="color: #0000FF;">,</span><span style="color: #000000;">tab</span><span style="color: #0000FF;">},</span><span style="color: #008000;">"GAP=10,NORMALIZESIZE=VERTICAL"</span><span style="color: #0000FF;">),</span>
39
+ <span style="color: #7060A8;">IupHbox</span><span style="color: #0000FF;">({</span><span style="color: #000000;">res</span><span style="color: #0000FF;">})},</span><span style="color: #008000;">"MARGIN=5x5"</span><span style="color: #0000FF;">),</span>
40
+ <span style="color: #008000;">`SIZE=188x112,TITLE="Arithmetic/Integer"`</span><span style="color: #0000FF;">)</span>
41
+ <span style="color: #7060A8;">IupShow</span><span style="color: #0000FF;">(</span><span style="color: #000000;">dlg</span><span style="color: #0000FF;">)</span>
42
+ <span style="color: #008080;">if</span> <span style="color: #7060A8;">platform</span><span style="color: #0000FF;">()!=</span><span style="color: #004600;">JS</span> <span style="color: #008080;">then</span>
43
+ <span style="color: #7060A8;">IupMainLoop</span><span style="color: #0000FF;">()</span>
44
+ <span style="color: #7060A8;">IupClose</span><span style="color: #0000FF;">()</span>
45
+ <span style="color: #008080;">end</span> <span style="color: #008080;">if</span>
46
+ <span style="color: #008080;">end</span> <span style="color: #008080;">procedure</span>
47
47
 
48
- ="c: #000000" ="c: #0000FF"()
49
- !----
48
+ <span style="color: #000000;">main</span><span style="color: #0000FF;">()</span>
49
+ <!---->
@@ -1,14 +1,14 @@
1
- df O
2
-
3
- f
1
+ def printOp
2
+ swap print print nl
3
+ enddef
4
4
 
5
- 8 3 b
6
- " = " O
7
- "b = " b O
5
+ 8 var a 3 var b
6
+ "a = " a printOp
7
+ "b = " b printOp
8
8
 
9
- " + b = " b + O
10
- " - b = " b - O
11
- " * b = " b * O
12
- "( b) = " b O
13
- " b = " b O
14
- " ^ b = " b O
9
+ "a + b = " a b + printOp
10
+ "a - b = " a b - printOp
11
+ "a * b = " a b * printOp
12
+ "int(a / b) = " a b / int printOp
13
+ "a mod b = " a b mod printOp
14
+ "a ^ b = " a b power printOp
@@ -1,20 +1,20 @@
1
1
 
2
- modu
2
+ module arith;
3
3
 
4
- f
5
- cf
4
+ extern printf;
5
+ extern scanf;
6
6
 
7
- @I [
8
- @P@I = c(4)
9
- @P@I b = c(4)
10
- cf("% %", , b)
7
+ @Integer main [
8
+ @Pointer<@Integer> a = alloc(4);
9
+ @Pointer<@Integer> b = alloc(4);
10
+ scanf("%i %i", a, b);
11
11
 
12
- f(" + b = %\", :: + b::)
13
- f(" - b = %\", :: - b::)
14
- f(" * b = %\", :: * b::)
15
- f(" b = %\", :: b::)
16
- f(" % b = %\", :: % b::)
17
- f(" ** b = %\", :: ** b::)
12
+ printf("a + b = %i\n", a::get + b::get);
13
+ printf("a - b = %i\n", a::get - b::get);
14
+ printf("a * b = %i\n", a::get * b::get);
15
+ printf("a / b = %i\n", a::get / b::get);
16
+ printf("a % b = %i\n", a::get % b::get);
17
+ printf("a ** b = %i\n", a::get ** b::get);
18
18
 
19
- u 0
19
+ return 0;
20
20
  ]
@@ -1,13 +1,13 @@
1
- ?
2
- $ = f(STDIN)
3
- $b = f(STDIN)
1
+ <?php
2
+ $a = fgets(STDIN);
3
+ $b = fgets(STDIN);
4
4
 
5
- c
6
- "u: ", $ + $b, "\",
7
- "ffc: ", $ - $b, "\",
8
- "uc: ", $ * $b, "\",
9
- "uc qu: ", ()($ $b), "\",
10
- "f qu: ", f($ $b), "\",
11
- ": ", $ % $b, "\",
12
- ": ", $ ** $b, "\" PHP 5.6+
13
- ?
5
+ echo
6
+ "sum: ", $a + $b, "\n",
7
+ "difference: ", $a - $b, "\n",
8
+ "product: ", $a * $b, "\n",
9
+ "truncating quotient: ", (int)($a / $b), "\n",
10
+ "flooring quotient: ", floor($a / $b), "\n",
11
+ "remainder: ", $a % $b, "\n",
12
+ "power: ", $a ** $b, "\n"; // PHP 5.6+ only
13
+ ?>
@@ -1,8 +1,8 @@
1
- m =
2
- X = _(),
3
- Y = _(),
4
- fc (O [+,-,*,,])
5
- R = (O,X,Y),
6
- f("% % % = %\", X, O, Y, R)
7
- .
1
+ main =>
2
+ X = read_int(),
3
+ Y = read_int(),
4
+ foreach (Op in [+,-,*,div,rem])
5
+ R = apply(Op,X,Y),
6
+ printf("%d %w %d = %d\n", X, Op, Y, R)
7
+ end.
8
8