zettacode 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/zettacode/parse/parse.rb +17 -14
- data/lib/zettacode/version.rb +1 -1
- data/zettacode.files/arithmetic.integer/0815}.txt +13 -13
- data/zettacode.files/arithmetic.integer/11l}.txt +8 -8
- data/zettacode.files/arithmetic.integer/360_assembly.txt +28 -28
- data/zettacode.files/arithmetic.integer/6502_assembly}.txt +24 -24
- data/zettacode.files/arithmetic.integer/68000_assembly.txt +15 -15
- data/zettacode.files/arithmetic.integer/aarch64_assembly.txt +130 -130
- data/zettacode.files/arithmetic.integer/abap.txt +22 -22
- data/zettacode.files/arithmetic.integer/acl2.txt +18 -18
- data/zettacode.files/arithmetic.integer/action!.txt +21 -21
- data/zettacode.files/arithmetic.integer/ada.txt +17 -17
- data/zettacode.files/arithmetic.integer/aikido.txt +9 -9
- data/zettacode.files/arithmetic.integer/algol_68.txt +13 -13
- data/zettacode.files/arithmetic.integer/algol_w.txt +16 -16
- data/zettacode.files/arithmetic.integer/amigae.txt +13 -13
- data/zettacode.files/arithmetic.integer/apl.txt +5 -5
- data/zettacode.files/arithmetic.integer/applescript.txt +11 -11
- data/zettacode.files/arithmetic.integer/arm_assembly.txt +267 -267
- data/zettacode.files/arithmetic.integer/arturo.txt +8 -8
- data/zettacode.files/arithmetic.integer/asymptote.txt +15 -15
- data/zettacode.files/arithmetic.integer/autohotkey.txt +18 -18
- data/zettacode.files/arithmetic.integer/avail.txt +10 -10
- data/zettacode.files/arithmetic.integer/awk.txt +10 -10
- data/zettacode.files/arithmetic.integer/basic.txt +47 -47
- data/zettacode.files/arithmetic.integer/basic256.txt +8 -8
- data/zettacode.files/arithmetic.integer/batch_file.txt +5 -5
- data/zettacode.files/arithmetic.integer/bbc_basic.txt +8 -8
- data/zettacode.files/arithmetic.integer/bc.txt +7 -7
- data/zettacode.files/arithmetic.integer/befunge.txt +6 -6
- data/zettacode.files/arithmetic.integer/bqn.txt +12 -12
- data/zettacode.files/arithmetic.integer/bracmat.txt +17 -17
- data/zettacode.files/arithmetic.integer/brat.txt +7 -7
- data/zettacode.files/arithmetic.integer/c++.txt +9 -9
- data/zettacode.files/arithmetic.integer/c.txt +14 -14
- data/zettacode.files/arithmetic.integer/c_sharp|c#.txt +11 -11
- data/zettacode.files/arithmetic.integer/chef.txt +32 -32
- data/zettacode.files/arithmetic.integer/clipper.txt +11 -11
- data/zettacode.files/arithmetic.integer/clojure.txt +12 -12
- data/zettacode.files/arithmetic.integer/cobol.txt +22 -22
- data/zettacode.files/arithmetic.integer/common_lisp.txt +20 -20
- data/zettacode.files/arithmetic.integer/component_pascal.txt +21 -21
- data/zettacode.files/arithmetic.integer/crystal.txt +9 -9
- data/zettacode.files/arithmetic.integer/d.txt +14 -14
- data/zettacode.files/arithmetic.integer/dc.txt +10 -10
- data/zettacode.files/arithmetic.integer/dcl.txt +8 -8
- data/zettacode.files/arithmetic.integer/delphi.txt +14 -14
- data/zettacode.files/arithmetic.integer/dwscript.txt +8 -8
- data/zettacode.files/arithmetic.integer/dyalect.txt +9 -9
- data/zettacode.files/arithmetic.integer/e.txt +7 -7
- data/zettacode.files/arithmetic.integer/easylang.txt +8 -8
- data/zettacode.files/arithmetic.integer/ecl.txt +28 -28
- data/zettacode.files/arithmetic.integer/efene.txt +11 -11
- data/zettacode.files/arithmetic.integer/eiffel.txt +30 -30
- data/zettacode.files/arithmetic.integer/elena.txt +12 -12
- data/zettacode.files/arithmetic.integer/elixir.txt +23 -23
- data/zettacode.files/arithmetic.integer/emojicode.txt +7 -7
- data/zettacode.files/arithmetic.integer/erlang.txt +13 -13
- data/zettacode.files/arithmetic.integer/erre.txt +9 -9
- data/zettacode.files/arithmetic.integer/euphoria.txt +10 -10
- data/zettacode.files/arithmetic.integer/excel.txt +7 -7
- data/zettacode.files/arithmetic.integer/f_sharp|f#.txt +7 -7
- data/zettacode.files/arithmetic.integer/factor.txt +15 -15
- data/zettacode.files/arithmetic.integer/false.txt +6 -6
- data/zettacode.files/arithmetic.integer/fermat.txt +9 -9
- data/zettacode.files/arithmetic.integer/forth.txt +15 -15
- data/zettacode.files/arithmetic.integer/fortran.txt +6 -6
- data/zettacode.files/arithmetic.integer/freebasic.txt +14 -14
- data/zettacode.files/arithmetic.integer/friendly_interactive_shell.txt +8 -8
- data/zettacode.files/arithmetic.integer/frink.txt +6 -6
- data/zettacode.files/arithmetic.integer/futurebasic.txt +115 -115
- data/zettacode.files/arithmetic.integer/gambas.txt +22 -22
- data/zettacode.files/arithmetic.integer/gap.txt +15 -15
- data/zettacode.files/arithmetic.integer/genie.txt +18 -18
- data/zettacode.files/arithmetic.integer/george.txt +7 -7
- data/zettacode.files/arithmetic.integer/go.txt +45 -45
- data/zettacode.files/arithmetic.integer/groovy.txt +14 -14
- data/zettacode.files/arithmetic.integer/harbour.txt +11 -11
- data/zettacode.files/arithmetic.integer/haskell.txt +15 -15
- data/zettacode.files/arithmetic.integer/haxe.txt +11 -11
- data/zettacode.files/arithmetic.integer/hicest.txt +20 -20
- data/zettacode.files/arithmetic.integer/holyc.txt +12 -12
- data/zettacode.files/arithmetic.integer/i.txt +9 -9
- data/zettacode.files/arithmetic.integer/icon}}_and_{{header|unicon.txt +12 -12
- data/zettacode.files/arithmetic.integer/inform_7.txt +20 -20
- data/zettacode.files/arithmetic.integer/j.txt +14 -14
- data/zettacode.files/arithmetic.integer/java.txt +17 -17
- data/zettacode.files/arithmetic.integer/javascript.txt +24 -24
- data/zettacode.files/arithmetic.integer/jq.txt +15 -15
- data/zettacode.files/arithmetic.integer/jsish.txt +24 -24
- data/zettacode.files/arithmetic.integer/julia.txt +5 -4
- data/zettacode.files/arithmetic.integer/kotlin.txt +34 -34
- data/zettacode.files/arithmetic.integer/labview.txt +2 -2
- data/zettacode.files/arithmetic.integer/lambdatalk.txt +20 -20
- data/zettacode.files/arithmetic.integer/lasso.txt +8 -8
- data/zettacode.files/arithmetic.integer/lfe.txt +25 -25
- data/zettacode.files/arithmetic.integer/liberty_basic.txt +9 -9
- data/zettacode.files/arithmetic.integer/lil.txt +13 -13
- data/zettacode.files/arithmetic.integer/lingo.txt +9 -9
- data/zettacode.files/arithmetic.integer/little.txt +13 -13
- data/zettacode.files/arithmetic.integer/livecode.txt +17 -17
- data/zettacode.files/arithmetic.integer/logo.txt +10 -10
- data/zettacode.files/arithmetic.integer/lse64.txt +9 -9
- data/zettacode.files/arithmetic.integer/lua.txt +8 -8
- data/zettacode.files/arithmetic.integer/m2000_interpreter.txt +46 -46
- data/zettacode.files/arithmetic.integer/m4.txt +12 -12
- data/zettacode.files/arithmetic.integer/maple.txt +21 -21
- data/zettacode.files/arithmetic.integer/mathcad.txt +24 -24
- data/zettacode.files/arithmetic.integer/mathematica}}-{{header|wolfram_language.txt +18 -18
- data/zettacode.files/arithmetic.integer/matlab}}_-_{{header|octave.txt +8 -8
- data/zettacode.files/arithmetic.integer/maxima.txt +10 -10
- data/zettacode.files/arithmetic.integer/maxscript.txt +7 -7
- data/zettacode.files/arithmetic.integer/mercury.txt +32 -32
- data/zettacode.files/arithmetic.integer/metafont.txt +15 -15
- data/zettacode.files/arithmetic.integer/min.txt +4 -4
- data/zettacode.files/arithmetic.integer/ml-i.txt +15 -15
- data/zettacode.files/arithmetic.integer/modula-2.txt +26 -26
- data/zettacode.files/arithmetic.integer/modula-3.txt +11 -11
- data/zettacode.files/arithmetic.integer/mumps.txt +47 -47
- data/zettacode.files/arithmetic.integer/nanoquery.txt +11 -11
- data/zettacode.files/arithmetic.integer/nemerle.txt +12 -12
- data/zettacode.files/arithmetic.integer/netrexx.txt +11 -11
- data/zettacode.files/arithmetic.integer/newlisp.txt +19 -19
- data/zettacode.files/arithmetic.integer/nial.txt +12 -12
- data/zettacode.files/arithmetic.integer/nim.txt +20 -20
- data/zettacode.files/arithmetic.integer/nsis.txt +23 -23
- data/zettacode.files/arithmetic.integer/oberon-2.txt +11 -11
- data/zettacode.files/arithmetic.integer/objeck.txt +11 -11
- data/zettacode.files/arithmetic.integer/ocaml.txt +8 -8
- data/zettacode.files/arithmetic.integer/oforth.txt +8 -8
- data/zettacode.files/arithmetic.integer/ol.txt +17 -17
- data/zettacode.files/arithmetic.integer/onyx.txt +43 -43
- data/zettacode.files/arithmetic.integer/openscad.txt +5 -5
- data/zettacode.files/arithmetic.integer/oz.txt +13 -13
- data/zettacode.files/arithmetic.integer/panda.txt +2 -2
- data/zettacode.files/arithmetic.integer/pari-gp.txt +9 -9
- data/zettacode.files/arithmetic.integer/pascal.txt +12 -12
- data/zettacode.files/arithmetic.integer/perl.txt +11 -11
- data/zettacode.files/arithmetic.integer/phix.txt +44 -44
- data/zettacode.files/arithmetic.integer/phixmonti.txt +12 -12
- data/zettacode.files/arithmetic.integer/phl.txt +14 -14
- data/zettacode.files/arithmetic.integer/php.txt +12 -12
- data/zettacode.files/arithmetic.integer/picat.txt +7 -7
- data/zettacode.files/arithmetic.integer/picolisp.txt +8 -8
- data/zettacode.files/arithmetic.integer/piet.txt +38 -38
- data/zettacode.files/arithmetic.integer/pl-i.txt +8 -8
- data/zettacode.files/arithmetic.integer/plain_english.txt +23 -23
- data/zettacode.files/arithmetic.integer/pop11.txt +11 -11
- data/zettacode.files/arithmetic.integer/postscript.txt +10 -10
- data/zettacode.files/arithmetic.integer/powershell.txt +12 -12
- data/zettacode.files/arithmetic.integer/processing.txt +6 -6
- data/zettacode.files/arithmetic.integer/prodos.txt +34 -34
- data/zettacode.files/arithmetic.integer/prolog.txt +19 -19
- data/zettacode.files/arithmetic.integer/purebasic.txt +12 -12
- data/zettacode.files/arithmetic.integer/python.txt +40 -40
- data/zettacode.files/arithmetic.integer/qb64.txt +13 -13
- data/zettacode.files/arithmetic.integer/quackery.txt +11 -11
- data/zettacode.files/arithmetic.integer/r.txt +10 -10
- data/zettacode.files/arithmetic.integer/racket.txt +5 -5
- data/zettacode.files/arithmetic.integer/raku.txt +10 -10
- data/zettacode.files/arithmetic.integer/raven.txt +7 -7
- data/zettacode.files/arithmetic.integer/rebol.txt +45 -45
- data/zettacode.files/arithmetic.integer/relation.txt +9 -9
- data/zettacode.files/arithmetic.integer/rescript.txt +12 -12
- data/zettacode.files/arithmetic.integer/retro.txt +9 -9
- data/zettacode.files/arithmetic.integer/rexx.txt +41 -41
- data/zettacode.files/arithmetic.integer/ring.txt +9 -9
- data/zettacode.files/arithmetic.integer/robotic.txt +10 -10
- data/zettacode.files/arithmetic.integer/ruby.txt +10 -10
- data/zettacode.files/arithmetic.integer/run_basic.txt +8 -8
- data/zettacode.files/arithmetic.integer/rust.txt +11 -11
- data/zettacode.files/arithmetic.integer/sass-scss.txt +17 -17
- data/zettacode.files/arithmetic.integer/scala.txt +8 -8
- data/zettacode.files/arithmetic.integer/scheme.txt +23 -23
- data/zettacode.files/arithmetic.integer/seed7.txt +18 -18
- data/zettacode.files/arithmetic.integer/sensetalk.txt +10 -10
- data/zettacode.files/arithmetic.integer/sidef.txt +4 -4
- data/zettacode.files/arithmetic.integer/slate.txt +8 -8
- data/zettacode.files/arithmetic.integer/smalltalk.txt +26 -26
- data/zettacode.files/arithmetic.integer/smart_basic.txt +15 -15
- data/zettacode.files/arithmetic.integer/snobol4.txt +11 -11
- data/zettacode.files/arithmetic.integer/snusp.txt +36 -36
- data/zettacode.files/arithmetic.integer/sql.txt +21 -21
- data/zettacode.files/arithmetic.integer/ssem.txt +11 -11
- data/zettacode.files/arithmetic.integer/standard_ml.txt +13 -13
- data/zettacode.files/arithmetic.integer/swift.txt +8 -8
- data/zettacode.files/arithmetic.integer/tcl.txt +13 -13
- data/zettacode.files/arithmetic.integer/terraform.txt +17 -17
- data/zettacode.files/arithmetic.integer/ti-83_basic.txt +12 -12
- data/zettacode.files/arithmetic.integer/ti-89_basic.txt +7 -7
- data/zettacode.files/arithmetic.integer/toka.txt +6 -6
- data/zettacode.files/arithmetic.integer/tuscript.txt +6 -6
- data/zettacode.files/arithmetic.integer/unix_shell.txt +23 -23
- data/zettacode.files/arithmetic.integer/ursa.txt +21 -21
- data/zettacode.files/arithmetic.integer/v_(vlang).txt +24 -24
- data/zettacode.files/arithmetic.integer/vba.txt +15 -15
- data/zettacode.files/arithmetic.integer/vbscript.txt +48 -48
- data/zettacode.files/arithmetic.integer/vedit_macro_language.txt +7 -7
- data/zettacode.files/arithmetic.integer/verilog.txt +23 -23
- data/zettacode.files/arithmetic.integer/vim_script.txt +10 -10
- data/zettacode.files/arithmetic.integer/visual_basic_.net.txt +14 -14
- data/zettacode.files/arithmetic.integer/wart.txt +9 -9
- data/zettacode.files/arithmetic.integer/wren.txt +15 -15
- data/zettacode.files/arithmetic.integer/x86_assembly.txt +18 -18
- data/zettacode.files/arithmetic.integer/xlisp.txt +4 -4
- data/zettacode.files/arithmetic.integer/xpl0.txt +9 -9
- data/zettacode.files/arithmetic.integer/xslt.txt +9 -9
- data/zettacode.files/arithmetic.integer/yabasic.txt +9 -9
- data/zettacode.files/arithmetic.integer/yorick.txt +8 -8
- data/zettacode.files/arithmetic.integer/zkl.txt +7 -7
- data/zettacode.files/arithmetic.integer/zonnon.txt +12 -12
- data/zettacode.files/arithmetic.integer/zx_spectrum_basic.txt +8 -8
- data/zettacode.files/arithmetic.integer//320/274/320/272-61-52.txt +7 -7
- data/zettacode.files/hello_world.text/0815.txt +4 -4
- data/zettacode.files/hello_world.text/11l.txt +1 -1
- data/zettacode.files/hello_world.text/360_assembly.txt +12 -12
- data/zettacode.files/hello_world.text/4dos_batch.txt +1 -1
- data/zettacode.files/hello_world.text/6502_assembly.txt +18 -18
- data/zettacode.files/hello_world.text/6800_assembly.txt +31 -31
- data/zettacode.files/hello_world.text/8080_assembly.txt +11 -11
- data/zettacode.files/hello_world.text/8086_assembly.txt +17 -17
- data/zettacode.files/hello_world.text/8th.txt +1 -1
- data/zettacode.files/hello_world.text/aarch64_assembly.txt +19 -19
- data/zettacode.files/hello_world.text/abap.txt +2 -2
- data/zettacode.files/hello_world.text/acl2.txt +1 -1
- data/zettacode.files/hello_world.text/action!.txt +3 -3
- data/zettacode.files/hello_world.text/actionscript.txt +1 -1
- data/zettacode.files/hello_world.text/ada.txt +6 -6
- data/zettacode.files/hello_world.text/agda.txt +10 -10
- data/zettacode.files/hello_world.text/agena.txt +1 -1
- data/zettacode.files/hello_world.text/aime.txt +6 -6
- data/zettacode.files/hello_world.text/algae.txt +1 -1
- data/zettacode.files/hello_world.text/algol-m.txt +1 -1
- data/zettacode.files/hello_world.text/algol_60.txt +1 -1
- data/zettacode.files/hello_world.text/algol_68.txt +2 -2
- data/zettacode.files/hello_world.text/algol_w.txt +3 -3
- data/zettacode.files/hello_world.text/alore.txt +1 -1
- data/zettacode.files/hello_world.text/amazing_hopper.txt +14 -14
- data/zettacode.files/hello_world.text/ambienttalk.txt +1 -1
- data/zettacode.files/hello_world.text/amigae.txt +2 -2
- data/zettacode.files/hello_world.text/angelscript.txt +1 -1
- data/zettacode.files/hello_world.text/antlang.txt +3 -3
- data/zettacode.files/hello_world.text/anyways.txt +3 -3
- data/zettacode.files/hello_world.text/apl.txt +1 -1
- data/zettacode.files/hello_world.text/applescript.txt +4 -4
- data/zettacode.files/hello_world.text/applesoft_basic.txt +3 -3
- data/zettacode.files/hello_world.text/apricot.txt +1 -1
- data/zettacode.files/hello_world.text/arc.txt +1 -1
- data/zettacode.files/hello_world.text/arendelle.txt +1 -1
- data/zettacode.files/hello_world.text/argile.txt +3 -3
- data/zettacode.files/hello_world.text/arm_assembly.txt +9 -9
- data/zettacode.files/hello_world.text/arnoldc.txt +1 -1
- data/zettacode.files/hello_world.text/arturo.txt +1 -1
- data/zettacode.files/hello_world.text/asciidots.txt +1 -1
- data/zettacode.files/hello_world.text/astro.txt +1 -1
- data/zettacode.files/hello_world.text/asymptote.txt +1 -1
- data/zettacode.files/hello_world.text/ats.txt +1 -1
- data/zettacode.files/hello_world.text/autohotkey.txt +9 -9
- data/zettacode.files/hello_world.text/autoit.txt +1 -1
- data/zettacode.files/hello_world.text/autolisp.txt +1 -1
- data/zettacode.files/hello_world.text/avail.txt +1 -1
- data/zettacode.files/hello_world.text/awk.txt +12 -12
- data/zettacode.files/hello_world.text/axe.txt +2 -2
- data/zettacode.files/hello_world.text/b.txt +4 -4
- data/zettacode.files/hello_world.text/b4x.txt +1 -1
- data/zettacode.files/hello_world.text/babel.txt +1 -1
- data/zettacode.files/hello_world.text/bash.txt +1 -1
- data/zettacode.files/hello_world.text/basic.txt +13 -13
- data/zettacode.files/hello_world.text/basic256.txt +1 -1
- data/zettacode.files/hello_world.text/batch_file.txt +5 -5
- data/zettacode.files/hello_world.text/battlestar.txt +3 -3
- data/zettacode.files/hello_world.text/bbc_basic.txt +1 -1
- data/zettacode.files/hello_world.text/bc.txt +1 -1
- data/zettacode.files/hello_world.text/bcpl.txt +3 -3
- data/zettacode.files/hello_world.text/beef.txt +5 -5
- data/zettacode.files/hello_world.text/beeswax.txt +12 -12
- data/zettacode.files/hello_world.text/befunge.txt +1 -1
- data/zettacode.files/hello_world.text/binary_lambda_calculus.txt +2 -2
- data/zettacode.files/hello_world.text/bird.txt +5 -5
- data/zettacode.files/hello_world.text/blade.txt +6 -6
- data/zettacode.files/hello_world.text/blast.txt +7 -7
- data/zettacode.files/hello_world.text/blue.txt +10 -10
- data/zettacode.files/hello_world.text/blz.txt +1 -1
- data/zettacode.files/hello_world.text/bml.txt +1 -1
- data/zettacode.files/hello_world.text/boo.txt +1 -1
- data/zettacode.files/hello_world.text/bootbasic.txt +1 -1
- data/zettacode.files/hello_world.text/bqn.txt +2 -2
- data/zettacode.files/hello_world.text/brace.txt +4 -4
- data/zettacode.files/hello_world.text/bracmat.txt +1 -1
- data/zettacode.files/hello_world.text/brainf***.txt +54 -54
- data/zettacode.files/hello_world.text/brat.txt +1 -1
- data/zettacode.files/hello_world.text/brlcad.txt +2 -2
- data/zettacode.files/hello_world.text/burlesque.txt +2 -2
- data/zettacode.files/hello_world.text/c++-cli.txt +3 -3
- data/zettacode.files/hello_world.text/c++.txt +3 -3
- data/zettacode.files/hello_world.text/c.txt +21 -21
- data/zettacode.files/hello_world.text/c1r.txt +1 -1
- data/zettacode.files/hello_world.text/c2.txt +5 -5
- data/zettacode.files/hello_world.text/c3.txt +4 -4
- data/zettacode.files/hello_world.text/c_sharp|c#.txt +12 -12
- data/zettacode.files/hello_world.text/casio_basic.txt +3 -3
- data/zettacode.files/hello_world.text/cat.txt +1 -1
- data/zettacode.files/hello_world.text/cduce.txt +1 -1
- data/zettacode.files/hello_world.text/cfengine.txt +8 -8
- data/zettacode.files/hello_world.text/chapel.txt +1 -1
- data/zettacode.files/hello_world.text/chef.txt +33 -33
- data/zettacode.files/hello_world.text/chuck.txt +1 -1
- data/zettacode.files/hello_world.text/cind.txt +2 -2
- data/zettacode.files/hello_world.text/clay.txt +2 -2
- data/zettacode.files/hello_world.text/clean.txt +1 -1
- data/zettacode.files/hello_world.text/clio.txt +1 -1
- data/zettacode.files/hello_world.text/clipper.txt +1 -1
- data/zettacode.files/hello_world.text/clips.txt +1 -1
- data/zettacode.files/hello_world.text/clojure.txt +1 -1
- data/zettacode.files/hello_world.text/clu.txt +4 -4
- data/zettacode.files/hello_world.text/cmake.txt +3 -3
- data/zettacode.files/hello_world.text/cobol.txt +16 -16
- data/zettacode.files/hello_world.text/cobra.txt +3 -3
- data/zettacode.files/hello_world.text/coffeescript.txt +4 -4
- data/zettacode.files/hello_world.text/coldfusion.txt +1 -1
- data/zettacode.files/hello_world.text/comal.txt +1 -1
- data/zettacode.files/hello_world.text/comefrom0x10.txt +2 -2
- data/zettacode.files/hello_world.text/commodore_basic.txt +4 -4
- data/zettacode.files/hello_world.text/common_lisp.txt +9 -9
- data/zettacode.files/hello_world.text/component_pascal.txt +7 -7
- data/zettacode.files/hello_world.text/coq.txt +2 -2
- data/zettacode.files/hello_world.text/corescript.txt +1 -1
- data/zettacode.files/hello_world.text/cowgol.txt +3 -3
- data/zettacode.files/hello_world.text/crack.txt +2 -2
- data/zettacode.files/hello_world.text/creative_basic.txt +6 -6
- data/zettacode.files/hello_world.text/crystal.txt +1 -1
- data/zettacode.files/hello_world.text/d.txt +4 -4
- data/zettacode.files/hello_world.text/dafny.txt +3 -3
- data/zettacode.files/hello_world.text/dao.txt +1 -1
- data/zettacode.files/hello_world.text/dart.txt +3 -3
- data/zettacode.files/hello_world.text/dataweave.txt +1 -1
- data/zettacode.files/hello_world.text/dbl.txt +8 -8
- data/zettacode.files/hello_world.text/dc.txt +2 -2
- data/zettacode.files/hello_world.text/dcl.txt +1 -1
- data/zettacode.files/hello_world.text/ddnc.txt +4 -4
- data/zettacode.files/hello_world.text/delphi.txt +4 -4
- data/zettacode.files/hello_world.text/deviousyarn.txt +1 -1
- data/zettacode.files/hello_world.text/dibol-11.txt +4 -4
- data/zettacode.files/hello_world.text/diego.txt +12 -12
- data/zettacode.files/hello_world.text/div_games_studio.txt +3 -3
- data/zettacode.files/hello_world.text/dm.txt +2 -2
- data/zettacode.files/hello_world.text/draco.txt +3 -3
- data/zettacode.files/hello_world.text/dragon.txt +1 -1
- data/zettacode.files/hello_world.text/dwscript.txt +1 -1
- data/zettacode.files/hello_world.text/dyalect.txt +1 -1
- data/zettacode.files/hello_world.text/dylan.net.txt +21 -21
- data/zettacode.files/hello_world.text/dylan.txt +2 -2
- data/zettacode.files/hello_world.text/d/303/251j/303/240_vu.txt +1 -1
- data/zettacode.files/hello_world.text/e.txt +2 -2
- data/zettacode.files/hello_world.text/easylang.txt +1 -1
- data/zettacode.files/hello_world.text/ec.txt +3 -3
- data/zettacode.files/hello_world.text/echolisp.txt +1 -1
- data/zettacode.files/hello_world.text/ecl.txt +1 -1
- data/zettacode.files/hello_world.text/ecstasy.txt +4 -4
- data/zettacode.files/hello_world.text/edsac_order_code.txt +18 -18
- data/zettacode.files/hello_world.text/efene.txt +6 -6
- data/zettacode.files/hello_world.text/egel.txt +1 -1
- data/zettacode.files/hello_world.text/egison.txt +3 -3
- data/zettacode.files/hello_world.text/egl.txt +7 -7
- data/zettacode.files/hello_world.text/eiffel.txt +10 -10
- data/zettacode.files/hello_world.text/ela.txt +2 -2
- data/zettacode.files/hello_world.text/elan.txt +1 -1
- data/zettacode.files/hello_world.text/elastic.txt +13 -13
- data/zettacode.files/hello_world.text/elena.txt +3 -3
- data/zettacode.files/hello_world.text/elisa.txt +1 -1
- data/zettacode.files/hello_world.text/elixir.txt +1 -1
- data/zettacode.files/hello_world.text/elm.txt +1 -1
- data/zettacode.files/hello_world.text/emacs_lisp.txt +3 -3
- data/zettacode.files/hello_world.text/emojicode.txt +1 -1
- data/zettacode.files/hello_world.text/erlang.txt +1 -1
- data/zettacode.files/hello_world.text/erre.txt +2 -2
- data/zettacode.files/hello_world.text/euler_math_toolbox.txt +1 -1
- data/zettacode.files/hello_world.text/extended_brainf***.txt +1 -1
- data/zettacode.files/hello_world.text/ezhil.txt +4 -4
- data/zettacode.files/hello_world.text/f_sharp|f#.txt +3 -3
- data/zettacode.files/hello_world.text/factor.txt +1 -1
- data/zettacode.files/hello_world.text/falcon.txt +4 -4
- data/zettacode.files/hello_world.text/false.txt +1 -1
- data/zettacode.files/hello_world.text/fantom.txt +3 -3
- data/zettacode.files/hello_world.text/fennel.txt +1 -1
- data/zettacode.files/hello_world.text/ferite.txt +3 -3
- data/zettacode.files/hello_world.text/fermat.txt +1 -1
- data/zettacode.files/hello_world.text/fexl.txt +1 -1
- data/zettacode.files/hello_world.text/fhidwfe.txt +1 -1
- data/zettacode.files/hello_world.text/fish.txt +9 -9
- data/zettacode.files/hello_world.text/focal.txt +1 -1
- data/zettacode.files/hello_world.text/forth.txt +3 -3
- data/zettacode.files/hello_world.text/fortran.txt +9 -9
- data/zettacode.files/hello_world.text/fortress.txt +2 -2
- data/zettacode.files/hello_world.text/free_pascal.txt +4 -4
- data/zettacode.files/hello_world.text/freebasic.txt +2 -2
- data/zettacode.files/hello_world.text/frege.txt +3 -3
- data/zettacode.files/hello_world.text/friendly_interactive_shell.txt +2 -2
- data/zettacode.files/hello_world.text/frink.txt +1 -1
- data/zettacode.files/hello_world.text/funl.txt +1 -1
- data/zettacode.files/hello_world.text/furor.txt +1 -1
- data/zettacode.files/hello_world.text/futurebasic.txt +3 -3
- data/zettacode.files/hello_world.text/fuze_basic.txt +1 -1
- data/zettacode.files/hello_world.text/gambas.txt +4 -4
- data/zettacode.files/hello_world.text/gap.txt +7 -7
- data/zettacode.files/hello_world.text/gb_basic.txt +1 -1
- data/zettacode.files/hello_world.text/gecho.txt +1 -1
- data/zettacode.files/hello_world.text/gema.txt +4 -4
- data/zettacode.files/hello_world.text/genie.txt +2 -2
- data/zettacode.files/hello_world.text/gentee.txt +2 -2
- data/zettacode.files/hello_world.text/gfa_basic.txt +1 -1
- data/zettacode.files/hello_world.text/glbasic.txt +1 -1
- data/zettacode.files/hello_world.text/glee.txt +7 -7
- data/zettacode.files/hello_world.text/global_script.txt +2 -2
- data/zettacode.files/hello_world.text/glovepie.txt +1 -1
- data/zettacode.files/hello_world.text/gml.txt +2 -2
- data/zettacode.files/hello_world.text/go.txt +3 -3
- data/zettacode.files/hello_world.text/golfscript.txt +1 -1
- data/zettacode.files/hello_world.text/gosu.txt +1 -1
- data/zettacode.files/hello_world.text/grain.txt +1 -1
- data/zettacode.files/hello_world.text/groovy.txt +1 -1
- data/zettacode.files/hello_world.text/gw-basic.txt +1 -1
- data/zettacode.files/hello_world.text/hack.txt +1 -1
- data/zettacode.files/hello_world.text/halon.txt +2 -2
- data/zettacode.files/hello_world.text/harbour.txt +1 -1
- data/zettacode.files/hello_world.text/hare.txt +4 -4
- data/zettacode.files/hello_world.text/haskell.txt +1 -1
- data/zettacode.files/hello_world.text/haxe.txt +1 -1
- data/zettacode.files/hello_world.text/hexiscript.txt +1 -1
- data/zettacode.files/hello_world.text/hicest.txt +1 -1
- data/zettacode.files/hello_world.text/hla.txt +5 -5
- data/zettacode.files/hello_world.text/holyc.txt +1 -1
- data/zettacode.files/hello_world.text/hoon.txt +1 -1
- data/zettacode.files/hello_world.text/hpppl.txt +1 -1
- data/zettacode.files/hello_world.text/hq9+.txt +6 -6
- data/zettacode.files/hello_world.text/html5.txt +6 -6
- data/zettacode.files/hello_world.text/huginn.txt +6 -6
- data/zettacode.files/hello_world.text/hy.txt +1 -1
- data/zettacode.files/hello_world.text/i.txt +2 -2
- data/zettacode.files/hello_world.text/icon}}_and_{{header|unicon.txt +3 -3
- data/zettacode.files/hello_world.text/idl.txt +1 -1
- data/zettacode.files/hello_world.text/idris.txt +3 -3
- data/zettacode.files/hello_world.text/inform_6.txt +3 -3
- data/zettacode.files/hello_world.text/inko.txt +2 -2
- data/zettacode.files/hello_world.text/integer_basic.txt +2 -2
- data/zettacode.files/hello_world.text/intercal.txt +14 -14
- data/zettacode.files/hello_world.text/io.txt +1 -1
- data/zettacode.files/hello_world.text/ioke.txt +1 -1
- data/zettacode.files/hello_world.text/is-basic.txt +1 -1
- data/zettacode.files/hello_world.text/isabelle.txt +5 -5
- data/zettacode.files/hello_world.text/iwbasic.txt +5 -5
- data/zettacode.files/hello_world.text/j.txt +26 -26
- data/zettacode.files/hello_world.text/jack.txt +5 -5
- data/zettacode.files/hello_world.text/jacquard_loom.txt +1 -1
- data/zettacode.files/hello_world.text/java.txt +3 -3
- data/zettacode.files/hello_world.text/javascript.txt +9 -9
- data/zettacode.files/hello_world.text/jcl.txt +1 -1
- data/zettacode.files/hello_world.text/jinja.txt +5 -5
- data/zettacode.files/hello_world.text/joy.txt +1 -1
- data/zettacode.files/hello_world.text/jq.txt +1 -1
- data/zettacode.files/hello_world.text/jse.txt +1 -1
- data/zettacode.files/hello_world.text/jsish.txt +1 -1
- data/zettacode.files/hello_world.text/julia.txt +1 -1
- data/zettacode.files/hello_world.text/k.txt +6 -6
- data/zettacode.files/hello_world.text/kabap.txt +1 -1
- data/zettacode.files/hello_world.text/kaya.txt +4 -4
- data/zettacode.files/hello_world.text/kdf9_usercode.txt +10 -10
- data/zettacode.files/hello_world.text/keg.txt +1 -1
- data/zettacode.files/hello_world.text/kite.txt +3 -3
- data/zettacode.files/hello_world.text/kitten.txt +1 -1
- data/zettacode.files/hello_world.text/koka.txt +2 -2
- data/zettacode.files/hello_world.text/konsolscript.txt +3 -3
- data/zettacode.files/hello_world.text/kotlin.txt +2 -2
- data/zettacode.files/hello_world.text/kql.txt +1 -1
- data/zettacode.files/hello_world.text/ksi.txt +2 -2
- data/zettacode.files/hello_world.text/lambdatalk.txt +3 -3
- data/zettacode.files/hello_world.text/lang5.txt +1 -1
- data/zettacode.files/hello_world.text/langur.txt +1 -1
- data/zettacode.files/hello_world.text/lasso.txt +2 -2
- data/zettacode.files/hello_world.text/latex.txt +4 -4
- data/zettacode.files/hello_world.text/latitude.txt +1 -1
- data/zettacode.files/hello_world.text/lc3_assembly.txt +15 -15
- data/zettacode.files/hello_world.text/ldpl.txt +2 -2
- data/zettacode.files/hello_world.text/lean.txt +1 -1
- data/zettacode.files/hello_world.text/lfe.txt +1 -1
- data/zettacode.files/hello_world.text/liberty_basic.txt +1 -1
- data/zettacode.files/hello_world.text/lil.txt +2 -2
- data/zettacode.files/hello_world.text/lily.txt +4 -4
- data/zettacode.files/hello_world.text/lilypond.txt +8 -8
- data/zettacode.files/hello_world.text/limbo.txt +8 -8
- data/zettacode.files/hello_world.text/lingo.txt +3 -3
- data/zettacode.files/hello_world.text/lisaac.txt +11 -11
- data/zettacode.files/hello_world.text/little.txt +6 -6
- data/zettacode.files/hello_world.text/livecode.txt +11 -11
- data/zettacode.files/hello_world.text/llvm.txt +7 -7
- data/zettacode.files/hello_world.text/lobster.txt +1 -1
- data/zettacode.files/hello_world.text/logo.txt +4 -4
- data/zettacode.files/hello_world.text/logtalk.txt +5 -5
- data/zettacode.files/hello_world.text/lolcode.txt +1 -1
- data/zettacode.files/hello_world.text/lotusscript.txt +4 -4
- data/zettacode.files/hello_world.text/lse.txt +1 -1
- data/zettacode.files/hello_world.text/lse64.txt +1 -1
- data/zettacode.files/hello_world.text/lua.txt +9 -9
- data/zettacode.files/hello_world.text/luna.txt +3 -3
- data/zettacode.files/hello_world.text/m2000_interpreter.txt +4 -4
- data/zettacode.files/hello_world.text/m4.txt +2 -2
- data/zettacode.files/hello_world.text/maclisp.txt +3 -3
- data/zettacode.files/hello_world.text/macro-10.txt +11 -11
- data/zettacode.files/hello_world.text/macro-11.txt +6 -6
- data/zettacode.files/hello_world.text/make.txt +6 -6
- data/zettacode.files/hello_world.text/malbolge.txt +5 -5
- data/zettacode.files/hello_world.text/manool.txt +10 -10
- data/zettacode.files/hello_world.text/maple.txt +2 -2
- data/zettacode.files/hello_world.text/mathcad.txt +3 -3
- data/zettacode.files/hello_world.text/mathematica}}_-_{{header|wolfram_language.txt +1 -1
- data/zettacode.files/hello_world.text/matlab.txt +1 -1
- data/zettacode.files/hello_world.text/maude.txt +6 -6
- data/zettacode.files/hello_world.text/maxima.txt +1 -1
- data/zettacode.files/hello_world.text/maxscript.txt +3 -3
- data/zettacode.files/hello_world.text/mdl.txt +2 -2
- data/zettacode.files/hello_world.text/mel.txt +2 -2
- data/zettacode.files/hello_world.text/melonbasic.txt +2 -2
- data/zettacode.files/hello_world.text/mercury.txt +7 -7
- data/zettacode.files/hello_world.text/metafont.txt +1 -1
- data/zettacode.files/hello_world.text/min.txt +1 -1
- data/zettacode.files/hello_world.text/miniscript.txt +1 -1
- data/zettacode.files/hello_world.text/minizinc.txt +1 -1
- data/zettacode.files/hello_world.text/mips_assembly.txt +10 -10
- data/zettacode.files/hello_world.text/mirc_scripting_language.txt +1 -1
- data/zettacode.files/hello_world.text/ml-i.txt +1 -1
- data/zettacode.files/hello_world.text/modula-2.txt +17 -17
- data/zettacode.files/hello_world.text/modula-3.txt +4 -4
- data/zettacode.files/hello_world.text/montilang.txt +1 -1
- data/zettacode.files/hello_world.text/morfa.txt +3 -3
- data/zettacode.files/hello_world.text/mosaic.txt +3 -3
- data/zettacode.files/hello_world.text/muf.txt +4 -4
- data/zettacode.files/hello_world.text/mumps.txt +1 -1
- data/zettacode.files/hello_world.text/mydef.txt +14 -14
- data/zettacode.files/hello_world.text/myrtlescript.txt +3 -3
- data/zettacode.files/hello_world.text/mysql.txt +1 -1
- data/zettacode.files/hello_world.text/mythryl.txt +1 -1
- data/zettacode.files/hello_world.text/n-t-roff.txt +3 -3
- data/zettacode.files/hello_world.text/nanoquery.txt +1 -1
- data/zettacode.files/hello_world.text/neat.txt +1 -1
- data/zettacode.files/hello_world.text/neko.txt +1 -1
- data/zettacode.files/hello_world.text/nemerle.txt +5 -5
- data/zettacode.files/hello_world.text/netrexx.txt +1 -1
- data/zettacode.files/hello_world.text/never.txt +2 -2
- data/zettacode.files/hello_world.text/newlisp.txt +2 -2
- data/zettacode.files/hello_world.text/nickle.txt +1 -1
- data/zettacode.files/hello_world.text/nim.txt +3 -3
- data/zettacode.files/hello_world.text/nit.txt +1 -1
- data/zettacode.files/hello_world.text/nix.txt +1 -1
- data/zettacode.files/hello_world.text/nlp++.txt +2 -2
- data/zettacode.files/hello_world.text/ns-hubasic.txt +5 -5
- data/zettacode.files/hello_world.text/nyquist.txt +10 -10
- data/zettacode.files/hello_world.text/oberon-2.txt +7 -7
- data/zettacode.files/hello_world.text/objeck.txt +3 -3
- data/zettacode.files/hello_world.text/objective-c.txt +20 -20
- data/zettacode.files/hello_world.text/ocaml.txt +1 -1
- data/zettacode.files/hello_world.text/occam.txt +4 -4
- data/zettacode.files/hello_world.text/octave.txt +3 -3
- data/zettacode.files/hello_world.text/odin.txt +4 -4
- data/zettacode.files/hello_world.text/oforth.txt +1 -1
- data/zettacode.files/hello_world.text/ol.txt +1 -1
- data/zettacode.files/hello_world.text/onyx.txt +1 -1
- data/zettacode.files/hello_world.text/ooc.txt +6 -6
- data/zettacode.files/hello_world.text/oorexx.txt +3 -3
- data/zettacode.files/hello_world.text/openlisp.txt +7 -7
- data/zettacode.files/hello_world.text/openscad.txt +3 -3
- data/zettacode.files/hello_world.text/oxygene.txt +16 -16
- data/zettacode.files/hello_world.text/oz.txt +1 -1
- data/zettacode.files/hello_world.text/pari-gp.txt +1 -1
- data/zettacode.files/hello_world.text/pascal.txt +5 -5
- data/zettacode.files/hello_world.text/pasm.txt +2 -2
- data/zettacode.files/hello_world.text/pdp-11_assembly.txt +12 -12
- data/zettacode.files/hello_world.text/pdp-1_assembly.txt +20 -20
- data/zettacode.files/hello_world.text/pepsiscript.txt +10 -10
- data/zettacode.files/hello_world.text/perl.txt +9 -9
- data/zettacode.files/hello_world.text/peylang.txt +1 -1
- data/zettacode.files/hello_world.text/pharo.txt +3 -3
- data/zettacode.files/hello_world.text/phix.txt +4 -4
- data/zettacode.files/hello_world.text/phl.txt +5 -5
- data/zettacode.files/hello_world.text/php.txt +5 -5
- data/zettacode.files/hello_world.text/picat.txt +1 -1
- data/zettacode.files/hello_world.text/picolisp.txt +1 -1
- data/zettacode.files/hello_world.text/pict.txt +6 -6
- data/zettacode.files/hello_world.text/pikachu.txt +23 -23
- data/zettacode.files/hello_world.text/pike.txt +2 -2
- data/zettacode.files/hello_world.text/pilot.txt +1 -1
- data/zettacode.files/hello_world.text/pir.txt +3 -3
- data/zettacode.files/hello_world.text/pixilang.txt +1 -1
- data/zettacode.files/hello_world.text/pl-i.txt +3 -3
- data/zettacode.files/hello_world.text/pl-m.txt +8 -8
- data/zettacode.files/hello_world.text/pl-sql.txt +13 -13
- data/zettacode.files/hello_world.text/plain_english.txt +7 -7
- data/zettacode.files/hello_world.text/plan.txt +2 -2
- data/zettacode.files/hello_world.text/pony.txt +3 -3
- data/zettacode.files/hello_world.text/pop11.txt +1 -1
- data/zettacode.files/hello_world.text/portugol.txt +7 -7
- data/zettacode.files/hello_world.text/postscript.txt +19 -19
- data/zettacode.files/hello_world.text/potion.txt +1 -1
- data/zettacode.files/hello_world.text/powerbasic.txt +1 -1
- data/zettacode.files/hello_world.text/powershell.txt +3 -3
- data/zettacode.files/hello_world.text/processing.txt +1 -1
- data/zettacode.files/hello_world.text/prodos.txt +1 -1
- data/zettacode.files/hello_world.text/programming_language.txt +4 -4
- data/zettacode.files/hello_world.text/prolog.txt +1 -1
- data/zettacode.files/hello_world.text/promal.txt +5 -5
- data/zettacode.files/hello_world.text/psql.txt +2 -2
- data/zettacode.files/hello_world.text/pure.txt +2 -2
- data/zettacode.files/hello_world.text/purebasic.txt +5 -5
- data/zettacode.files/hello_world.text/python.txt +13 -13
- data/zettacode.files/hello_world.text/qb64.txt +1 -1
- data/zettacode.files/hello_world.text/quackery.txt +1 -1
- data/zettacode.files/hello_world.text/quill.txt +1 -1
- data/zettacode.files/hello_world.text/quite_basic.txt +1 -1
- data/zettacode.files/hello_world.text/r.txt +5 -5
- data/zettacode.files/hello_world.text/ra.txt +4 -4
- data/zettacode.files/hello_world.text/racket.txt +1 -1
- data/zettacode.files/hello_world.text/raku.txt +4 -4
- data/zettacode.files/hello_world.text/rasel.txt +1 -1
- data/zettacode.files/hello_world.text/ratfor.txt +4 -4
- data/zettacode.files/hello_world.text/raven.txt +1 -1
- data/zettacode.files/hello_world.text/realbasic.txt +6 -6
- data/zettacode.files/hello_world.text/rebol.txt +1 -1
- data/zettacode.files/hello_world.text/red.txt +1 -1
- data/zettacode.files/hello_world.text/relation.txt +1 -1
- data/zettacode.files/hello_world.text/rescript.txt +1 -1
- data/zettacode.files/hello_world.text/retro.txt +1 -1
- data/zettacode.files/hello_world.text/rexx.txt +10 -10
- data/zettacode.files/hello_world.text/ring.txt +1 -1
- data/zettacode.files/hello_world.text/risc-v.txt +10 -10
- data/zettacode.files/hello_world.text/rockstar.txt +1 -1
- data/zettacode.files/hello_world.text/rtl-2.txt +7 -7
- data/zettacode.files/hello_world.text/ruby.txt +9 -9
- data/zettacode.files/hello_world.text/run_basic.txt +1 -1
- data/zettacode.files/hello_world.text/rust.txt +5 -5
- data/zettacode.files/hello_world.text/salmon.txt +5 -5
- data/zettacode.files/hello_world.text/sas.txt +4 -4
- data/zettacode.files/hello_world.text/sasl.txt +2 -2
- data/zettacode.files/hello_world.text/sather.txt +5 -5
- data/zettacode.files/hello_world.text/scala.txt +17 -17
- data/zettacode.files/hello_world.text/scheme.txt +14 -14
- data/zettacode.files/hello_world.text/scilab.txt +1 -1
- data/zettacode.files/hello_world.text/scratchscript.txt +4 -4
- data/zettacode.files/hello_world.text/sed.txt +2 -2
- data/zettacode.files/hello_world.text/seed7.txt +5 -5
- data/zettacode.files/hello_world.text/self.txt +1 -1
- data/zettacode.files/hello_world.text/sensetalk.txt +1 -1
- data/zettacode.files/hello_world.text/set_lang.txt +12 -12
- data/zettacode.files/hello_world.text/setl.txt +1 -1
- data/zettacode.files/hello_world.text/setl4.txt +1 -1
- data/zettacode.files/hello_world.text/shen.txt +1 -1
- data/zettacode.files/hello_world.text/shiny.txt +1 -1
- data/zettacode.files/hello_world.text/sidef.txt +1 -1
- data/zettacode.files/hello_world.text/simplecode.txt +3 -3
- data/zettacode.files/hello_world.text/simpol.txt +2 -2
- data/zettacode.files/hello_world.text/simula.txt +2 -2
- data/zettacode.files/hello_world.text/sing.txt +4 -4
- data/zettacode.files/hello_world.text/sisal.txt +7 -7
- data/zettacode.files/hello_world.text/skookumscript.txt +3 -3
- data/zettacode.files/hello_world.text/slate.txt +1 -1
- data/zettacode.files/hello_world.text/slope.txt +1 -1
- data/zettacode.files/hello_world.text/smalltalk.txt +3 -3
- data/zettacode.files/hello_world.text/smart_basic.txt +1 -1
- data/zettacode.files/hello_world.text/smilebasic.txt +1 -1
- data/zettacode.files/hello_world.text/snobol4.txt +2 -2
- data/zettacode.files/hello_world.text/snusp.txt +9 -9
- data/zettacode.files/hello_world.text/soneking_assembly.txt +7 -7
- data/zettacode.files/hello_world.text/sparc_assembly.txt +14 -14
- data/zettacode.files/hello_world.text/sparkling.txt +1 -1
- data/zettacode.files/hello_world.text/spl.txt +1 -1
- data/zettacode.files/hello_world.text/sql.txt +5 -5
- data/zettacode.files/hello_world.text/sql_pl.txt +21 -21
- data/zettacode.files/hello_world.text/standard_ml.txt +1 -1
- data/zettacode.files/hello_world.text/stata.txt +1 -1
- data/zettacode.files/hello_world.text/suneido.txt +1 -1
- data/zettacode.files/hello_world.text/swahili.txt +1 -1
- data/zettacode.files/hello_world.text/swift.txt +4 -4
- data/zettacode.files/hello_world.text/symsyn.txt +1 -1
- data/zettacode.files/hello_world.text/tailspin.txt +1 -1
- data/zettacode.files/hello_world.text/tcl.txt +4 -4
- data/zettacode.files/hello_world.text/teco.txt +2 -2
- data/zettacode.files/hello_world.text/tern.txt +1 -1
- data/zettacode.files/hello_world.text/terra.txt +5 -5
- data/zettacode.files/hello_world.text/terraform.txt +2 -2
- data/zettacode.files/hello_world.text/testml.txt +2 -2
- data/zettacode.files/hello_world.text/ti-83_basic.txt +2 -2
- data/zettacode.files/hello_world.text/ti-89_basic.txt +1 -1
- data/zettacode.files/hello_world.text/tiny_basic.txt +2 -2
- data/zettacode.files/hello_world.text/tmg.txt +2 -2
- data/zettacode.files/hello_world.text/torquescript.txt +1 -1
- data/zettacode.files/hello_world.text/tpp.txt +1 -1
- data/zettacode.files/hello_world.text/transact-sql.txt +1 -1
- data/zettacode.files/hello_world.text/transd.txt +1 -1
- data/zettacode.files/hello_world.text/transforth.txt +1 -1
- data/zettacode.files/hello_world.text/trith.txt +1 -1
- data/zettacode.files/hello_world.text/true_basic.txt +2 -2
- data/zettacode.files/hello_world.text/tuscript.txt +3 -3
- data/zettacode.files/hello_world.text/ubasic-4th.txt +1 -1
- data/zettacode.files/hello_world.text/uniface.txt +1 -1
- data/zettacode.files/hello_world.text/unison.txt +1 -1
- data/zettacode.files/hello_world.text/unix_shell.txt +7 -7
- data/zettacode.files/hello_world.text/unlambda.txt +1 -1
- data/zettacode.files/hello_world.text/ursa.txt +1 -1
- data/zettacode.files/hello_world.text/ursala.txt +7 -7
- data/zettacode.files/hello_world.text/v.txt +1 -1
- data/zettacode.files/hello_world.text/v_(vlang).txt +2 -2
- data/zettacode.files/hello_world.text/vala.txt +2 -2
- data/zettacode.files/hello_world.text/vax_assembly.txt +7 -7
- data/zettacode.files/hello_world.text/vba.txt +3 -3
- data/zettacode.files/hello_world.text/vbscript.txt +2 -2
- data/zettacode.files/hello_world.text/vedit_macro_language.txt +1 -1
- data/zettacode.files/hello_world.text/verbexx.txt +1 -1
- data/zettacode.files/hello_world.text/verilog.txt +6 -6
- data/zettacode.files/hello_world.text/vhdl.txt +14 -14
- data/zettacode.files/hello_world.text/vim_script.txt +1 -1
- data/zettacode.files/hello_world.text/visual_basic.txt +20 -20
- data/zettacode.files/hello_world.text/visual_basic_.net.txt +6 -6
- data/zettacode.files/hello_world.text/viua_vm_assembly.txt +6 -6
- data/zettacode.files/hello_world.text/vtl-2.txt +1 -1
- data/zettacode.files/hello_world.text/wart.txt +1 -1
- data/zettacode.files/hello_world.text/wdte.txt +1 -1
- data/zettacode.files/hello_world.text/webassembly.txt +24 -24
- data/zettacode.files/hello_world.text/wee_basic.txt +2 -2
- data/zettacode.files/hello_world.text/whenever.txt +1 -1
- data/zettacode.files/hello_world.text/whiley.txt +3 -3
- data/zettacode.files/hello_world.text/whitespace.txt +1 -1
- data/zettacode.files/hello_world.text/wisp.txt +6 -6
- data/zettacode.files/hello_world.text/wolfram_language.txt +1 -1
- data/zettacode.files/hello_world.text/wren.txt +1 -1
- data/zettacode.files/hello_world.text/x10.txt +5 -5
- data/zettacode.files/hello_world.text/x86-64_assembly.txt +36 -36
- data/zettacode.files/hello_world.text/x86_assembly.txt +28 -28
- data/zettacode.files/hello_world.text/xbasic.txt +5 -5
- data/zettacode.files/hello_world.text/xeec.txt +2 -2
- data/zettacode.files/hello_world.text/xl.txt +2 -2
- data/zettacode.files/hello_world.text/xlisp.txt +1 -1
- data/zettacode.files/hello_world.text/xpath.txt +1 -1
- data/zettacode.files/hello_world.text/xpl0.txt +2 -2
- data/zettacode.files/hello_world.text/xslt.txt +5 -5
- data/zettacode.files/hello_world.text/yabasic.txt +1 -1
- data/zettacode.files/hello_world.text/yorick.txt +1 -1
- data/zettacode.files/hello_world.text/z80_assembly.txt +14 -14
- data/zettacode.files/hello_world.text/zig.txt +3 -3
- data/zettacode.files/hello_world.text/zkl.txt +2 -2
- data/zettacode.files/hello_world.text/zoea.txt +2 -2
- data/zettacode.files/hello_world.text/zoea_visual.txt +1 -1
- data/zettacode.files/hello_world.text/zoomscript.txt +4 -4
- data/zettacode.files/hello_world.text/zx_spectrum_basic.txt +2 -2
- 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
- metadata +1 -1
@@ -1,20 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
The quotient rounds towards 0 if both inputs are integers or towards negative infinity if either input is floating point. The sign of the remainder is always the same as the sign of the first parameter (dividend).
|
2
|
+
Gui, Add, Edit, va, 5
|
3
|
+
Gui, Add, Edit, vb, -3
|
4
|
+
Gui, Add, Button, Default, Compute
|
5
|
+
Gui, Show
|
6
|
+
Return
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
(
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
8
|
+
ButtonCompute:
|
9
|
+
Gui, Submit
|
10
|
+
MsgBox,%
|
11
|
+
(Join`s"`n"
|
12
|
+
a "+" b " = " a+b
|
13
|
+
a "-" b " = " a-b
|
14
|
+
a "*" b " = " a*b
|
15
|
+
a "//" b " = " a//b " remainder " Mod(a,b)
|
16
|
+
a "**" b " = " a**b
|
17
17
|
)
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
; fallthrough
|
19
|
+
GuiClose:
|
20
|
+
ExitApp
|
@@ -1,13 +1,13 @@
|
|
1
|
-
|
1
|
+
Method "arithmetic demo_,_" is
|
2
2
|
[
|
3
|
-
|
4
|
-
b :
|
3
|
+
a : integer,
|
4
|
+
b : integer
|
5
5
|
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
]
|
6
|
+
Print: “a + b”;
|
7
|
+
Print: “a - b”;
|
8
|
+
Print: “a × b”; // or a * b
|
9
|
+
Print: “a ÷ b”; // or a / b, rounds toward negative infinity
|
10
|
+
Print: “a mod b”; // sign matches second argument
|
11
|
+
Print: “a ^ b”;
|
12
|
+
];
|
13
13
|
|
@@ -1,12 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
/^[ \t]*-?[0-9]+[ \t]+-?[0-9]+[ \t]*$/ {
|
2
|
+
print "add:", $1 + $2
|
3
|
+
print "sub:", $1 - $2
|
4
|
+
print "mul:", $1 * $2
|
5
|
+
print "div:", int($1 / $2) # truncates toward zero
|
6
|
+
print "mod:", $1 % $2 # same sign as first operand
|
7
|
+
print "exp:", $1 ^ $2
|
8
|
+
exit }
|
9
9
|
|
10
|
-
|
10
|
+
For division and modulus, Awk should act like C.
|
11
11
|
|
12
|
-
'''
|
12
|
+
'''Exponentiation's note:''' With [[nawk]] or [[gawk]], <code>$1 ** $2</code> acts like <code>$1 ^ $2</code>. With [[mawk]], <code>$1 ** $2</code> is a syntax error. Nawk allows <code>**</code>, but its manual page only has <code>^</code>. Gawk's manual warns, ''"The POSIX standard only specifies the use of `^' for exponentiation. For maximum portability, do not use the `**' operator."''
|
@@ -1,56 +1,56 @@
|
|
1
|
-
==={{|
|
2
|
-
|
3
|
-
==={{|
|
4
|
-
'
|
5
|
-
DECLARE %, b%
|
6
|
-
INPUT "
|
7
|
-
INPUT "
|
1
|
+
==={{header|Applesoft BASIC}}===
|
2
|
+
Same code as [[#Commodore_BASIC|Commodore BASIC]]
|
3
|
+
==={{header|BaCon}}===
|
4
|
+
' Arthimetic/Integer
|
5
|
+
DECLARE a%, b%
|
6
|
+
INPUT "Enter integer A: ", a%
|
7
|
+
INPUT "Enter integer B: ", b%
|
8
8
|
PRINT
|
9
9
|
|
10
|
-
PRINT %, " + ", b%, "
|
11
|
-
PRINT %, " - ", b%, "
|
12
|
-
PRINT %, " * ", b%, "
|
13
|
-
PRINT %, "
|
14
|
-
PRINT "MOD(", %, ", ", b%, ")
|
15
|
-
PRINT "POW(", %, ", ", b%, ")
|
10
|
+
PRINT a%, " + ", b%, " is ", a% + b%
|
11
|
+
PRINT a%, " - ", b%, " is ", a% - b%
|
12
|
+
PRINT a%, " * ", b%, " is ", a% * b%
|
13
|
+
PRINT a%, " / ", b%, " is ", a% / b%, ", trucation toward zero"
|
14
|
+
PRINT "MOD(", a%, ", ", b%, ") is ", MOD(a%, b%), ", same sign as first operand"
|
15
|
+
PRINT "POW(", a%, ", ", b%, ") is ", INT(POW(a%, b%))
|
16
16
|
|
17
|
-
==={{|
|
18
|
-
10 INPUT "ENTER A NUMBER" A%
|
19
|
-
20 INPUT "ENTER ANOTHER NUMBER" B%
|
20
|
-
30 PRINT "ADDITION:"A
|
21
|
-
40 PRINT "SUBTRACTION:"A
|
22
|
-
50 PRINT "MULTIPLICATION:"A
|
23
|
-
60 PRINT "INTEGER DIVISION:"A
|
24
|
-
70 PRINT "REMAINDER OR MODULO:"A
|
25
|
-
80 PRINT "POWER:"A
|
17
|
+
==={{header|Commodore BASIC}}===
|
18
|
+
10 INPUT "ENTER A NUMBER"; A%
|
19
|
+
20 INPUT "ENTER ANOTHER NUMBER"; B%
|
20
|
+
30 PRINT "ADDITION:";A%;"+";B%;"=";A%+B%
|
21
|
+
40 PRINT "SUBTRACTION:";A%;"-";B%;"=";A%-B%
|
22
|
+
50 PRINT "MULTIPLICATION:";A%;"*";B%;"=";A%*B%
|
23
|
+
60 PRINT "INTEGER DIVISION:";A%;"/";B%;"=";INT(A%/B%)
|
24
|
+
70 PRINT "REMAINDER OR MODULO:";A%;"%";B%;"=";A%-INT(A%/B%)*B%
|
25
|
+
80 PRINT "POWER:";A%;"^";B%;"=";A%^B%
|
26
26
|
|
27
|
-
==={{|
|
27
|
+
==={{header|True BASIC}}===
|
28
28
|
|
29
|
-
!
|
30
|
-
!
|
31
|
-
!
|
32
|
-
PROGRAM
|
33
|
-
INPUT PROMPT "
|
34
|
-
INPUT PROMPT "
|
29
|
+
! RosettaCode: Integer Arithmetic
|
30
|
+
! True BASIC v6.007
|
31
|
+
! Translated from BaCon example.
|
32
|
+
PROGRAM Integer_Arithmetic
|
33
|
+
INPUT PROMPT "Enter integer A: ": a
|
34
|
+
INPUT PROMPT "Enter integer B: ": b
|
35
35
|
PRINT
|
36
|
-
PRINT " + "b"
|
37
|
-
PRINT " - "b"
|
38
|
-
PRINT " * "b"
|
39
|
-
PRINT "
|
40
|
-
PRINT "MOD("", "b")
|
41
|
-
PRINT "POW("", "b")
|
42
|
-
GET KEY
|
36
|
+
PRINT a;" + ";b;" is ";a+b
|
37
|
+
PRINT a;" - ";b;" is ";a-b
|
38
|
+
PRINT a;" * ";b;" is ";a*b
|
39
|
+
PRINT a;" / ";b;" is ";INT(a/b);
|
40
|
+
PRINT "MOD(";a;", ";b;") is "; MOD(a,b)
|
41
|
+
PRINT "POW(";a;", ";b;") is ";INT(a^b)
|
42
|
+
GET KEY done
|
43
43
|
END
|
44
44
|
|
45
|
-
==={{|
|
46
|
-
{{ |
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
45
|
+
==={{header|QBasic}}===
|
46
|
+
{{works with|QuickBasic|4.5}}
|
47
|
+
function math(a!, b!)
|
48
|
+
print a + b
|
49
|
+
print a - b
|
50
|
+
print a * b
|
51
|
+
print a / b
|
52
|
+
print a mod b
|
53
|
+
end function
|
54
|
+
Truncate towards: 0
|
55
55
|
|
56
|
-
|
56
|
+
Remainder sign matches: first operand
|
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
2
|
+
input "enter a number ?", a
|
3
|
+
input "enter another number ?", b
|
4
4
|
|
5
|
-
" " +
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
9
|
-
"
|
10
|
-
" " +
|
5
|
+
print "addition " + a + " + " + b + " = " + (a + b)
|
6
|
+
print "subtraction " + a + " - " + b + " = " + (a - b)
|
7
|
+
print "multiplication " + a + " * " + b + " = " + (a * b)
|
8
|
+
print "integer division " + a + " \ " + b + " = " + (a \ b)
|
9
|
+
print "remainder or modulo " + a + " % " + b + " = " + (a % b)
|
10
|
+
print "power " + a + " ^ " + b + " = " + (a ^ b)
|
11
11
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
INPUT "
|
2
|
-
INPUT "
|
1
|
+
INPUT "Enter the first integer: " first%
|
2
|
+
INPUT "Enter the second integer: " second%
|
3
3
|
|
4
|
-
PRINT "
|
5
|
-
PRINT "
|
6
|
-
PRINT "
|
7
|
-
PRINT "
|
8
|
-
PRINT "
|
9
|
-
PRINT "
|
4
|
+
PRINT "The sum is " ; first% + second%
|
5
|
+
PRINT "The difference is " ; first% - second%
|
6
|
+
PRINT "The product is " ; first% * second%
|
7
|
+
PRINT "The integer quotient is " ; first% DIV second% " (rounds towards 0)"
|
8
|
+
PRINT "The remainder is " ; first% MOD second% " (sign matches first operand)"
|
9
|
+
PRINT "The first raised to the power of the second is " ; first% ^ second%
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
": "
|
3
|
-
"
|
4
|
-
"
|
5
|
-
": "
|
6
|
-
": "
|
7
|
-
": "
|
1
|
+
define f(a, b) {
|
2
|
+
"add: "; a + b
|
3
|
+
"sub: "; a - b
|
4
|
+
"mul: "; a * b
|
5
|
+
"div: "; a / b /* truncates toward zero */
|
6
|
+
"mod: "; a % b /* same sign as first operand */
|
7
|
+
"pow: "; a ^ b
|
8
8
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
,+55.+
|
3
|
-
"=B-A",,,,:
|
4
|
-
,+55.*
|
5
|
-
"=
|
6
|
-
@,+55.%
|
1
|
+
&&00p"=A",,:."=B ",,,00g.55+,v
|
2
|
+
v,+55.+g00:,,,,"A+B="<
|
3
|
+
>"=B-A",,,,:00g-.55+,v
|
4
|
+
v,+55.*g00:,,,,"A*B="<
|
5
|
+
>"=B/A",,,,:00g/.55+,v
|
6
|
+
@,+55.%g00,,,,"A%B="<
|
@@ -1,17 +1,17 @@
|
|
1
|
-
•
|
2
|
-
← •BQN •
|
3
|
-
•
|
4
|
-
b ← •BQN •
|
1
|
+
•Out "Enter number 1: "
|
2
|
+
a ← •BQN •GetLine @
|
3
|
+
•Out "Enter number 2: "
|
4
|
+
b ← •BQN •GetLine @
|
5
5
|
|
6
|
-
•
|
7
|
-
•
|
8
|
-
•
|
9
|
-
•
|
10
|
-
•
|
11
|
-
•
|
12
|
-
|
6
|
+
•Show a + b
|
7
|
+
•Show a - b
|
8
|
+
•Show a × b
|
9
|
+
•Show a ÷ b
|
10
|
+
•Show b | a
|
11
|
+
•Show a ⋆ b
|
12
|
+
Enter number 1:
|
13
13
|
12
|
14
|
-
|
14
|
+
Enter number 2:
|
15
15
|
2
|
16
16
|
14
|
17
17
|
10
|
@@ -1,19 +1,19 @@
|
|
1
|
-
|
2
|
-
(
|
3
|
-
=
|
4
|
-
|
5
|
-
|
|
6
|
-
$ "
|
7
|
-
|
1
|
+
The remainder returned by mod is non-negative. Furthermore, <code>div$(!a.!d)*!d+mod$(!a.!d):!a</code> for all integer <code>!a</code> and <code>!d</code>, <code>!d:~0</code>.
|
2
|
+
( enter
|
3
|
+
= put$"Enter two integer numbers, separated by space:"
|
4
|
+
& get':(~/#?k_~/#?m|quit:?k)
|
5
|
+
| out
|
6
|
+
$ "You must enter two integer numbers! Enter \"quit\" if you don't know how to do that."
|
7
|
+
& !enter
|
8
8
|
)
|
9
|
-
!
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
9
|
+
& !enter
|
10
|
+
& !k:~quit
|
11
|
+
& out$("You entered" !k and !m ". Now look:")
|
12
|
+
& out$("Sum:" !k+!m)
|
13
|
+
& out$("Difference:" !k+-1*!m)
|
14
|
+
& out$("Product:" !k*!m)
|
15
|
+
& out$("Integer division:" div$(!k.!m))
|
16
|
+
& out$("Remainder:" mod$(!k.!m))
|
17
|
+
& out$("Exponentiation:" !k^!m)
|
18
|
+
& done;
|
19
19
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
=
|
3
|
-
= ("
|
1
|
+
Inspired by the second VBScript version.
|
2
|
+
x = ask("First number: ").to_i
|
3
|
+
y = ask("Second number: ").to_i
|
4
4
|
|
5
|
-
#
|
6
|
-
#
|
7
|
-
[:+ :- :*
|
8
|
-
|
5
|
+
#Division uses floating point
|
6
|
+
#Remainder uses sign of right hand side
|
7
|
+
[:+ :- :* :/ :% :^].each { op |
|
8
|
+
p "#{x} #{op} #{y} = #{x.call_method op, y}"
|
@@ -1,12 +1,12 @@
|
|
1
|
-
#
|
1
|
+
#include <iostream>
|
2
2
|
|
3
|
-
()
|
3
|
+
int main()
|
4
4
|
{
|
5
|
-
|
6
|
-
::
|
7
|
-
::
|
8
|
-
::
|
9
|
-
::
|
10
|
-
::
|
11
|
-
|
5
|
+
int a, b;
|
6
|
+
std::cin >> a >> b;
|
7
|
+
std::cout << "a+b = " << a+b << "\n";
|
8
|
+
std::cout << "a-b = " << a-b << "\n";
|
9
|
+
std::cout << "a*b = " << a*b << "\n";
|
10
|
+
std::cout << "a/b = " << a/b << ", remainder " << a%b << "\n";
|
11
|
+
return 0;
|
12
12
|
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
#
|
2
|
-
#
|
1
|
+
#include <stdio.h>
|
2
|
+
#include <stdlib.h>
|
3
3
|
|
4
|
-
(
|
4
|
+
int main(int argc, char *argv[])
|
5
5
|
{
|
6
|
-
|
7
|
-
|
8
|
-
b = ([--
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
6
|
+
int a, b;
|
7
|
+
if (argc < 3) exit(1);
|
8
|
+
b = atoi(argv[--argc]);
|
9
|
+
if (b == 0) exit(2);
|
10
|
+
a = atoi(argv[--argc]);
|
11
|
+
printf("a+b = %d\n", a+b);
|
12
|
+
printf("a-b = %d\n", a-b);
|
13
|
+
printf("a*b = %d\n", a*b);
|
14
|
+
printf("a/b = %d\n", a/b); /* truncates towards 0 (in C99) */
|
15
|
+
printf("a%%b = %d\n", a%b); /* same sign as first operand (in C99) */
|
16
|
+
return 0;
|
17
17
|
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
|
1
|
+
using System;
|
2
2
|
|
3
|
-
|
3
|
+
class Program
|
4
4
|
{
|
5
|
-
|
5
|
+
static void Main(string[] args)
|
6
6
|
{
|
7
|
-
|
8
|
-
|
7
|
+
int a = Convert.ToInt32(args[0]);
|
8
|
+
int b = Convert.ToInt32(args[1]);
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
Console.WriteLine("{0} + {1} = {2}", a, b, a + b);
|
11
|
+
Console.WriteLine("{0} - {1} = {2}", a, b, a - b);
|
12
|
+
Console.WriteLine("{0} * {1} = {2}", a, b, a * b);
|
13
|
+
Console.WriteLine("{0} / {1} = {2}", a, b, a / b); // truncates towards 0
|
14
|
+
Console.WriteLine("{0} % {1} = {2}", a, b, a % b); // matches sign of first operand
|
15
|
+
Console.WriteLine("{0} to the power of {1} = {2}", a, b, Math.Pow(a, b));
|
16
16
|
}
|
17
17
|
}
|
@@ -1,37 +1,37 @@
|
|
1
1
|
|
2
|
-
|
2
|
+
Number Soup.
|
3
3
|
|
4
|
-
|
4
|
+
Only reads single values.
|
5
5
|
|
6
|
-
|
7
|
-
1
|
8
|
-
3
|
9
|
-
5
|
6
|
+
Ingredients.
|
7
|
+
1 g Numbers
|
8
|
+
3 g Water
|
9
|
+
5 g Soup
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
11
|
+
Method.
|
12
|
+
Take Numbers from refrigerator.
|
13
|
+
Take Soup from refrigerator.
|
14
|
+
Put Numbers into 1st mixing bowl.
|
15
|
+
Add Soup into the 1st mixing bowl.
|
16
|
+
Pour contents of the 1st mixing bowl into 1st baking dish.
|
17
|
+
Clean 1st mixing bowl.
|
18
|
+
Put Numbers into 1st mixing bowl.
|
19
|
+
Remove Soup from 1st mixing bowl.
|
20
|
+
Pour contents of the 1st mixing bowl into 2nd baking dish.
|
21
|
+
Clean 1st mixing bowl.
|
22
|
+
Put Numbers into 1st mixing bowl.
|
23
|
+
Combine Soup into 1st mixing bowl.
|
24
|
+
Pour contents of the 1st mixing bowl into 3rd baking dish.
|
25
|
+
Clean 1st mixing bowl.
|
26
|
+
Put Numbers into 1st mixing bowl.
|
27
|
+
Divide Soup into 1st mixing bowl.
|
28
|
+
Pour contents of the 1st mixing bowl into 4th baking dish.
|
29
|
+
Clean 1st mixing bowl.
|
30
|
+
Put Water into 1st mixing bowl.
|
31
|
+
Verb the Soup.
|
32
|
+
Combine Numbers into 1st mixing bowl.
|
33
|
+
Verb the Soup until verbed.
|
34
|
+
Pour contents of the 1st mixing bowl into 5th baking dish.
|
35
|
+
Clean 1st mixing bowl.
|
36
36
|
|
37
|
-
|
37
|
+
Serves 5.
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
? "+b",
|
3
|
-
? "-b",
|
4
|
-
? "*b",
|
5
|
-
|
6
|
-
? "b",
|
7
|
-
|
8
|
-
? "%b",
|
9
|
-
|
10
|
-
? "**b",
|
11
|
-
|
1
|
+
procedure Test( a, b )
|
2
|
+
? "a+b", a + b
|
3
|
+
? "a-b", a - b
|
4
|
+
? "a*b", a * b
|
5
|
+
// The quotient isn't integer, so we use the Int() function, which truncates it downward.
|
6
|
+
? "a/b", Int( a / b )
|
7
|
+
// Remainder:
|
8
|
+
? "a%b", a % b
|
9
|
+
// Exponentiation is also a base arithmetic operation
|
10
|
+
? "a**b", a ** b
|
11
|
+
return
|
@@ -1,18 +1,18 @@
|
|
1
|
-
(
|
2
|
-
( "
|
3
|
-
( [ (),
|
4
|
-
(
|
5
|
-
( [ (
|
6
|
-
(
|
1
|
+
(defn myfunc []
|
2
|
+
(println "Enter x and y")
|
3
|
+
(let [x (read), y (read)]
|
4
|
+
(doseq [op '(+ - * / Math/pow rem)]
|
5
|
+
(let [exp (list op x y)]
|
6
|
+
(printf "%s=%s\n" exp (eval exp))))))
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
user=> (myfunc)
|
9
|
+
Enter x and y
|
10
10
|
3
|
11
11
|
6
|
12
12
|
(+ 3 6)=9
|
13
13
|
(- 3 6)=-3
|
14
14
|
(* 3 6)=18
|
15
|
-
( 3 6)=
|
16
|
-
(
|
17
|
-
( 3 6)=3
|
18
|
-
|
15
|
+
(/ 3 6)=1/2
|
16
|
+
(Math/pow 3 6)=729.0
|
17
|
+
(rem 3 6)=3
|
18
|
+
nil
|