zettacode 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/install/docker/.gitignore +1 -0
- data/install/docker/run +2 -1
- data/lib/zettacode/parse/parse.rb +0 -1
- data/lib/zettacode/scrap/scrap.rb +0 -1
- data/lib/zettacode/version.rb +1 -1
- data/zettacode.gemspec +1 -3
- metadata +2 -753
- data/files.zettacode2/arithmetic.integer/0815}.txt +0 -14
- data/files.zettacode2/arithmetic.integer/11l}.txt +0 -9
- data/files.zettacode2/arithmetic.integer/360_assembly.txt +0 -55
- data/files.zettacode2/arithmetic.integer/6502_assembly}.txt +0 -50
- data/files.zettacode2/arithmetic.integer/68000_assembly.txt +0 -24
- data/files.zettacode2/arithmetic.integer/aarch64_assembly.txt +0 -137
- data/files.zettacode2/arithmetic.integer/abap.txt +0 -25
- data/files.zettacode2/arithmetic.integer/acl2.txt +0 -21
- data/files.zettacode2/arithmetic.integer/action!.txt +0 -36
- data/files.zettacode2/arithmetic.integer/ada.txt +0 -20
- data/files.zettacode2/arithmetic.integer/aikido.txt +0 -10
- data/files.zettacode2/arithmetic.integer/algol_68.txt +0 -14
- data/files.zettacode2/arithmetic.integer/algol_w.txt +0 -16
- data/files.zettacode2/arithmetic.integer/amigae.txt +0 -14
- data/files.zettacode2/arithmetic.integer/apl.txt +0 -7
- data/files.zettacode2/arithmetic.integer/applescript.txt +0 -16
- data/files.zettacode2/arithmetic.integer/arm_assembly.txt +0 -293
- data/files.zettacode2/arithmetic.integer/arturo.txt +0 -10
- data/files.zettacode2/arithmetic.integer/asymptote.txt +0 -17
- data/files.zettacode2/arithmetic.integer/autohotkey.txt +0 -20
- data/files.zettacode2/arithmetic.integer/avail.txt +0 -13
- data/files.zettacode2/arithmetic.integer/awk.txt +0 -12
- data/files.zettacode2/arithmetic.integer/basic.txt +0 -56
- data/files.zettacode2/arithmetic.integer/basic256.txt +0 -11
- data/files.zettacode2/arithmetic.integer/batch_file.txt +0 -7
- data/files.zettacode2/arithmetic.integer/bbc_basic.txt +0 -9
- data/files.zettacode2/arithmetic.integer/bc.txt +0 -8
- data/files.zettacode2/arithmetic.integer/befunge.txt +0 -6
- data/files.zettacode2/arithmetic.integer/bqn.txt +0 -22
- data/files.zettacode2/arithmetic.integer/bracmat.txt +0 -19
- data/files.zettacode2/arithmetic.integer/brat.txt +0 -8
- data/files.zettacode2/arithmetic.integer/c++.txt +0 -12
- data/files.zettacode2/arithmetic.integer/c.txt +0 -17
- data/files.zettacode2/arithmetic.integer/c_sharp|c#.txt +0 -17
- data/files.zettacode2/arithmetic.integer/chef.txt +0 -37
- data/files.zettacode2/arithmetic.integer/clipper.txt +0 -11
- data/files.zettacode2/arithmetic.integer/clojure.txt +0 -18
- data/files.zettacode2/arithmetic.integer/cobol.txt +0 -44
- data/files.zettacode2/arithmetic.integer/common_lisp.txt +0 -29
- data/files.zettacode2/arithmetic.integer/component_pascal.txt +0 -32
- data/files.zettacode2/arithmetic.integer/crystal.txt +0 -11
- data/files.zettacode2/arithmetic.integer/d.txt +0 -17
- data/files.zettacode2/arithmetic.integer/dc.txt +0 -10
- data/files.zettacode2/arithmetic.integer/dcl.txt +0 -8
- data/files.zettacode2/arithmetic.integer/delphi.txt +0 -19
- data/files.zettacode2/arithmetic.integer/dwscript.txt +0 -9
- data/files.zettacode2/arithmetic.integer/dyalect.txt +0 -13
- data/files.zettacode2/arithmetic.integer/e.txt +0 -9
- data/files.zettacode2/arithmetic.integer/easylang.txt +0 -9
- data/files.zettacode2/arithmetic.integer/ecl.txt +0 -33
- data/files.zettacode2/arithmetic.integer/efene.txt +0 -16
- data/files.zettacode2/arithmetic.integer/eiffel.txt +0 -32
- data/files.zettacode2/arithmetic.integer/elena.txt +0 -16
- data/files.zettacode2/arithmetic.integer/elixir.txt +0 -26
- data/files.zettacode2/arithmetic.integer/emojicode.txt +0 -9
- data/files.zettacode2/arithmetic.integer/erlang.txt +0 -15
- data/files.zettacode2/arithmetic.integer/erre.txt +0 -20
- data/files.zettacode2/arithmetic.integer/euphoria.txt +0 -13
- data/files.zettacode2/arithmetic.integer/excel.txt +0 -32
- data/files.zettacode2/arithmetic.integer/f_sharp|f#.txt +0 -15
- data/files.zettacode2/arithmetic.integer/factor.txt +0 -17
- data/files.zettacode2/arithmetic.integer/false.txt +0 -8
- data/files.zettacode2/arithmetic.integer/fermat.txt +0 -10
- data/files.zettacode2/arithmetic.integer/forth.txt +0 -19
- data/files.zettacode2/arithmetic.integer/fortran.txt +0 -15
- data/files.zettacode2/arithmetic.integer/freebasic.txt +0 -18
- data/files.zettacode2/arithmetic.integer/friendly_interactive_shell.txt +0 -10
- data/files.zettacode2/arithmetic.integer/frink.txt +0 -10
- data/files.zettacode2/arithmetic.integer/futurebasic.txt +0 -158
- data/files.zettacode2/arithmetic.integer/gambas.txt +0 -30
- data/files.zettacode2/arithmetic.integer/gap.txt +0 -15
- data/files.zettacode2/arithmetic.integer/genie.txt +0 -23
- data/files.zettacode2/arithmetic.integer/george.txt +0 -7
- data/files.zettacode2/arithmetic.integer/go.txt +0 -66
- data/files.zettacode2/arithmetic.integer/groovy.txt +0 -18
- data/files.zettacode2/arithmetic.integer/harbour.txt +0 -11
- data/files.zettacode2/arithmetic.integer/haskell.txt +0 -16
- data/files.zettacode2/arithmetic.integer/haxe.txt +0 -13
- data/files.zettacode2/arithmetic.integer/hicest.txt +0 -26
- data/files.zettacode2/arithmetic.integer/holyc.txt +0 -14
- data/files.zettacode2/arithmetic.integer/i.txt +0 -11
- data/files.zettacode2/arithmetic.integer/icon}}_and_{{header|unicon.txt +0 -13
- data/files.zettacode2/arithmetic.integer/inform_7.txt +0 -27
- data/files.zettacode2/arithmetic.integer/j.txt +0 -18
- data/files.zettacode2/arithmetic.integer/java.txt +0 -22
- data/files.zettacode2/arithmetic.integer/javascript.txt +0 -30
- data/files.zettacode2/arithmetic.integer/jq.txt +0 -17
- data/files.zettacode2/arithmetic.integer/jsish.txt +0 -33
- data/files.zettacode2/arithmetic.integer/julia.txt +0 -5
- data/files.zettacode2/arithmetic.integer/kotlin.txt +0 -41
- data/files.zettacode2/arithmetic.integer/labview.txt +0 -2
- data/files.zettacode2/arithmetic.integer/lambdatalk.txt +0 -23
- data/files.zettacode2/arithmetic.integer/lasso.txt +0 -8
- data/files.zettacode2/arithmetic.integer/lfe.txt +0 -32
- data/files.zettacode2/arithmetic.integer/liberty_basic.txt +0 -12
- data/files.zettacode2/arithmetic.integer/lil.txt +0 -14
- data/files.zettacode2/arithmetic.integer/lingo.txt +0 -10
- data/files.zettacode2/arithmetic.integer/little.txt +0 -15
- data/files.zettacode2/arithmetic.integer/livecode.txt +0 -17
- data/files.zettacode2/arithmetic.integer/logo.txt +0 -11
- data/files.zettacode2/arithmetic.integer/lse64.txt +0 -10
- data/files.zettacode2/arithmetic.integer/lua.txt +0 -9
- data/files.zettacode2/arithmetic.integer/m2000_interpreter.txt +0 -54
- data/files.zettacode2/arithmetic.integer/m4.txt +0 -17
- data/files.zettacode2/arithmetic.integer/maple.txt +0 -25
- data/files.zettacode2/arithmetic.integer/mathcad.txt +0 -51
- data/files.zettacode2/arithmetic.integer/mathematica}}-{{header|wolfram_language.txt +0 -18
- data/files.zettacode2/arithmetic.integer/matlab}}_-_{{header|octave.txt +0 -8
- data/files.zettacode2/arithmetic.integer/maxima.txt +0 -10
- data/files.zettacode2/arithmetic.integer/maxscript.txt +0 -8
- data/files.zettacode2/arithmetic.integer/mercury.txt +0 -44
- data/files.zettacode2/arithmetic.integer/metafont.txt +0 -19
- data/files.zettacode2/arithmetic.integer/min.txt +0 -5
- data/files.zettacode2/arithmetic.integer/ml-i.txt +0 -18
- data/files.zettacode2/arithmetic.integer/modula-2.txt +0 -31
- data/files.zettacode2/arithmetic.integer/modula-3.txt +0 -15
- data/files.zettacode2/arithmetic.integer/mumps.txt +0 -52
- data/files.zettacode2/arithmetic.integer/nanoquery.txt +0 -13
- data/files.zettacode2/arithmetic.integer/nemerle.txt +0 -18
- data/files.zettacode2/arithmetic.integer/netrexx.txt +0 -14
- data/files.zettacode2/arithmetic.integer/newlisp.txt +0 -26
- data/files.zettacode2/arithmetic.integer/nial.txt +0 -23
- data/files.zettacode2/arithmetic.integer/nim.txt +0 -25
- data/files.zettacode2/arithmetic.integer/nsis.txt +0 -25
- data/files.zettacode2/arithmetic.integer/oberon-2.txt +0 -14
- data/files.zettacode2/arithmetic.integer/objeck.txt +0 -17
- data/files.zettacode2/arithmetic.integer/ocaml.txt +0 -9
- data/files.zettacode2/arithmetic.integer/oforth.txt +0 -9
- data/files.zettacode2/arithmetic.integer/ol.txt +0 -23
- data/files.zettacode2/arithmetic.integer/onyx.txt +0 -44
- data/files.zettacode2/arithmetic.integer/openscad.txt +0 -6
- data/files.zettacode2/arithmetic.integer/oz.txt +0 -19
- data/files.zettacode2/arithmetic.integer/panda.txt +0 -2
- data/files.zettacode2/arithmetic.integer/pari-gp.txt +0 -9
- data/files.zettacode2/arithmetic.integer/pascal.txt +0 -14
- data/files.zettacode2/arithmetic.integer/perl.txt +0 -12
- data/files.zettacode2/arithmetic.integer/phix.txt +0 -49
- data/files.zettacode2/arithmetic.integer/phixmonti.txt +0 -14
- data/files.zettacode2/arithmetic.integer/phl.txt +0 -20
- data/files.zettacode2/arithmetic.integer/php.txt +0 -13
- data/files.zettacode2/arithmetic.integer/picat.txt +0 -8
- data/files.zettacode2/arithmetic.integer/picolisp.txt +0 -8
- data/files.zettacode2/arithmetic.integer/piet.txt +0 -38
- data/files.zettacode2/arithmetic.integer/pl-i.txt +0 -8
- data/files.zettacode2/arithmetic.integer/plain_english.txt +0 -26
- data/files.zettacode2/arithmetic.integer/pop11.txt +0 -12
- data/files.zettacode2/arithmetic.integer/postscript.txt +0 -10
- data/files.zettacode2/arithmetic.integer/powershell.txt +0 -15
- data/files.zettacode2/arithmetic.integer/processing.txt +0 -7
- data/files.zettacode2/arithmetic.integer/prodos.txt +0 -35
- data/files.zettacode2/arithmetic.integer/prolog.txt +0 -33
- data/files.zettacode2/arithmetic.integer/purebasic.txt +0 -17
- data/files.zettacode2/arithmetic.integer/python.txt +0 -47
- data/files.zettacode2/arithmetic.integer/qb64.txt +0 -21
- data/files.zettacode2/arithmetic.integer/quackery.txt +0 -12
- data/files.zettacode2/arithmetic.integer/r.txt +0 -11
- data/files.zettacode2/arithmetic.integer/racket.txt +0 -8
- data/files.zettacode2/arithmetic.integer/raku.txt +0 -12
- data/files.zettacode2/arithmetic.integer/raven.txt +0 -9
- data/files.zettacode2/arithmetic.integer/rebol.txt +0 -51
- data/files.zettacode2/arithmetic.integer/relation.txt +0 -11
- data/files.zettacode2/arithmetic.integer/rescript.txt +0 -15
- data/files.zettacode2/arithmetic.integer/retro.txt +0 -10
- data/files.zettacode2/arithmetic.integer/rexx.txt +0 -47
- data/files.zettacode2/arithmetic.integer/ring.txt +0 -11
- data/files.zettacode2/arithmetic.integer/robotic.txt +0 -13
- data/files.zettacode2/arithmetic.integer/ruby.txt +0 -12
- data/files.zettacode2/arithmetic.integer/run_basic.txt +0 -9
- data/files.zettacode2/arithmetic.integer/rust.txt +0 -15
- data/files.zettacode2/arithmetic.integer/sass-scss.txt +0 -36
- data/files.zettacode2/arithmetic.integer/scala.txt +0 -9
- data/files.zettacode2/arithmetic.integer/scheme.txt +0 -27
- data/files.zettacode2/arithmetic.integer/seed7.txt +0 -20
- data/files.zettacode2/arithmetic.integer/sensetalk.txt +0 -12
- data/files.zettacode2/arithmetic.integer/sidef.txt +0 -6
- data/files.zettacode2/arithmetic.integer/slate.txt +0 -9
- data/files.zettacode2/arithmetic.integer/smalltalk.txt +0 -28
- data/files.zettacode2/arithmetic.integer/smart_basic.txt +0 -18
- data/files.zettacode2/arithmetic.integer/snobol4.txt +0 -12
- data/files.zettacode2/arithmetic.integer/snusp.txt +0 -61
- data/files.zettacode2/arithmetic.integer/sql.txt +0 -68
- data/files.zettacode2/arithmetic.integer/ssem.txt +0 -15
- data/files.zettacode2/arithmetic.integer/standard_ml.txt +0 -13
- data/files.zettacode2/arithmetic.integer/swift.txt +0 -11
- data/files.zettacode2/arithmetic.integer/tcl.txt +0 -19
- data/files.zettacode2/arithmetic.integer/terraform.txt +0 -33
- data/files.zettacode2/arithmetic.integer/ti-83_basic.txt +0 -14
- data/files.zettacode2/arithmetic.integer/ti-89_basic.txt +0 -8
- data/files.zettacode2/arithmetic.integer/toka.txt +0 -7
- data/files.zettacode2/arithmetic.integer/tuscript.txt +0 -9
- data/files.zettacode2/arithmetic.integer/unix_shell.txt +0 -29
- data/files.zettacode2/arithmetic.integer/ursa.txt +0 -27
- data/files.zettacode2/arithmetic.integer/v_(vlang).txt +0 -29
- data/files.zettacode2/arithmetic.integer/vba.txt +0 -19
- data/files.zettacode2/arithmetic.integer/vbscript.txt +0 -51
- data/files.zettacode2/arithmetic.integer/vedit_macro_language.txt +0 -8
- data/files.zettacode2/arithmetic.integer/verilog.txt +0 -26
- data/files.zettacode2/arithmetic.integer/vim_script.txt +0 -10
- data/files.zettacode2/arithmetic.integer/visual_basic_.net.txt +0 -14
- data/files.zettacode2/arithmetic.integer/wart.txt +0 -9
- data/files.zettacode2/arithmetic.integer/wren.txt +0 -16
- data/files.zettacode2/arithmetic.integer/x86_assembly.txt +0 -23
- data/files.zettacode2/arithmetic.integer/xlisp.txt +0 -17
- data/files.zettacode2/arithmetic.integer/xpl0.txt +0 -10
- data/files.zettacode2/arithmetic.integer/xslt.txt +0 -10
- data/files.zettacode2/arithmetic.integer/yabasic.txt +0 -11
- data/files.zettacode2/arithmetic.integer/yorick.txt +0 -8
- data/files.zettacode2/arithmetic.integer/zkl.txt +0 -7
- data/files.zettacode2/arithmetic.integer/zonnon.txt +0 -13
- data/files.zettacode2/arithmetic.integer/zx_spectrum_basic.txt +0 -11
- data/files.zettacode2/arithmetic.integer//320/274/320/272-61-52.txt +0 -7
- data/files.zettacode2/hello_world.text/0815.txt +0 -7
- data/files.zettacode2/hello_world.text/11l.txt +0 -1
- data/files.zettacode2/hello_world.text/360_assembly.txt +0 -17
- data/files.zettacode2/hello_world.text/4dos_batch.txt +0 -1
- data/files.zettacode2/hello_world.text/6502_assembly.txt +0 -22
- data/files.zettacode2/hello_world.text/6800_assembly.txt +0 -31
- data/files.zettacode2/hello_world.text/8080_assembly.txt +0 -12
- data/files.zettacode2/hello_world.text/8086_assembly.txt +0 -30
- data/files.zettacode2/hello_world.text/8th.txt +0 -1
- data/files.zettacode2/hello_world.text/aarch64_assembly.txt +0 -22
- data/files.zettacode2/hello_world.text/abap.txt +0 -2
- data/files.zettacode2/hello_world.text/acl2.txt +0 -2
- data/files.zettacode2/hello_world.text/action!.txt +0 -3
- data/files.zettacode2/hello_world.text/actionscript.txt +0 -1
- data/files.zettacode2/hello_world.text/ada.txt +0 -6
- data/files.zettacode2/hello_world.text/agda.txt +0 -14
- data/files.zettacode2/hello_world.text/agena.txt +0 -1
- data/files.zettacode2/hello_world.text/aime.txt +0 -11
- data/files.zettacode2/hello_world.text/algae.txt +0 -1
- data/files.zettacode2/hello_world.text/algol-m.txt +0 -3
- data/files.zettacode2/hello_world.text/algol_60.txt +0 -4
- data/files.zettacode2/hello_world.text/algol_68.txt +0 -3
- data/files.zettacode2/hello_world.text/algol_w.txt +0 -3
- data/files.zettacode2/hello_world.text/alore.txt +0 -1
- data/files.zettacode2/hello_world.text/amazing_hopper.txt +0 -21
- data/files.zettacode2/hello_world.text/ambienttalk.txt +0 -1
- data/files.zettacode2/hello_world.text/amigae.txt +0 -3
- data/files.zettacode2/hello_world.text/angelscript.txt +0 -1
- data/files.zettacode2/hello_world.text/antlang.txt +0 -3
- data/files.zettacode2/hello_world.text/anyways.txt +0 -4
- data/files.zettacode2/hello_world.text/apl.txt +0 -1
- data/files.zettacode2/hello_world.text/applescript.txt +0 -5
- data/files.zettacode2/hello_world.text/applesoft_basic.txt +0 -5
- data/files.zettacode2/hello_world.text/apricot.txt +0 -1
- data/files.zettacode2/hello_world.text/arc.txt +0 -1
- data/files.zettacode2/hello_world.text/arendelle.txt +0 -1
- data/files.zettacode2/hello_world.text/argile.txt +0 -3
- data/files.zettacode2/hello_world.text/arm_assembly.txt +0 -13
- data/files.zettacode2/hello_world.text/arnoldc.txt +0 -3
- data/files.zettacode2/hello_world.text/arturo.txt +0 -1
- data/files.zettacode2/hello_world.text/asciidots.txt +0 -4
- data/files.zettacode2/hello_world.text/astro.txt +0 -1
- data/files.zettacode2/hello_world.text/asymptote.txt +0 -2
- data/files.zettacode2/hello_world.text/ats.txt +0 -1
- data/files.zettacode2/hello_world.text/autohotkey.txt +0 -9
- data/files.zettacode2/hello_world.text/autoit.txt +0 -1
- data/files.zettacode2/hello_world.text/autolisp.txt +0 -1
- data/files.zettacode2/hello_world.text/avail.txt +0 -1
- data/files.zettacode2/hello_world.text/awk.txt +0 -30
- data/files.zettacode2/hello_world.text/axe.txt +0 -2
- data/files.zettacode2/hello_world.text/b.txt +0 -6
- data/files.zettacode2/hello_world.text/b4x.txt +0 -1
- data/files.zettacode2/hello_world.text/babel.txt +0 -2
- data/files.zettacode2/hello_world.text/bash.txt +0 -1
- data/files.zettacode2/hello_world.text/basic.txt +0 -14
- data/files.zettacode2/hello_world.text/basic256.txt +0 -1
- data/files.zettacode2/hello_world.text/batch_file.txt +0 -6
- data/files.zettacode2/hello_world.text/battlestar.txt +0 -4
- data/files.zettacode2/hello_world.text/bbc_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/bc.txt +0 -2
- data/files.zettacode2/hello_world.text/bcpl.txt +0 -6
- data/files.zettacode2/hello_world.text/beef.txt +0 -11
- data/files.zettacode2/hello_world.text/beeswax.txt +0 -23
- data/files.zettacode2/hello_world.text/befunge.txt +0 -1
- data/files.zettacode2/hello_world.text/binary_lambda_calculus.txt +0 -2
- data/files.zettacode2/hello_world.text/bird.txt +0 -6
- data/files.zettacode2/hello_world.text/blade.txt +0 -6
- data/files.zettacode2/hello_world.text/blast.txt +0 -10
- data/files.zettacode2/hello_world.text/blue.txt +0 -18
- data/files.zettacode2/hello_world.text/blz.txt +0 -1
- data/files.zettacode2/hello_world.text/bml.txt +0 -1
- data/files.zettacode2/hello_world.text/boo.txt +0 -1
- data/files.zettacode2/hello_world.text/bootbasic.txt +0 -1
- data/files.zettacode2/hello_world.text/bqn.txt +0 -4
- data/files.zettacode2/hello_world.text/brace.txt +0 -4
- data/files.zettacode2/hello_world.text/bracmat.txt +0 -1
- data/files.zettacode2/hello_world.text/brainf***.txt +0 -83
- data/files.zettacode2/hello_world.text/brat.txt +0 -1
- data/files.zettacode2/hello_world.text/brlcad.txt +0 -6
- data/files.zettacode2/hello_world.text/burlesque.txt +0 -6
- data/files.zettacode2/hello_world.text/c++-cli.txt +0 -5
- data/files.zettacode2/hello_world.text/c++.txt +0 -5
- data/files.zettacode2/hello_world.text/c.txt +0 -37
- data/files.zettacode2/hello_world.text/c1r.txt +0 -1
- data/files.zettacode2/hello_world.text/c2.txt +0 -7
- data/files.zettacode2/hello_world.text/c3.txt +0 -7
- data/files.zettacode2/hello_world.text/c_sharp|c#.txt +0 -19
- data/files.zettacode2/hello_world.text/casio_basic.txt +0 -3
- data/files.zettacode2/hello_world.text/cat.txt +0 -1
- data/files.zettacode2/hello_world.text/cduce.txt +0 -1
- data/files.zettacode2/hello_world.text/cfengine.txt +0 -11
- data/files.zettacode2/hello_world.text/chapel.txt +0 -1
- data/files.zettacode2/hello_world.text/chef.txt +0 -36
- data/files.zettacode2/hello_world.text/chuck.txt +0 -1
- data/files.zettacode2/hello_world.text/cind.txt +0 -6
- data/files.zettacode2/hello_world.text/clay.txt +0 -3
- data/files.zettacode2/hello_world.text/clean.txt +0 -1
- data/files.zettacode2/hello_world.text/clio.txt +0 -1
- data/files.zettacode2/hello_world.text/clipper.txt +0 -1
- data/files.zettacode2/hello_world.text/clips.txt +0 -1
- data/files.zettacode2/hello_world.text/clojure.txt +0 -1
- data/files.zettacode2/hello_world.text/clu.txt +0 -4
- data/files.zettacode2/hello_world.text/cmake.txt +0 -5
- data/files.zettacode2/hello_world.text/cobol.txt +0 -22
- data/files.zettacode2/hello_world.text/cobra.txt +0 -3
- data/files.zettacode2/hello_world.text/coffeescript.txt +0 -4
- data/files.zettacode2/hello_world.text/coldfusion.txt +0 -1
- data/files.zettacode2/hello_world.text/comal.txt +0 -1
- data/files.zettacode2/hello_world.text/comefrom0x10.txt +0 -3
- data/files.zettacode2/hello_world.text/commodore_basic.txt +0 -5
- data/files.zettacode2/hello_world.text/common_lisp.txt +0 -18
- data/files.zettacode2/hello_world.text/component_pascal.txt +0 -10
- data/files.zettacode2/hello_world.text/coq.txt +0 -5
- data/files.zettacode2/hello_world.text/corescript.txt +0 -1
- data/files.zettacode2/hello_world.text/cowgol.txt +0 -4
- data/files.zettacode2/hello_world.text/crack.txt +0 -4
- data/files.zettacode2/hello_world.text/creative_basic.txt +0 -15
- data/files.zettacode2/hello_world.text/crystal.txt +0 -1
- data/files.zettacode2/hello_world.text/d.txt +0 -6
- data/files.zettacode2/hello_world.text/dafny.txt +0 -6
- data/files.zettacode2/hello_world.text/dao.txt +0 -1
- data/files.zettacode2/hello_world.text/dart.txt +0 -4
- data/files.zettacode2/hello_world.text/dataweave.txt +0 -1
- data/files.zettacode2/hello_world.text/dbl.txt +0 -15
- data/files.zettacode2/hello_world.text/dc.txt +0 -3
- data/files.zettacode2/hello_world.text/dcl.txt +0 -1
- data/files.zettacode2/hello_world.text/ddnc.txt +0 -40
- data/files.zettacode2/hello_world.text/delphi.txt +0 -7
- data/files.zettacode2/hello_world.text/deviousyarn.txt +0 -1
- data/files.zettacode2/hello_world.text/dibol-11.txt +0 -14
- data/files.zettacode2/hello_world.text/diego.txt +0 -12
- data/files.zettacode2/hello_world.text/div_games_studio.txt +0 -12
- data/files.zettacode2/hello_world.text/dm.txt +0 -5
- data/files.zettacode2/hello_world.text/draco.txt +0 -3
- data/files.zettacode2/hello_world.text/dragon.txt +0 -3
- data/files.zettacode2/hello_world.text/dwscript.txt +0 -3
- data/files.zettacode2/hello_world.text/dyalect.txt +0 -1
- data/files.zettacode2/hello_world.text/dylan.net.txt +0 -28
- data/files.zettacode2/hello_world.text/dylan.txt +0 -5
- data/files.zettacode2/hello_world.text/d/303/251j/303/240_vu.txt +0 -1
- data/files.zettacode2/hello_world.text/e.txt +0 -3
- data/files.zettacode2/hello_world.text/easylang.txt +0 -2
- data/files.zettacode2/hello_world.text/ec.txt +0 -7
- data/files.zettacode2/hello_world.text/echolisp.txt +0 -3
- data/files.zettacode2/hello_world.text/ecl.txt +0 -3
- data/files.zettacode2/hello_world.text/ecstasy.txt +0 -8
- data/files.zettacode2/hello_world.text/edsac_order_code.txt +0 -34
- data/files.zettacode2/hello_world.text/efene.txt +0 -10
- data/files.zettacode2/hello_world.text/egel.txt +0 -3
- data/files.zettacode2/hello_world.text/egison.txt +0 -6
- data/files.zettacode2/hello_world.text/egl.txt +0 -9
- data/files.zettacode2/hello_world.text/eiffel.txt +0 -11
- data/files.zettacode2/hello_world.text/ela.txt +0 -2
- data/files.zettacode2/hello_world.text/elan.txt +0 -1
- data/files.zettacode2/hello_world.text/elastic.txt +0 -20
- data/files.zettacode2/hello_world.text/elena.txt +0 -5
- data/files.zettacode2/hello_world.text/elisa.txt +0 -1
- data/files.zettacode2/hello_world.text/elixir.txt +0 -3
- data/files.zettacode2/hello_world.text/elm.txt +0 -1
- data/files.zettacode2/hello_world.text/emacs_lisp.txt +0 -6
- data/files.zettacode2/hello_world.text/emojicode.txt +0 -3
- data/files.zettacode2/hello_world.text/erlang.txt +0 -1
- data/files.zettacode2/hello_world.text/erre.txt +0 -7
- data/files.zettacode2/hello_world.text/euler_math_toolbox.txt +0 -4
- data/files.zettacode2/hello_world.text/extended_brainf***.txt +0 -2
- data/files.zettacode2/hello_world.text/ezhil.txt +0 -5
- data/files.zettacode2/hello_world.text/f_sharp|f#.txt +0 -3
- data/files.zettacode2/hello_world.text/factor.txt +0 -1
- data/files.zettacode2/hello_world.text/falcon.txt +0 -4
- data/files.zettacode2/hello_world.text/false.txt +0 -2
- data/files.zettacode2/hello_world.text/fantom.txt +0 -10
- data/files.zettacode2/hello_world.text/fennel.txt +0 -1
- data/files.zettacode2/hello_world.text/ferite.txt +0 -3
- data/files.zettacode2/hello_world.text/fermat.txt +0 -1
- data/files.zettacode2/hello_world.text/fexl.txt +0 -1
- data/files.zettacode2/hello_world.text/fhidwfe.txt +0 -1
- data/files.zettacode2/hello_world.text/fish.txt +0 -9
- data/files.zettacode2/hello_world.text/focal.txt +0 -1
- data/files.zettacode2/hello_world.text/forth.txt +0 -5
- data/files.zettacode2/hello_world.text/fortran.txt +0 -16
- data/files.zettacode2/hello_world.text/fortress.txt +0 -3
- data/files.zettacode2/hello_world.text/free_pascal.txt +0 -21
- data/files.zettacode2/hello_world.text/freebasic.txt +0 -3
- data/files.zettacode2/hello_world.text/frege.txt +0 -5
- data/files.zettacode2/hello_world.text/friendly_interactive_shell.txt +0 -2
- data/files.zettacode2/hello_world.text/frink.txt +0 -3
- data/files.zettacode2/hello_world.text/funl.txt +0 -2
- data/files.zettacode2/hello_world.text/furor.txt +0 -1
- data/files.zettacode2/hello_world.text/futurebasic.txt +0 -4
- data/files.zettacode2/hello_world.text/fuze_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/gambas.txt +0 -6
- data/files.zettacode2/hello_world.text/gap.txt +0 -10
- data/files.zettacode2/hello_world.text/gb_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/gecho.txt +0 -1
- data/files.zettacode2/hello_world.text/gema.txt +0 -5
- data/files.zettacode2/hello_world.text/genie.txt +0 -4
- data/files.zettacode2/hello_world.text/gentee.txt +0 -4
- data/files.zettacode2/hello_world.text/gfa_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/glbasic.txt +0 -1
- data/files.zettacode2/hello_world.text/glee.txt +0 -13
- data/files.zettacode2/hello_world.text/global_script.txt +0 -3
- data/files.zettacode2/hello_world.text/glovepie.txt +0 -1
- data/files.zettacode2/hello_world.text/gml.txt +0 -2
- data/files.zettacode2/hello_world.text/go.txt +0 -6
- data/files.zettacode2/hello_world.text/golfscript.txt +0 -1
- data/files.zettacode2/hello_world.text/gosu.txt +0 -1
- data/files.zettacode2/hello_world.text/grain.txt +0 -1
- data/files.zettacode2/hello_world.text/groovy.txt +0 -1
- data/files.zettacode2/hello_world.text/gw-basic.txt +0 -1
- data/files.zettacode2/hello_world.text/hack.txt +0 -1
- data/files.zettacode2/hello_world.text/halon.txt +0 -3
- data/files.zettacode2/hello_world.text/harbour.txt +0 -1
- data/files.zettacode2/hello_world.text/hare.txt +0 -5
- data/files.zettacode2/hello_world.text/haskell.txt +0 -3
- data/files.zettacode2/hello_world.text/haxe.txt +0 -1
- data/files.zettacode2/hello_world.text/hexiscript.txt +0 -1
- data/files.zettacode2/hello_world.text/hicest.txt +0 -1
- data/files.zettacode2/hello_world.text/hla.txt +0 -7
- data/files.zettacode2/hello_world.text/holyc.txt +0 -1
- data/files.zettacode2/hello_world.text/hoon.txt +0 -1
- data/files.zettacode2/hello_world.text/hpppl.txt +0 -1
- data/files.zettacode2/hello_world.text/hq9+.txt +0 -7
- data/files.zettacode2/hello_world.text/html5.txt +0 -8
- data/files.zettacode2/hello_world.text/huginn.txt +0 -8
- data/files.zettacode2/hello_world.text/hy.txt +0 -1
- data/files.zettacode2/hello_world.text/i.txt +0 -3
- data/files.zettacode2/hello_world.text/icon}}_and_{{header|unicon.txt +0 -3
- data/files.zettacode2/hello_world.text/idl.txt +0 -1
- data/files.zettacode2/hello_world.text/idris.txt +0 -4
- data/files.zettacode2/hello_world.text/inform_6.txt +0 -3
- data/files.zettacode2/hello_world.text/inko.txt +0 -4
- data/files.zettacode2/hello_world.text/integer_basic.txt +0 -4
- data/files.zettacode2/hello_world.text/intercal.txt +0 -17
- data/files.zettacode2/hello_world.text/io.txt +0 -1
- data/files.zettacode2/hello_world.text/ioke.txt +0 -1
- data/files.zettacode2/hello_world.text/is-basic.txt +0 -1
- data/files.zettacode2/hello_world.text/isabelle.txt +0 -5
- data/files.zettacode2/hello_world.text/iwbasic.txt +0 -15
- data/files.zettacode2/hello_world.text/j.txt +0 -40
- data/files.zettacode2/hello_world.text/jack.txt +0 -7
- data/files.zettacode2/hello_world.text/jacquard_loom.txt +0 -88
- data/files.zettacode2/hello_world.text/java.txt +0 -7
- data/files.zettacode2/hello_world.text/javascript.txt +0 -12
- data/files.zettacode2/hello_world.text/jcl.txt +0 -1
- data/files.zettacode2/hello_world.text/jinja.txt +0 -9
- data/files.zettacode2/hello_world.text/joy.txt +0 -1
- data/files.zettacode2/hello_world.text/jq.txt +0 -1
- data/files.zettacode2/hello_world.text/jse.txt +0 -1
- data/files.zettacode2/hello_world.text/jsish.txt +0 -1
- data/files.zettacode2/hello_world.text/julia.txt +0 -1
- data/files.zettacode2/hello_world.text/k.txt +0 -14
- data/files.zettacode2/hello_world.text/kabap.txt +0 -1
- data/files.zettacode2/hello_world.text/kaya.txt +0 -6
- data/files.zettacode2/hello_world.text/kdf9_usercode.txt +0 -13
- data/files.zettacode2/hello_world.text/keg.txt +0 -1
- data/files.zettacode2/hello_world.text/kite.txt +0 -4
- data/files.zettacode2/hello_world.text/kitten.txt +0 -2
- data/files.zettacode2/hello_world.text/koka.txt +0 -3
- data/files.zettacode2/hello_world.text/konsolscript.txt +0 -4
- data/files.zettacode2/hello_world.text/kotlin.txt +0 -3
- data/files.zettacode2/hello_world.text/kql.txt +0 -2
- data/files.zettacode2/hello_world.text/ksi.txt +0 -5
- data/files.zettacode2/hello_world.text/lambdatalk.txt +0 -5
- data/files.zettacode2/hello_world.text/lang5.txt +0 -1
- data/files.zettacode2/hello_world.text/langur.txt +0 -1
- data/files.zettacode2/hello_world.text/lasso.txt +0 -2
- data/files.zettacode2/hello_world.text/latex.txt +0 -4
- data/files.zettacode2/hello_world.text/latitude.txt +0 -1
- data/files.zettacode2/hello_world.text/lc3_assembly.txt +0 -18
- data/files.zettacode2/hello_world.text/ldpl.txt +0 -4
- data/files.zettacode2/hello_world.text/lean.txt +0 -3
- data/files.zettacode2/hello_world.text/lfe.txt +0 -3
- data/files.zettacode2/hello_world.text/liberty_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/lil.txt +0 -5
- data/files.zettacode2/hello_world.text/lily.txt +0 -7
- data/files.zettacode2/hello_world.text/lilypond.txt +0 -11
- data/files.zettacode2/hello_world.text/limbo.txt +0 -14
- data/files.zettacode2/hello_world.text/lingo.txt +0 -5
- data/files.zettacode2/hello_world.text/lisaac.txt +0 -16
- data/files.zettacode2/hello_world.text/little.txt +0 -9
- data/files.zettacode2/hello_world.text/livecode.txt +0 -15
- data/files.zettacode2/hello_world.text/llvm.txt +0 -13
- data/files.zettacode2/hello_world.text/lobster.txt +0 -1
- data/files.zettacode2/hello_world.text/logo.txt +0 -4
- data/files.zettacode2/hello_world.text/logtalk.txt +0 -7
- data/files.zettacode2/hello_world.text/lolcode.txt +0 -6
- data/files.zettacode2/hello_world.text/lotusscript.txt +0 -5
- data/files.zettacode2/hello_world.text/lse.txt +0 -1
- data/files.zettacode2/hello_world.text/lse64.txt +0 -1
- data/files.zettacode2/hello_world.text/lua.txt +0 -12
- data/files.zettacode2/hello_world.text/luna.txt +0 -3
- data/files.zettacode2/hello_world.text/m2000_interpreter.txt +0 -5
- data/files.zettacode2/hello_world.text/m4.txt +0 -2
- data/files.zettacode2/hello_world.text/maclisp.txt +0 -3
- data/files.zettacode2/hello_world.text/macro-10.txt +0 -24
- data/files.zettacode2/hello_world.text/macro-11.txt +0 -28
- data/files.zettacode2/hello_world.text/mad.txt +0 -4
- data/files.zettacode2/hello_world.text/make.txt +0 -9
- data/files.zettacode2/hello_world.text/malbolge.txt +0 -7
- data/files.zettacode2/hello_world.text/manool.txt +0 -10
- data/files.zettacode2/hello_world.text/maple.txt +0 -4
- data/files.zettacode2/hello_world.text/mathcad.txt +0 -3
- data/files.zettacode2/hello_world.text/mathematica}}_-_{{header|wolfram_language.txt +0 -1
- data/files.zettacode2/hello_world.text/matlab.txt +0 -2
- data/files.zettacode2/hello_world.text/maude.txt +0 -13
- data/files.zettacode2/hello_world.text/maxima.txt +0 -1
- data/files.zettacode2/hello_world.text/maxscript.txt +0 -3
- data/files.zettacode2/hello_world.text/mdl.txt +0 -2
- data/files.zettacode2/hello_world.text/mel.txt +0 -3
- data/files.zettacode2/hello_world.text/melonbasic.txt +0 -3
- data/files.zettacode2/hello_world.text/mercury.txt +0 -8
- data/files.zettacode2/hello_world.text/metafont.txt +0 -1
- data/files.zettacode2/hello_world.text/min.txt +0 -1
- data/files.zettacode2/hello_world.text/miniscript.txt +0 -1
- data/files.zettacode2/hello_world.text/minizinc.txt +0 -2
- data/files.zettacode2/hello_world.text/mips_assembly.txt +0 -12
- data/files.zettacode2/hello_world.text/mirc_scripting_language.txt +0 -1
- data/files.zettacode2/hello_world.text/ml-i.txt +0 -1
- data/files.zettacode2/hello_world.text/modula-2.txt +0 -24
- data/files.zettacode2/hello_world.text/modula-3.txt +0 -7
- data/files.zettacode2/hello_world.text/montilang.txt +0 -1
- data/files.zettacode2/hello_world.text/morfa.txt +0 -7
- data/files.zettacode2/hello_world.text/mosaic.txt +0 -3
- data/files.zettacode2/hello_world.text/muf.txt +0 -4
- data/files.zettacode2/hello_world.text/mumps.txt +0 -1
- data/files.zettacode2/hello_world.text/mydef.txt +0 -27
- data/files.zettacode2/hello_world.text/myrtlescript.txt +0 -6
- data/files.zettacode2/hello_world.text/mysql.txt +0 -2
- data/files.zettacode2/hello_world.text/mythryl.txt +0 -2
- data/files.zettacode2/hello_world.text/n-t-roff.txt +0 -6
- data/files.zettacode2/hello_world.text/nanoquery.txt +0 -1
- data/files.zettacode2/hello_world.text/neat.txt +0 -2
- data/files.zettacode2/hello_world.text/neko.txt +0 -1
- data/files.zettacode2/hello_world.text/nemerle.txt +0 -13
- data/files.zettacode2/hello_world.text/netrexx.txt +0 -1
- data/files.zettacode2/hello_world.text/never.txt +0 -4
- data/files.zettacode2/hello_world.text/newlisp.txt +0 -2
- data/files.zettacode2/hello_world.text/nickle.txt +0 -1
- data/files.zettacode2/hello_world.text/nim.txt +0 -3
- data/files.zettacode2/hello_world.text/nit.txt +0 -1
- data/files.zettacode2/hello_world.text/nix.txt +0 -1
- data/files.zettacode2/hello_world.text/nlp++.txt +0 -5
- data/files.zettacode2/hello_world.text/ns-hubasic.txt +0 -6
- data/files.zettacode2/hello_world.text/nyquist.txt +0 -15
- data/files.zettacode2/hello_world.text/oberon-2.txt +0 -11
- data/files.zettacode2/hello_world.text/objeck.txt +0 -6
- data/files.zettacode2/hello_world.text/objective-c.txt +0 -42
- data/files.zettacode2/hello_world.text/ocaml.txt +0 -1
- data/files.zettacode2/hello_world.text/occam.txt +0 -5
- data/files.zettacode2/hello_world.text/octave.txt +0 -5
- data/files.zettacode2/hello_world.text/odin.txt +0 -6
- data/files.zettacode2/hello_world.text/oforth.txt +0 -1
- data/files.zettacode2/hello_world.text/ol.txt +0 -1
- data/files.zettacode2/hello_world.text/onyx.txt +0 -1
- data/files.zettacode2/hello_world.text/ooc.txt +0 -8
- data/files.zettacode2/hello_world.text/oorexx.txt +0 -4
- data/files.zettacode2/hello_world.text/openlisp.txt +0 -10
- data/files.zettacode2/hello_world.text/openscad.txt +0 -5
- data/files.zettacode2/hello_world.text/oxygene.txt +0 -25
- data/files.zettacode2/hello_world.text/oz.txt +0 -1
- data/files.zettacode2/hello_world.text/pari-gp.txt +0 -2
- data/files.zettacode2/hello_world.text/pascal.txt +0 -5
- data/files.zettacode2/hello_world.text/pasm.txt +0 -2
- data/files.zettacode2/hello_world.text/pdp-11_assembly.txt +0 -15
- data/files.zettacode2/hello_world.text/pdp-1_assembly.txt +0 -22
- data/files.zettacode2/hello_world.text/pepsiscript.txt +0 -16
- data/files.zettacode2/hello_world.text/perl.txt +0 -11
- data/files.zettacode2/hello_world.text/peylang.txt +0 -1
- data/files.zettacode2/hello_world.text/pharo.txt +0 -4
- data/files.zettacode2/hello_world.text/phix.txt +0 -4
- data/files.zettacode2/hello_world.text/phl.txt +0 -7
- data/files.zettacode2/hello_world.text/php.txt +0 -5
- data/files.zettacode2/hello_world.text/picat.txt +0 -1
- data/files.zettacode2/hello_world.text/picolisp.txt +0 -1
- data/files.zettacode2/hello_world.text/pict.txt +0 -6
- data/files.zettacode2/hello_world.text/pikachu.txt +0 -23
- data/files.zettacode2/hello_world.text/pike.txt +0 -3
- data/files.zettacode2/hello_world.text/pilot.txt +0 -1
- data/files.zettacode2/hello_world.text/pir.txt +0 -3
- data/files.zettacode2/hello_world.text/pixilang.txt +0 -1
- data/files.zettacode2/hello_world.text/pl-i.txt +0 -3
- data/files.zettacode2/hello_world.text/pl-m.txt +0 -13
- data/files.zettacode2/hello_world.text/pl-sql.txt +0 -21
- data/files.zettacode2/hello_world.text/plain_english.txt +0 -7
- data/files.zettacode2/hello_world.text/plan.txt +0 -14
- data/files.zettacode2/hello_world.text/pony.txt +0 -3
- data/files.zettacode2/hello_world.text/pop11.txt +0 -1
- data/files.zettacode2/hello_world.text/portugol.txt +0 -11
- data/files.zettacode2/hello_world.text/postscript.txt +0 -31
- data/files.zettacode2/hello_world.text/potion.txt +0 -1
- data/files.zettacode2/hello_world.text/powerbasic.txt +0 -7
- data/files.zettacode2/hello_world.text/powershell.txt +0 -4
- data/files.zettacode2/hello_world.text/processing.txt +0 -1
- data/files.zettacode2/hello_world.text/prodos.txt +0 -1
- data/files.zettacode2/hello_world.text/programming_language.txt +0 -5
- data/files.zettacode2/hello_world.text/prolog.txt +0 -1
- data/files.zettacode2/hello_world.text/promal.txt +0 -7
- data/files.zettacode2/hello_world.text/psql.txt +0 -7
- data/files.zettacode2/hello_world.text/pure.txt +0 -5
- data/files.zettacode2/hello_world.text/purebasic.txt +0 -5
- data/files.zettacode2/hello_world.text/python.txt +0 -19
- data/files.zettacode2/hello_world.text/qb64.txt +0 -1
- data/files.zettacode2/hello_world.text/quackery.txt +0 -1
- data/files.zettacode2/hello_world.text/quill.txt +0 -1
- data/files.zettacode2/hello_world.text/quite_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/r.txt +0 -5
- data/files.zettacode2/hello_world.text/ra.txt +0 -8
- data/files.zettacode2/hello_world.text/racket.txt +0 -3
- data/files.zettacode2/hello_world.text/raku.txt +0 -4
- data/files.zettacode2/hello_world.text/rasel.txt +0 -1
- data/files.zettacode2/hello_world.text/ratfor.txt +0 -11
- data/files.zettacode2/hello_world.text/raven.txt +0 -1
- data/files.zettacode2/hello_world.text/realbasic.txt +0 -7
- data/files.zettacode2/hello_world.text/rebol.txt +0 -1
- data/files.zettacode2/hello_world.text/red.txt +0 -1
- data/files.zettacode2/hello_world.text/relation.txt +0 -4
- data/files.zettacode2/hello_world.text/rescript.txt +0 -2
- data/files.zettacode2/hello_world.text/retro.txt +0 -4
- data/files.zettacode2/hello_world.text/rexx.txt +0 -13
- data/files.zettacode2/hello_world.text/ring.txt +0 -1
- data/files.zettacode2/hello_world.text/risc-v.txt +0 -11
- data/files.zettacode2/hello_world.text/rockstar.txt +0 -1
- data/files.zettacode2/hello_world.text/rtl-2.txt +0 -12
- data/files.zettacode2/hello_world.text/ruby.txt +0 -11
- data/files.zettacode2/hello_world.text/run_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/rust.txt +0 -13
- data/files.zettacode2/hello_world.text/salmon.txt +0 -9
- data/files.zettacode2/hello_world.text/sas.txt +0 -4
- data/files.zettacode2/hello_world.text/sasl.txt +0 -4
- data/files.zettacode2/hello_world.text/sather.txt +0 -5
- data/files.zettacode2/hello_world.text/scala.txt +0 -19
- data/files.zettacode2/hello_world.text/scheme.txt +0 -21
- data/files.zettacode2/hello_world.text/scilab.txt +0 -1
- data/files.zettacode2/hello_world.text/scratchscript.txt +0 -4
- data/files.zettacode2/hello_world.text/sed.txt +0 -3
- data/files.zettacode2/hello_world.text/seed7.txt +0 -6
- data/files.zettacode2/hello_world.text/self.txt +0 -1
- data/files.zettacode2/hello_world.text/sensetalk.txt +0 -1
- data/files.zettacode2/hello_world.text/set_lang.txt +0 -12
- data/files.zettacode2/hello_world.text/setl.txt +0 -1
- data/files.zettacode2/hello_world.text/setl4.txt +0 -1
- data/files.zettacode2/hello_world.text/shen.txt +0 -1
- data/files.zettacode2/hello_world.text/shiny.txt +0 -1
- data/files.zettacode2/hello_world.text/sidef.txt +0 -1
- data/files.zettacode2/hello_world.text/simplecode.txt +0 -3
- data/files.zettacode2/hello_world.text/simpol.txt +0 -2
- data/files.zettacode2/hello_world.text/simula.txt +0 -5
- data/files.zettacode2/hello_world.text/sing.txt +0 -7
- data/files.zettacode2/hello_world.text/sisal.txt +0 -10
- data/files.zettacode2/hello_world.text/skookumscript.txt +0 -3
- data/files.zettacode2/hello_world.text/slate.txt +0 -1
- data/files.zettacode2/hello_world.text/slope.txt +0 -1
- data/files.zettacode2/hello_world.text/smalltalk.txt +0 -4
- data/files.zettacode2/hello_world.text/smart_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/smilebasic.txt +0 -1
- data/files.zettacode2/hello_world.text/snobol4.txt +0 -3
- data/files.zettacode2/hello_world.text/snusp.txt +0 -11
- data/files.zettacode2/hello_world.text/soneking_assembly.txt +0 -10
- data/files.zettacode2/hello_world.text/sparc_assembly.txt +0 -18
- data/files.zettacode2/hello_world.text/sparkling.txt +0 -1
- data/files.zettacode2/hello_world.text/spl.txt +0 -1
- data/files.zettacode2/hello_world.text/sql.txt +0 -12
- data/files.zettacode2/hello_world.text/sql_pl.txt +0 -35
- data/files.zettacode2/hello_world.text/standard_ml.txt +0 -1
- data/files.zettacode2/hello_world.text/stata.txt +0 -1
- data/files.zettacode2/hello_world.text/suneido.txt +0 -1
- data/files.zettacode2/hello_world.text/swahili.txt +0 -1
- data/files.zettacode2/hello_world.text/swift.txt +0 -4
- data/files.zettacode2/hello_world.text/symsyn.txt +0 -3
- data/files.zettacode2/hello_world.text/tailspin.txt +0 -1
- data/files.zettacode2/hello_world.text/tcl.txt +0 -5
- data/files.zettacode2/hello_world.text/teco.txt +0 -2
- data/files.zettacode2/hello_world.text/tern.txt +0 -1
- data/files.zettacode2/hello_world.text/terra.txt +0 -6
- data/files.zettacode2/hello_world.text/terraform.txt +0 -3
- data/files.zettacode2/hello_world.text/testml.txt +0 -2
- data/files.zettacode2/hello_world.text/ti-83_basic.txt +0 -2
- data/files.zettacode2/hello_world.text/ti-89_basic.txt +0 -1
- data/files.zettacode2/hello_world.text/tiny_basic.txt +0 -5
- data/files.zettacode2/hello_world.text/tmg.txt +0 -2
- data/files.zettacode2/hello_world.text/torquescript.txt +0 -1
- data/files.zettacode2/hello_world.text/tpp.txt +0 -1
- data/files.zettacode2/hello_world.text/transact-sql.txt +0 -2
- data/files.zettacode2/hello_world.text/transd.txt +0 -2
- data/files.zettacode2/hello_world.text/transforth.txt +0 -1
- data/files.zettacode2/hello_world.text/trith.txt +0 -1
- data/files.zettacode2/hello_world.text/true_basic.txt +0 -5
- data/files.zettacode2/hello_world.text/tuscript.txt +0 -8
- data/files.zettacode2/hello_world.text/ubasic-4th.txt +0 -1
- data/files.zettacode2/hello_world.text/uniface.txt +0 -3
- data/files.zettacode2/hello_world.text/unison.txt +0 -3
- data/files.zettacode2/hello_world.text/unix_shell.txt +0 -9
- data/files.zettacode2/hello_world.text/unlambda.txt +0 -1
- data/files.zettacode2/hello_world.text/ursa.txt +0 -1
- data/files.zettacode2/hello_world.text/ursala.txt +0 -10
- data/files.zettacode2/hello_world.text/v.txt +0 -1
- data/files.zettacode2/hello_world.text/v_(vlang).txt +0 -3
- data/files.zettacode2/hello_world.text/vala.txt +0 -3
- data/files.zettacode2/hello_world.text/vax_assembly.txt +0 -10
- data/files.zettacode2/hello_world.text/vba.txt +0 -6
- data/files.zettacode2/hello_world.text/vbscript.txt +0 -2
- data/files.zettacode2/hello_world.text/vedit_macro_language.txt +0 -1
- data/files.zettacode2/hello_world.text/verbexx.txt +0 -2
- data/files.zettacode2/hello_world.text/verilog.txt +0 -8
- data/files.zettacode2/hello_world.text/vhdl.txt +0 -16
- data/files.zettacode2/hello_world.text/vim_script.txt +0 -1
- data/files.zettacode2/hello_world.text/visual_basic.txt +0 -22
- data/files.zettacode2/hello_world.text/visual_basic_.net.txt +0 -7
- data/files.zettacode2/hello_world.text/viua_vm_assembly.txt +0 -6
- data/files.zettacode2/hello_world.text/vtl-2.txt +0 -1
- data/files.zettacode2/hello_world.text/wart.txt +0 -2
- data/files.zettacode2/hello_world.text/wdte.txt +0 -1
- data/files.zettacode2/hello_world.text/webassembly.txt +0 -38
- data/files.zettacode2/hello_world.text/wee_basic.txt +0 -2
- data/files.zettacode2/hello_world.text/whenever.txt +0 -2
- data/files.zettacode2/hello_world.text/whiley.txt +0 -5
- data/files.zettacode2/hello_world.text/whitespace.txt +0 -1
- data/files.zettacode2/hello_world.text/wisp.txt +0 -8
- data/files.zettacode2/hello_world.text/wolfram_language.txt +0 -1
- data/files.zettacode2/hello_world.text/wren.txt +0 -1
- data/files.zettacode2/hello_world.text/x10.txt +0 -8
- data/files.zettacode2/hello_world.text/x86-64_assembly.txt +0 -44
- data/files.zettacode2/hello_world.text/x86_assembly.txt +0 -37
- data/files.zettacode2/hello_world.text/xbasic.txt +0 -12
- data/files.zettacode2/hello_world.text/xeec.txt +0 -4
- data/files.zettacode2/hello_world.text/xl.txt +0 -2
- data/files.zettacode2/hello_world.text/xlisp.txt +0 -2
- data/files.zettacode2/hello_world.text/xpath.txt +0 -1
- data/files.zettacode2/hello_world.text/xpl0.txt +0 -3
- data/files.zettacode2/hello_world.text/xslt.txt +0 -5
- data/files.zettacode2/hello_world.text/yabasic.txt +0 -3
- data/files.zettacode2/hello_world.text/yorick.txt +0 -1
- data/files.zettacode2/hello_world.text/z80_assembly.txt +0 -21
- data/files.zettacode2/hello_world.text/zig.txt +0 -4
- data/files.zettacode2/hello_world.text/zkl.txt +0 -2
- data/files.zettacode2/hello_world.text/zoea.txt +0 -2
- data/files.zettacode2/hello_world.text/zoea_visual.txt +0 -1
- data/files.zettacode2/hello_world.text/zoomscript.txt +0 -5
- data/files.zettacode2/hello_world.text/zx_spectrum_basic.txt +0 -4
- data/files.zettacode2/hello_world.text//340/256/211/340/256/257/340/256/277/340/256/260/340/257/215-uyir.txt +0 -5
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
|~>|~#:end:>
|
3
|
-
<:61:x<:3d:=<:20:$==$~$=${~>%<:2c:~$<:20:~$
|
4
|
-
<:62:x<:3d:=<:20:$==$~$=${~>%<:a:~$$
|
5
|
-
<:61:x<:2b:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~+%<:a:~$
|
6
|
-
<:61:x<:2d:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~-%<:a:~$
|
7
|
-
<:61:x<:2a:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~*%<:a:~$
|
8
|
-
<:61:x<:2f:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~/%<:a:~$
|
9
|
-
<:61:x<:25:=<:20:$==$~$=$<:62:x<:3d:=<:20:$==$~$=${x{x~>~>~/=%<:a:~$
|
10
|
-
{~>>{x<:1:-^:u:
|
11
|
-
<:61:x<:5e:=<:20:$==$~$$=$<:62:x<:3D:=<:20:$==$~$=${{~%#:end:
|
12
|
-
}:u:=>{x{=>~*>{x<:2:-#:ter:
|
13
|
-
}:ml:x->{x{=>~*>{x<:1:-#:ter:^:ml:
|
14
|
-
}:ter:<:61:x<:5e:=<:20:$==$~$$=$<:62:x<:3D:=<:20:$==$~$=${{~%
|
@@ -1,55 +0,0 @@
|
|
1
|
-
From the principles of operation: Operands are signed and 32 bits long.
|
2
|
-
Negative quantities are held in two's-complement form.
|
3
|
-
<br>'''Multiplication:'''<br>
|
4
|
-
The product of the multiplier (the second operand) and the multiplicand
|
5
|
-
(the first operand) replaces the multiplicand. Both multiplier and
|
6
|
-
multiplicand are 32-bit signed integers. The product is always a 64-bit
|
7
|
-
signed integer and occupies an even/odd register pair.
|
8
|
-
<br>'''Division:'''<br>
|
9
|
-
The dividend (first operand) is divided by the divisor (second operand)
|
10
|
-
and replaced by the quotient and remainder. The dividend is a 64-bit
|
11
|
-
signed integer and occupies the even/odd pair of registers.
|
12
|
-
A 32-bit signed remainder and a 32-bit signed quotient replace the dividend
|
13
|
-
in the even-numbered and odd-numbered registers, respectively.
|
14
|
-
The sign of the quotient is determined by the rules of algebra.
|
15
|
-
The remainder has the same sign as the dividend.
|
16
|
-
* Arithmetic/Integer 04/09/2015
|
17
|
-
ARITHINT CSECT
|
18
|
-
USING ARITHINT,R12
|
19
|
-
LR R12,R15
|
20
|
-
ADD L R1,A
|
21
|
-
A R1,B r1=a+b
|
22
|
-
XDECO R1,BUF
|
23
|
-
MVI BUF,C'+'
|
24
|
-
XPRNT BUF,12
|
25
|
-
SUB L R1,A
|
26
|
-
S R1,B r1=a-b
|
27
|
-
XDECO R1,BUF
|
28
|
-
MVI BUF,C'-'
|
29
|
-
XPRNT BUF,12
|
30
|
-
MUL L R1,A
|
31
|
-
M R0,B r0r1=a*b
|
32
|
-
XDECO R1,BUF so r1 has the lower part
|
33
|
-
MVI BUF,C'*'
|
34
|
-
XPRNT BUF,12
|
35
|
-
DIV L R0,A
|
36
|
-
SRDA R0,32 to shift the sign
|
37
|
-
D R0,B r1=a/b and r0 has the remainder
|
38
|
-
XDECO R1,BUF so r1 has quotient
|
39
|
-
MVI BUF,C'/'
|
40
|
-
XPRNT BUF,12
|
41
|
-
MOD L R0,A
|
42
|
-
SRDA R0,32 to shift the sign
|
43
|
-
D R0,B r1=a/b and r0 has the remainder
|
44
|
-
XDECO R0,BUF so r0 has the remainder
|
45
|
-
MVI BUF,C'R'
|
46
|
-
XPRNT BUF,12
|
47
|
-
RETURN XR R15,R15
|
48
|
-
BR R14
|
49
|
-
CNOP 0,4
|
50
|
-
A DC F'53'
|
51
|
-
B DC F'11'
|
52
|
-
BUF DC CL12' '
|
53
|
-
YREGS
|
54
|
-
END ARITHINT
|
55
|
-
Inputs are in the code: a=53, b=11
|
@@ -1,50 +0,0 @@
|
|
1
|
-
Code is called as a subroutine (i.e. JSR Arithmetic). Specific OS/hardware routines for user input and printing are left unimplemented.
|
2
|
-
Arithmetic: PHA ;push accumulator and X register onto stack
|
3
|
-
TXA
|
4
|
-
PHA
|
5
|
-
JSR GetUserInput ;routine not implemented
|
6
|
-
;two integers now in memory locations A and B
|
7
|
-
;addition
|
8
|
-
LDA A
|
9
|
-
CLC
|
10
|
-
ADC B
|
11
|
-
JSR DisplayAddition ;routine not implemented
|
12
|
-
|
13
|
-
;subtraction
|
14
|
-
LDA A
|
15
|
-
SEC
|
16
|
-
SBC B
|
17
|
-
JSR DisplaySubtraction ;routine not implemented
|
18
|
-
|
19
|
-
;multiplication - overflow not handled
|
20
|
-
LDA A
|
21
|
-
LDX B
|
22
|
-
Multiply: CLC
|
23
|
-
ADC A
|
24
|
-
DEX
|
25
|
-
BNE Multiply
|
26
|
-
JSR DisplayMultiply ;routine not implemented
|
27
|
-
|
28
|
-
;division - rounds up
|
29
|
-
LDA A
|
30
|
-
LDX #0
|
31
|
-
SEC
|
32
|
-
Divide: INX
|
33
|
-
SBC B
|
34
|
-
BCS Divide
|
35
|
-
TXA ;get result into accumulator
|
36
|
-
JSR DisplayDivide ;routine not implemented
|
37
|
-
|
38
|
-
;modulus
|
39
|
-
LDA A
|
40
|
-
SEC
|
41
|
-
Modulus: SBC B
|
42
|
-
BCS Modulus
|
43
|
-
ADC B
|
44
|
-
JSR DisplayModulus ;routine not implemented
|
45
|
-
|
46
|
-
PLA ;restore accumulator and X register from stack
|
47
|
-
TAX
|
48
|
-
PLA
|
49
|
-
RTS ;return from subroutine
|
50
|
-
The 6502 has no opcodes for multiplication, division, or modulus; the routines for multiplication, division, and modulus given above can be heavily optimized at the expense of some clarity.
|
@@ -1,24 +0,0 @@
|
|
1
|
-
ADD.L D0,D1 ; add two numbers
|
2
|
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3
|
-
SUB.L D1,D0 ; subtract D1 from D0
|
4
|
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
5
|
-
MULU D0,D1 ; multiply two unsigned numbers. Use MULS for signed numbers
|
6
|
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
7
|
-
DIVU D1,D0 ; Divide D0 by D1. Use DIVS for signed numbers. Upper two bytes of D0 are the remainder, lower two are the integer quotient.
|
8
|
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
9
|
-
MODULUS:
|
10
|
-
DIVU D1,D0
|
11
|
-
SWAP D0 ;swap the order of the 16-bit halves of D0.
|
12
|
-
RTS
|
13
|
-
|
14
|
-
Exponentiation doesn't exist but can be implemented in a similar fashion to multiplication on the 6502:
|
15
|
-
|
16
|
-
Exponent:
|
17
|
-
;raises D0 to the D1 power. No overflow protection.
|
18
|
-
MOVE.L D0,D2
|
19
|
-
SUBQ.L #1,D1
|
20
|
-
loop_exponent:
|
21
|
-
MULU D0,D2
|
22
|
-
DBRA D1,loop_exponent
|
23
|
-
;output is in D2
|
24
|
-
RTS
|
@@ -1,137 +0,0 @@
|
|
1
|
-
{{works with|as|Raspberry Pi 3B version Buster 64 bits}}
|
2
|
-
<syntaxhighlight lang="aarch64 assembly">
|
3
|
-
/* ARM assembly AARCH64 Raspberry PI 3B */
|
4
|
-
/* program arith64.s */
|
5
|
-
|
6
|
-
/*******************************************/
|
7
|
-
/* Constantes file */
|
8
|
-
/*******************************************/
|
9
|
-
/* for this file see task include a file in language AArch64 assembly*/
|
10
|
-
.include "../includeConstantesARM64.inc"
|
11
|
-
|
12
|
-
/***********************/
|
13
|
-
/* Initialized data */
|
14
|
-
/***********************/
|
15
|
-
.data
|
16
|
-
szMessError: .asciz " Two numbers in command line please ! \n" // message
|
17
|
-
szRetourLigne: .asciz "\n"
|
18
|
-
szMessResult: .asciz "resultat : @ \n" // message result
|
19
|
-
sMessValeur: .fill 12, 1, ' '
|
20
|
-
.asciz "\n"
|
21
|
-
szMessAddition: .asciz "Addition "
|
22
|
-
szMessSoustraction: .asciz "soustraction :"
|
23
|
-
szMessMultiplication: .asciz "multiplication :"
|
24
|
-
szMessDivision: .asciz "division :"
|
25
|
-
szMessReste: .asciz "remainder :"
|
26
|
-
|
27
|
-
/***********************/
|
28
|
-
/* No Initialized data */
|
29
|
-
/***********************/
|
30
|
-
.bss
|
31
|
-
qValeur: .skip 8 // reserve 8 bytes in memory
|
32
|
-
sZoneConv: .skip 30
|
33
|
-
.text
|
34
|
-
.global main
|
35
|
-
main:
|
36
|
-
mov fp,sp // fp <- stack address
|
37
|
-
ldr x0,[fp] // recup number of parameter in command line
|
38
|
-
cmp x0,3
|
39
|
-
blt error
|
40
|
-
ldr x0,[fp,16] // adresse of 1er number
|
41
|
-
bl conversionAtoD
|
42
|
-
mov x3,x0
|
43
|
-
ldr x0,[fp,24] // adresse of 2eme number
|
44
|
-
bl conversionAtoD
|
45
|
-
mov x4,x0
|
46
|
-
// addition
|
47
|
-
add x0,x3,x4
|
48
|
-
ldr x1,qAdrsZoneConv // result in x0
|
49
|
-
bl conversion10S // call function with 2 parameter (x0,x1)
|
50
|
-
ldr x0,qAdrszMessAddition
|
51
|
-
bl affichageMess // display message
|
52
|
-
ldr x0,qAdrszMessResult
|
53
|
-
ldr x1,qAdrsZoneConv
|
54
|
-
bl strInsertAtCharInc // insert result at @ character
|
55
|
-
bl affichageMess // display message
|
56
|
-
ldr x0,qAdrsZoneConv
|
57
|
-
// soustraction
|
58
|
-
sub x0,x3,x4
|
59
|
-
ldr x1,qAdrsZoneConv // result in x0
|
60
|
-
bl conversion10S // call function with 2 parameter (x0,x1)
|
61
|
-
ldr x0,qAdrszMessSoustraction
|
62
|
-
bl affichageMess // display message
|
63
|
-
ldr x0,qAdrszMessResult
|
64
|
-
ldr x1,qAdrsZoneConv
|
65
|
-
bl strInsertAtCharInc // insert result at @ character
|
66
|
-
bl affichageMess // display message
|
67
|
-
ldr x0,qAdrsZoneConv
|
68
|
-
// multiplication
|
69
|
-
mul x0,x3,x4
|
70
|
-
ldr x1,qAdrsZoneConv // result in x0
|
71
|
-
bl conversion10S // call function with 2 parameter (x0,x1)
|
72
|
-
ldr x0,qAdrszMessMultiplication
|
73
|
-
bl affichageMess // display message
|
74
|
-
ldr x0,qAdrszMessResult
|
75
|
-
ldr x1,qAdrsZoneConv
|
76
|
-
bl strInsertAtCharInc // insert result at @ character
|
77
|
-
bl affichageMess // display message
|
78
|
-
ldr x0,qAdrsZoneConv
|
79
|
-
// division
|
80
|
-
mov x0,x3
|
81
|
-
mov x1,x4
|
82
|
-
udiv x0,x3,x4 // quotient
|
83
|
-
msub x3,x0,x4,x3 // remainder x3 = x3 - (x0*x4)
|
84
|
-
ldr x1,qAdrsZoneConv // result in x0
|
85
|
-
bl conversion10S // call function with 2 parameter (x0,x1)
|
86
|
-
ldr x0,qAdrszMessDivision
|
87
|
-
bl affichageMess // display message
|
88
|
-
ldr x0,qAdrszMessResult
|
89
|
-
ldr x1,qAdrsZoneConv
|
90
|
-
bl strInsertAtCharInc // insert result at @ character
|
91
|
-
bl affichageMess // display message
|
92
|
-
ldr x0,qAdrsZoneConv
|
93
|
-
|
94
|
-
mov x0,x3 // remainder
|
95
|
-
ldr x1,qAdrsZoneConv // result in x0
|
96
|
-
bl conversion10S // call function with 2 parameter (x0,x1)
|
97
|
-
ldr x0,qAdrszMessReste
|
98
|
-
bl affichageMess // display message
|
99
|
-
ldr x0,qAdrszMessResult
|
100
|
-
ldr x1,qAdrsZoneConv
|
101
|
-
bl strInsertAtCharInc // insert result at @ character
|
102
|
-
bl affichageMess // display message
|
103
|
-
ldr x0,qAdrsZoneConv
|
104
|
-
|
105
|
-
mov x0,0 // return code
|
106
|
-
b 100f
|
107
|
-
error:
|
108
|
-
ldr x0,qAdrszMessError
|
109
|
-
bl affichageMess // call function with 1 parameter (x0)
|
110
|
-
mov x0,1 // return code
|
111
|
-
100: // end of program
|
112
|
-
mov x8,EXIT // request to exit program
|
113
|
-
svc 0 // perform the system call
|
114
|
-
qAdrsMessValeur: .quad sMessValeur
|
115
|
-
qAdrszMessResult: .quad szMessResult
|
116
|
-
qAdrszMessError: .quad szMessError
|
117
|
-
qAdrszMessAddition: .quad szMessAddition
|
118
|
-
qAdrszMessSoustraction: .quad szMessSoustraction
|
119
|
-
qAdrszMessMultiplication: .quad szMessMultiplication
|
120
|
-
qAdrszMessDivision: .quad szMessDivision
|
121
|
-
qAdrszMessReste: .quad szMessReste
|
122
|
-
qAdrsZoneConv: .quad sZoneConv
|
123
|
-
/********************************************************/
|
124
|
-
/* File Include fonctions */
|
125
|
-
/********************************************************/
|
126
|
-
/* for this file see task include a file in language AArch64 assembly */
|
127
|
-
.include "../includeARM64.inc"
|
128
|
-
|
129
|
-
{{Output : }}
|
130
|
-
<PRE>
|
131
|
-
pi@debian-buster-64:~/asm64/rosetta/asm3 $ arith64 101 25
|
132
|
-
Addition resultat : +126
|
133
|
-
soustraction :resultat : +76
|
134
|
-
multiplication :resultat : +2525
|
135
|
-
division :resultat : +4
|
136
|
-
remainder :resultat : +1
|
137
|
-
</PRE>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
report zz_arithmetic no standard page heading.
|
2
|
-
|
3
|
-
" Read in the two numbers from the user.
|
4
|
-
selection-screen begin of block input.
|
5
|
-
parameters: p_first type i,
|
6
|
-
p_second type i.
|
7
|
-
selection-screen end of block input.
|
8
|
-
|
9
|
-
" Set the text value that is displayed on input request.
|
10
|
-
at selection-screen output.
|
11
|
-
%_p_first_%_app_%-text = 'First Number: '.
|
12
|
-
%_p_second_%_app_%-text = 'Second Number: '.
|
13
|
-
|
14
|
-
end-of-selection.
|
15
|
-
data: lv_result type i.
|
16
|
-
lv_result = p_first + p_second.
|
17
|
-
write: / 'Addition:', lv_result.
|
18
|
-
lv_result = p_first - p_second.
|
19
|
-
write: / 'Substraction:', lv_result.
|
20
|
-
lv_result = p_first * p_second.
|
21
|
-
write: / 'Multiplication:', lv_result.
|
22
|
-
lv_result = p_first div p_second.
|
23
|
-
write: / 'Integer quotient:', lv_result. " Truncated towards zero.
|
24
|
-
lv_result = p_first mod p_second.
|
25
|
-
write: / 'Remainder:', lv_result.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
|
2
|
-
:set-state-ok t
|
3
|
-
|
4
|
-
(defun get-two-nums (state)
|
5
|
-
(mv-let (_ a state)
|
6
|
-
(read-object *standard-oi* state)
|
7
|
-
(declare (ignore _))
|
8
|
-
(mv-let (_ b state)
|
9
|
-
(read-object *standard-oi* state)
|
10
|
-
(declare (ignore _))
|
11
|
-
(mv a b state))))
|
12
|
-
|
13
|
-
(defun integer-arithmetic (state)
|
14
|
-
(mv-let (a b state)
|
15
|
-
(get-two-nums state)
|
16
|
-
(mv state
|
17
|
-
(progn$ (cw "Sum: ~x0~%" (+ a b))
|
18
|
-
(cw "Difference: ~x0~%" (- a b))
|
19
|
-
(cw "Product: ~x0~%" (* a b))
|
20
|
-
(cw "Quotient: ~x0~%" (floor a b))
|
21
|
-
(cw "Remainder: ~x0~%" (mod a b))))))
|
@@ -1,36 +0,0 @@
|
|
1
|
-
<syntaxhighlight lang="action!">DEFINE NO_KEY="255"
|
2
|
-
DEFINE KEY_Y="43"
|
3
|
-
DEFINE KEY_N="35"
|
4
|
-
|
5
|
-
PROC Main()
|
6
|
-
BYTE CH=$02FC ;Internal hardware value for last key pressed
|
7
|
-
BYTE k
|
8
|
-
INT a,b
|
9
|
-
|
10
|
-
DO
|
11
|
-
Print("Input integer value a=")
|
12
|
-
a=InputI()
|
13
|
-
Print("Input integer value b=")
|
14
|
-
b=InputI()
|
15
|
-
|
16
|
-
PrintF("a+b=%I%E",a+b)
|
17
|
-
PrintF("a-b=%I%E",a-b)
|
18
|
-
PrintF("a*b=%I%E",a*b)
|
19
|
-
PrintF("a/b=%I%E",a/b)
|
20
|
-
PrintF("a MOD b=%I%E",a MOD b)
|
21
|
-
|
22
|
-
PutE()
|
23
|
-
PrintE("Again? (Y/N)")
|
24
|
-
|
25
|
-
CH=NO_KEY ;Flush the keyboard
|
26
|
-
DO
|
27
|
-
k=CH
|
28
|
-
UNTIL k=KEY_Y OR k=KEY_N
|
29
|
-
OD
|
30
|
-
CH=NO_KEY ;Flush the keyboard
|
31
|
-
|
32
|
-
IF k=KEY_N THEN
|
33
|
-
EXIT
|
34
|
-
FI
|
35
|
-
OD
|
36
|
-
RETURN
|
@@ -1,20 +0,0 @@
|
|
1
|
-
with Ada.Text_Io;
|
2
|
-
with Ada.Integer_Text_IO;
|
3
|
-
|
4
|
-
procedure Integer_Arithmetic is
|
5
|
-
use Ada.Text_IO;
|
6
|
-
use Ada.Integer_Text_Io;
|
7
|
-
|
8
|
-
A, B : Integer;
|
9
|
-
begin
|
10
|
-
Get(A);
|
11
|
-
Get(B);
|
12
|
-
Put_Line("a+b = " & Integer'Image(A + B));
|
13
|
-
Put_Line("a-b = " & Integer'Image(A - B));
|
14
|
-
Put_Line("a*b = " & Integer'Image(A * B));
|
15
|
-
Put_Line("a/b = " & Integer'Image(A / B));
|
16
|
-
Put_Line("a mod b = " & Integer'Image(A mod B)); -- Sign matches B
|
17
|
-
Put_Line("remainder of a/b = " & Integer'Image(A rem B)); -- Sign matches A
|
18
|
-
Put_Line("a**b = " & Integer'Image(A ** B));
|
19
|
-
|
20
|
-
end Integer_Arithmetic;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
{{trans|C}}
|
2
|
-
{{works with|ALGOL 68|Revision 1 - no extensions to language used}}
|
3
|
-
{{works with|ALGOL 68G|Any - tested with release [http://sourceforge.net/projects/algol68/files/algol68g/algol68g-1.18.0/algol68g-1.18.0-9h.tiny.el5.centos.fc11.i386.rpm/download 1.18.0-9h.tiny]}}
|
4
|
-
{{wont work with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release [http://sourceforge.net/projects/algol68/files/algol68toc/algol68toc-1.8.8d/algol68toc-1.8-8d.fc9.i386.rpm/download 1.8-8d] - due to extensive use of FORMATted transput}}
|
5
|
-
main:(
|
6
|
-
LONG INT a=355, b=113;
|
7
|
-
printf(($"a PLUS b = a+b = "gl$, a + b));
|
8
|
-
printf(($"a MINUS b = a-b = "gl$, a - b));
|
9
|
-
printf(($"a TIMES b = a*b = a×b = "gl$, a * b));
|
10
|
-
printf(($"a DIV b = a/b = "gl$, a / b));
|
11
|
-
printf(($"a OVER b = a%b = a÷b = "gl$, a % b));
|
12
|
-
printf(($"a MOD b = a%*b = a%×b = a÷×b = a÷*b = "gl$, a %* b));
|
13
|
-
printf(($"a UP b = a**b = a↑b = "gl$, a ** b))
|
14
|
-
)
|
@@ -1,16 +0,0 @@
|
|
1
|
-
The Algol W integer division operator (called div) truncates towards zero.<br>
|
2
|
-
The result of the modulo operator (called rem) has the sign of the first operand when the operands have different signs.
|
3
|
-
begin
|
4
|
-
integer a, b;
|
5
|
-
write( "Enter 2 integers> " );
|
6
|
-
read( a, b );
|
7
|
-
write( "a + b: ", a + b ); % addition %
|
8
|
-
write( "a - b: ", a - b ); % subtraction %
|
9
|
-
write( "a * b: ", a * b ); % multiplication %
|
10
|
-
write( "a / b: ", a div b ); % integer division %
|
11
|
-
write( "a mod b: ", a rem b ); % modulo %
|
12
|
-
% the ** operator returns a real result even with integer operands %
|
13
|
-
% ( the right-hand operand must always be an integer, the left-hand %
|
14
|
-
% operand can be integer, real or complex ) %
|
15
|
-
write( "a ^ b: ", round( a ** b ) )
|
16
|
-
end.
|
@@ -1,14 +0,0 @@
|
|
1
|
-
PROC main()
|
2
|
-
DEF a, b, t
|
3
|
-
WriteF('A = ')
|
4
|
-
ReadStr(stdin, t)
|
5
|
-
a := Val(t)
|
6
|
-
WriteF('B = ')
|
7
|
-
ReadStr(stdin, t)
|
8
|
-
b := Val(t)
|
9
|
-
WriteF('A+B=\d\nA-B=\d\n', a+b, a-b)
|
10
|
-
WriteF('A*B=\d\nA/B=\d\n', a*b, a/b)
|
11
|
-
/* * and / are 16 bit ops; Mul and Div are 32bit ops */
|
12
|
-
WriteF('A*B=\d\nA/B=\d\n', Mul(a,b), Div(a,b))
|
13
|
-
WriteF('A mod B =\d\n', Mod(a,b))
|
14
|
-
ENDPROC
|
@@ -1,16 +0,0 @@
|
|
1
|
-
|
2
|
-
set i1 to (text returned of (display dialog "Enter an integer value" default answer "")) as integer
|
3
|
-
set i2 to (text returned of (display dialog "Enter another integer value" default answer "")) as integer
|
4
|
-
|
5
|
-
set sum to i1 + i2
|
6
|
-
set diff to i1 - i2
|
7
|
-
set prod to i1 * i2
|
8
|
-
set quot to i1 div i2 -- Rounds towards zero.
|
9
|
-
set remainder to i1 mod i2 -- The result's sign matches the dividend's.
|
10
|
-
set exp to i1 ^ i2 -- The result's always a real.
|
11
|
-
|
12
|
-
return {|integers|:{i1, i2}, difference:diff, product:prod, quotient:quot, remainder:remainder, exponientiation:exp}
|
13
|
-
|
14
|
-
{{output}}
|
15
|
-
|
16
|
-
{|integers|:{-57, 2}, difference:-59, product:-114, quotient:-28, remainder:-1, exponientiation:3249.0}
|