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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e45828c931d622a9180f373deb7ec906671eeff90004feb70e1b2336ada850eb
|
4
|
+
data.tar.gz: 85dbbe05da1c3b3568a9ac71625236f63b2ce065cc65b2eb3b440e388be355ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 024a1c561f566830e830aa627de0a63b0cc3dd80960a25a9bfabe6a2badbbcfd47014172e3d0b3cc8f647f39e6579662fafc90616535010119fabfe653eeda60
|
7
|
+
data.tar.gz: 83af1a7a1ae5f140d29cbe0503da644c6376a61622dd25b5afb412bb7461d6e27113d1acc22f371a11220f3e6647394204c2ec54e5cc95d1cf0d2b217b837781
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
This repository has two sections:
|
13
13
|
1. `zettacode` app source code
|
14
|
-
2. [Repository of processed files](zettacode.files) usign `zettacode`
|
14
|
+
2. [Repository of processed files](zettacode.files) usign `zettacode`. Every time, I will use `zettacode`, I will save results into `zettacode.files` folder.
|
15
15
|
|
16
16
|
# 1. Zettacode application
|
17
17
|
|
@@ -10,8 +10,8 @@ module Zettacode
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def self.call(filepath)
|
13
|
-
|
14
|
-
dirty_examples = scrap_examples_from
|
13
|
+
raw_content, to_folder = read_content_from filepath
|
14
|
+
dirty_examples = scrap_examples_from raw_content
|
15
15
|
clean_examples = clean dirty_examples
|
16
16
|
save_files clean_examples, to_folder
|
17
17
|
end
|
@@ -69,27 +69,30 @@ module Zettacode
|
|
69
69
|
|
70
70
|
# Clean syntaxhighlight tag
|
71
71
|
lines.each do |line|
|
72
|
+
next if line == ""
|
72
73
|
# <syntaxhighlight lang="LANG">
|
73
74
|
filter = /<syntaxhighlight\s+lang="([\w\d]+)">/
|
74
75
|
value = filter.match(line)&.captures&.first
|
75
|
-
|
76
|
-
line.tr!("</text>", "")
|
77
|
-
line.tr!("</revision>", "")
|
78
|
-
line.tr!("</page>", "")
|
79
|
-
line.tr!("</mediawiki>", "")
|
80
|
-
line = nil if line.strip.start_with? "<sha1>"
|
81
|
-
else
|
76
|
+
unless value.nil?
|
82
77
|
syntax = value
|
83
78
|
line.gsub!("<syntaxhighlight lang=\"#{value}\">", "")
|
79
|
+
else
|
80
|
+
line.gsub!("</text>", "")
|
81
|
+
line.gsub!("</revision>", "")
|
82
|
+
line.gsub!("</page>", "")
|
83
|
+
line.gsub!("</mediawiki>", "")
|
84
|
+
line = nil if line.strip.start_with? "<sha1>"
|
84
85
|
end
|
85
86
|
end
|
86
87
|
|
87
88
|
code = lines.join("\n")
|
88
|
-
code.
|
89
|
-
code.
|
90
|
-
code.
|
91
|
-
code.
|
92
|
-
code.
|
89
|
+
code.gsub!("</syntaxhighlight>", "")
|
90
|
+
code.gsub!("<pre>", "")
|
91
|
+
code.gsub!("</pre>", "")
|
92
|
+
code.gsub!("<", "<")
|
93
|
+
code.gsub!(">", ">")
|
94
|
+
code.gsub!("<code>", "'")
|
95
|
+
code.gsub!("</code>", "'")
|
93
96
|
examples << {
|
94
97
|
lang: lang,
|
95
98
|
filename: filename,
|
data/lib/zettacode/version.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
:
|
4
|
-
:
|
5
|
-
:
|
6
|
-
:
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
10
|
-
{
|
11
|
-
:
|
12
|
-
}:u
|
13
|
-
}
|
14
|
-
}
|
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,9 +1,9 @@
|
|
1
|
-
V
|
2
|
-
V b =
|
1
|
+
V a = Int(input())
|
2
|
+
V b = Int(input())
|
3
3
|
|
4
|
-
(‘ + b = ’( + b))
|
5
|
-
(‘ - b = ’( - b))
|
6
|
-
(‘ * b = ’( * b))
|
7
|
-
(‘
|
8
|
-
(‘ % b = ’( % b))
|
9
|
-
(‘ ^ b = ’( ^ b))
|
4
|
+
print(‘a + b = ’(a + b))
|
5
|
+
print(‘a - b = ’(a - b))
|
6
|
+
print(‘a * b = ’(a * b))
|
7
|
+
print(‘a / b = ’(a I/ b))
|
8
|
+
print(‘a % b = ’(a % b))
|
9
|
+
print(‘a ^ b = ’(a ^ b))
|
@@ -1,47 +1,47 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
(
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
A 32-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
*
|
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
17
|
ARITHINT CSECT
|
18
18
|
USING ARITHINT,R12
|
19
19
|
LR R12,R15
|
20
20
|
ADD L R1,A
|
21
|
-
A R1,B
|
21
|
+
A R1,B r1=a+b
|
22
22
|
XDECO R1,BUF
|
23
23
|
MVI BUF,C'+'
|
24
24
|
XPRNT BUF,12
|
25
25
|
SUB L R1,A
|
26
|
-
S R1,B
|
26
|
+
S R1,B r1=a-b
|
27
27
|
XDECO R1,BUF
|
28
28
|
MVI BUF,C'-'
|
29
29
|
XPRNT BUF,12
|
30
30
|
MUL L R1,A
|
31
|
-
M R0,B
|
32
|
-
XDECO R1,BUF
|
31
|
+
M R0,B r0r1=a*b
|
32
|
+
XDECO R1,BUF so r1 has the lower part
|
33
33
|
MVI BUF,C'*'
|
34
34
|
XPRNT BUF,12
|
35
35
|
DIV L R0,A
|
36
|
-
SRDA R0,32
|
37
|
-
D R0,B
|
38
|
-
XDECO R1,BUF
|
39
|
-
MVI BUF,C''
|
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
40
|
XPRNT BUF,12
|
41
41
|
MOD L R0,A
|
42
|
-
SRDA R0,32
|
43
|
-
D R0,B
|
44
|
-
XDECO R0,BUF
|
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
45
|
MVI BUF,C'R'
|
46
46
|
XPRNT BUF,12
|
47
47
|
RETURN XR R15,R15
|
@@ -52,4 +52,4 @@ B DC F'11'
|
|
52
52
|
BUF DC CL12' '
|
53
53
|
YREGS
|
54
54
|
END ARITHINT
|
55
|
-
|
55
|
+
Inputs are in the code: a=53, b=11
|
@@ -1,50 +1,50 @@
|
|
1
|
-
|
2
|
-
|
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
3
|
TXA
|
4
4
|
PHA
|
5
|
-
JSR
|
6
|
-
|
7
|
-
|
5
|
+
JSR GetUserInput ;routine not implemented
|
6
|
+
;two integers now in memory locations A and B
|
7
|
+
;addition
|
8
8
|
LDA A
|
9
9
|
CLC
|
10
10
|
ADC B
|
11
|
-
JSR
|
11
|
+
JSR DisplayAddition ;routine not implemented
|
12
12
|
|
13
|
-
|
13
|
+
;subtraction
|
14
14
|
LDA A
|
15
15
|
SEC
|
16
16
|
SBC B
|
17
|
-
JSR
|
17
|
+
JSR DisplaySubtraction ;routine not implemented
|
18
18
|
|
19
|
-
|
19
|
+
;multiplication - overflow not handled
|
20
20
|
LDA A
|
21
21
|
LDX B
|
22
|
-
|
22
|
+
Multiply: CLC
|
23
23
|
ADC A
|
24
24
|
DEX
|
25
|
-
BNE
|
26
|
-
JSR
|
25
|
+
BNE Multiply
|
26
|
+
JSR DisplayMultiply ;routine not implemented
|
27
27
|
|
28
|
-
|
28
|
+
;division - rounds up
|
29
29
|
LDA A
|
30
30
|
LDX #0
|
31
31
|
SEC
|
32
|
-
|
32
|
+
Divide: INX
|
33
33
|
SBC B
|
34
|
-
BCS
|
35
|
-
TXA
|
36
|
-
JSR
|
34
|
+
BCS Divide
|
35
|
+
TXA ;get result into accumulator
|
36
|
+
JSR DisplayDivide ;routine not implemented
|
37
37
|
|
38
|
-
|
38
|
+
;modulus
|
39
39
|
LDA A
|
40
40
|
SEC
|
41
|
-
|
42
|
-
BCS
|
41
|
+
Modulus: SBC B
|
42
|
+
BCS Modulus
|
43
43
|
ADC B
|
44
|
-
JSR
|
44
|
+
JSR DisplayModulus ;routine not implemented
|
45
45
|
|
46
|
-
PLA
|
46
|
+
PLA ;restore accumulator and X register from stack
|
47
47
|
TAX
|
48
48
|
PLA
|
49
|
-
RTS
|
50
|
-
|
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 +1,24 @@
|
|
1
|
-
ADD.L D0,D1
|
2
|
-
|
3
|
-
SUB.L D1,D0
|
4
|
-
|
5
|
-
MULU D0,D1
|
6
|
-
|
7
|
-
DIVU D1,D0
|
8
|
-
|
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
9
|
MODULUS:
|
10
10
|
DIVU D1,D0
|
11
|
-
SWAP D0
|
11
|
+
SWAP D0 ;swap the order of the 16-bit halves of D0.
|
12
12
|
RTS
|
13
13
|
|
14
|
-
|
14
|
+
Exponentiation doesn't exist but can be implemented in a similar fashion to multiplication on the 6502:
|
15
15
|
|
16
|
-
|
17
|
-
D0
|
16
|
+
Exponent:
|
17
|
+
;raises D0 to the D1 power. No overflow protection.
|
18
18
|
MOVE.L D0,D2
|
19
19
|
SUBQ.L #1,D1
|
20
|
-
|
20
|
+
loop_exponent:
|
21
21
|
MULU D0,D2
|
22
|
-
DBRA D1,
|
23
|
-
|
22
|
+
DBRA D1,loop_exponent
|
23
|
+
;output is in D2
|
24
24
|
RTS
|
@@ -1,137 +1,137 @@
|
|
1
|
-
{{
|
2
|
-
="
|
3
|
-
|
4
|
-
|
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
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
.
|
6
|
+
/*******************************************/
|
7
|
+
/* Constantes file */
|
8
|
+
/*******************************************/
|
9
|
+
/* for this file see task include a file in language AArch64 assembly*/
|
10
|
+
.include "../includeConstantesARM64.inc"
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
.
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
.
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
.
|
31
|
-
|
32
|
-
|
33
|
-
.
|
34
|
-
.
|
35
|
-
:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
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
93
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
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
104
|
|
105
|
-
|
105
|
+
mov x0,0 // return code
|
106
106
|
b 100f
|
107
|
-
:
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
100:
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
.
|
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
128
|
|
129
|
-
{{
|
130
|
-
PRE
|
131
|
-
@
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
:
|
136
|
-
:
|
137
|
-
PRE
|
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>
|