zettacode 0.1.3 → 0.1.4
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/files.zettacode2/arithmetic.integer/0815}.txt +14 -0
- data/files.zettacode2/arithmetic.integer/11l}.txt +9 -0
- data/files.zettacode2/arithmetic.integer/360_assembly.txt +55 -0
- data/files.zettacode2/arithmetic.integer/6502_assembly}.txt +50 -0
- data/files.zettacode2/arithmetic.integer/68000_assembly.txt +24 -0
- data/files.zettacode2/arithmetic.integer/aarch64_assembly.txt +137 -0
- data/files.zettacode2/arithmetic.integer/abap.txt +25 -0
- data/files.zettacode2/arithmetic.integer/acl2.txt +21 -0
- data/files.zettacode2/arithmetic.integer/action!.txt +36 -0
- data/files.zettacode2/arithmetic.integer/ada.txt +20 -0
- data/files.zettacode2/arithmetic.integer/aikido.txt +10 -0
- data/files.zettacode2/arithmetic.integer/algol_68.txt +14 -0
- data/files.zettacode2/arithmetic.integer/algol_w.txt +16 -0
- data/files.zettacode2/arithmetic.integer/amigae.txt +14 -0
- data/files.zettacode2/arithmetic.integer/apl.txt +7 -0
- data/files.zettacode2/arithmetic.integer/applescript.txt +16 -0
- data/files.zettacode2/arithmetic.integer/arm_assembly.txt +293 -0
- data/files.zettacode2/arithmetic.integer/arturo.txt +10 -0
- data/files.zettacode2/arithmetic.integer/asymptote.txt +17 -0
- data/files.zettacode2/arithmetic.integer/autohotkey.txt +20 -0
- data/files.zettacode2/arithmetic.integer/avail.txt +13 -0
- data/files.zettacode2/arithmetic.integer/awk.txt +12 -0
- data/files.zettacode2/arithmetic.integer/basic.txt +56 -0
- data/files.zettacode2/arithmetic.integer/basic256.txt +11 -0
- data/files.zettacode2/arithmetic.integer/batch_file.txt +7 -0
- data/files.zettacode2/arithmetic.integer/bbc_basic.txt +9 -0
- data/files.zettacode2/arithmetic.integer/bc.txt +8 -0
- data/files.zettacode2/arithmetic.integer/befunge.txt +6 -0
- data/files.zettacode2/arithmetic.integer/bqn.txt +22 -0
- data/files.zettacode2/arithmetic.integer/bracmat.txt +19 -0
- data/files.zettacode2/arithmetic.integer/brat.txt +8 -0
- data/files.zettacode2/arithmetic.integer/c++.txt +12 -0
- data/files.zettacode2/arithmetic.integer/c.txt +17 -0
- data/files.zettacode2/arithmetic.integer/c_sharp|c#.txt +17 -0
- data/files.zettacode2/arithmetic.integer/chef.txt +37 -0
- data/files.zettacode2/arithmetic.integer/clipper.txt +11 -0
- data/files.zettacode2/arithmetic.integer/clojure.txt +18 -0
- data/files.zettacode2/arithmetic.integer/cobol.txt +44 -0
- data/files.zettacode2/arithmetic.integer/common_lisp.txt +29 -0
- data/files.zettacode2/arithmetic.integer/component_pascal.txt +32 -0
- data/files.zettacode2/arithmetic.integer/crystal.txt +11 -0
- data/files.zettacode2/arithmetic.integer/d.txt +17 -0
- data/files.zettacode2/arithmetic.integer/dc.txt +10 -0
- data/files.zettacode2/arithmetic.integer/dcl.txt +8 -0
- data/files.zettacode2/arithmetic.integer/delphi.txt +19 -0
- data/files.zettacode2/arithmetic.integer/dwscript.txt +9 -0
- data/files.zettacode2/arithmetic.integer/dyalect.txt +13 -0
- data/files.zettacode2/arithmetic.integer/e.txt +9 -0
- data/files.zettacode2/arithmetic.integer/easylang.txt +9 -0
- data/files.zettacode2/arithmetic.integer/ecl.txt +33 -0
- data/files.zettacode2/arithmetic.integer/efene.txt +16 -0
- data/files.zettacode2/arithmetic.integer/eiffel.txt +32 -0
- data/files.zettacode2/arithmetic.integer/elena.txt +16 -0
- data/files.zettacode2/arithmetic.integer/elixir.txt +26 -0
- data/files.zettacode2/arithmetic.integer/emojicode.txt +9 -0
- data/files.zettacode2/arithmetic.integer/erlang.txt +15 -0
- data/files.zettacode2/arithmetic.integer/erre.txt +20 -0
- data/files.zettacode2/arithmetic.integer/euphoria.txt +13 -0
- data/files.zettacode2/arithmetic.integer/excel.txt +32 -0
- data/files.zettacode2/arithmetic.integer/f_sharp|f#.txt +15 -0
- data/files.zettacode2/arithmetic.integer/factor.txt +17 -0
- data/files.zettacode2/arithmetic.integer/false.txt +8 -0
- data/files.zettacode2/arithmetic.integer/fermat.txt +10 -0
- data/files.zettacode2/arithmetic.integer/forth.txt +19 -0
- data/files.zettacode2/arithmetic.integer/fortran.txt +15 -0
- data/files.zettacode2/arithmetic.integer/freebasic.txt +18 -0
- data/files.zettacode2/arithmetic.integer/friendly_interactive_shell.txt +10 -0
- data/files.zettacode2/arithmetic.integer/frink.txt +10 -0
- data/files.zettacode2/arithmetic.integer/futurebasic.txt +158 -0
- data/files.zettacode2/arithmetic.integer/gambas.txt +30 -0
- data/files.zettacode2/arithmetic.integer/gap.txt +15 -0
- data/files.zettacode2/arithmetic.integer/genie.txt +23 -0
- data/files.zettacode2/arithmetic.integer/george.txt +7 -0
- data/files.zettacode2/arithmetic.integer/go.txt +66 -0
- data/files.zettacode2/arithmetic.integer/groovy.txt +18 -0
- data/files.zettacode2/arithmetic.integer/harbour.txt +11 -0
- data/files.zettacode2/arithmetic.integer/haskell.txt +16 -0
- data/files.zettacode2/arithmetic.integer/haxe.txt +13 -0
- data/files.zettacode2/arithmetic.integer/hicest.txt +26 -0
- data/files.zettacode2/arithmetic.integer/holyc.txt +14 -0
- data/files.zettacode2/arithmetic.integer/i.txt +11 -0
- data/files.zettacode2/arithmetic.integer/icon}}_and_{{header|unicon.txt +13 -0
- data/files.zettacode2/arithmetic.integer/inform_7.txt +27 -0
- data/files.zettacode2/arithmetic.integer/j.txt +18 -0
- data/files.zettacode2/arithmetic.integer/java.txt +22 -0
- data/files.zettacode2/arithmetic.integer/javascript.txt +30 -0
- data/files.zettacode2/arithmetic.integer/jq.txt +17 -0
- data/files.zettacode2/arithmetic.integer/jsish.txt +33 -0
- data/files.zettacode2/arithmetic.integer/julia.txt +5 -0
- data/files.zettacode2/arithmetic.integer/kotlin.txt +41 -0
- data/files.zettacode2/arithmetic.integer/labview.txt +2 -0
- data/files.zettacode2/arithmetic.integer/lambdatalk.txt +23 -0
- data/files.zettacode2/arithmetic.integer/lasso.txt +8 -0
- data/files.zettacode2/arithmetic.integer/lfe.txt +32 -0
- data/files.zettacode2/arithmetic.integer/liberty_basic.txt +12 -0
- data/files.zettacode2/arithmetic.integer/lil.txt +14 -0
- data/files.zettacode2/arithmetic.integer/lingo.txt +10 -0
- data/files.zettacode2/arithmetic.integer/little.txt +15 -0
- data/files.zettacode2/arithmetic.integer/livecode.txt +17 -0
- data/files.zettacode2/arithmetic.integer/logo.txt +11 -0
- data/files.zettacode2/arithmetic.integer/lse64.txt +10 -0
- data/files.zettacode2/arithmetic.integer/lua.txt +9 -0
- data/files.zettacode2/arithmetic.integer/m2000_interpreter.txt +54 -0
- data/files.zettacode2/arithmetic.integer/m4.txt +17 -0
- data/files.zettacode2/arithmetic.integer/maple.txt +25 -0
- data/files.zettacode2/arithmetic.integer/mathcad.txt +51 -0
- data/files.zettacode2/arithmetic.integer/mathematica}}-{{header|wolfram_language.txt +18 -0
- data/files.zettacode2/arithmetic.integer/matlab}}_-_{{header|octave.txt +8 -0
- data/files.zettacode2/arithmetic.integer/maxima.txt +10 -0
- data/files.zettacode2/arithmetic.integer/maxscript.txt +8 -0
- data/files.zettacode2/arithmetic.integer/mercury.txt +44 -0
- data/files.zettacode2/arithmetic.integer/metafont.txt +19 -0
- data/files.zettacode2/arithmetic.integer/min.txt +5 -0
- data/files.zettacode2/arithmetic.integer/ml-i.txt +18 -0
- data/files.zettacode2/arithmetic.integer/modula-2.txt +31 -0
- data/files.zettacode2/arithmetic.integer/modula-3.txt +15 -0
- data/files.zettacode2/arithmetic.integer/mumps.txt +52 -0
- data/files.zettacode2/arithmetic.integer/nanoquery.txt +13 -0
- data/files.zettacode2/arithmetic.integer/nemerle.txt +18 -0
- data/files.zettacode2/arithmetic.integer/netrexx.txt +14 -0
- data/files.zettacode2/arithmetic.integer/newlisp.txt +26 -0
- data/files.zettacode2/arithmetic.integer/nial.txt +23 -0
- data/files.zettacode2/arithmetic.integer/nim.txt +25 -0
- data/files.zettacode2/arithmetic.integer/nsis.txt +25 -0
- data/files.zettacode2/arithmetic.integer/oberon-2.txt +14 -0
- data/files.zettacode2/arithmetic.integer/objeck.txt +17 -0
- data/files.zettacode2/arithmetic.integer/ocaml.txt +9 -0
- data/files.zettacode2/arithmetic.integer/oforth.txt +9 -0
- data/files.zettacode2/arithmetic.integer/ol.txt +23 -0
- data/files.zettacode2/arithmetic.integer/onyx.txt +44 -0
- data/files.zettacode2/arithmetic.integer/openscad.txt +6 -0
- data/files.zettacode2/arithmetic.integer/oz.txt +19 -0
- data/files.zettacode2/arithmetic.integer/panda.txt +2 -0
- data/files.zettacode2/arithmetic.integer/pari-gp.txt +9 -0
- data/files.zettacode2/arithmetic.integer/pascal.txt +14 -0
- data/files.zettacode2/arithmetic.integer/perl.txt +12 -0
- data/files.zettacode2/arithmetic.integer/phix.txt +49 -0
- data/files.zettacode2/arithmetic.integer/phixmonti.txt +14 -0
- data/files.zettacode2/arithmetic.integer/phl.txt +20 -0
- data/files.zettacode2/arithmetic.integer/php.txt +13 -0
- data/files.zettacode2/arithmetic.integer/picat.txt +8 -0
- data/files.zettacode2/arithmetic.integer/picolisp.txt +8 -0
- data/files.zettacode2/arithmetic.integer/piet.txt +38 -0
- data/files.zettacode2/arithmetic.integer/pl-i.txt +8 -0
- data/files.zettacode2/arithmetic.integer/plain_english.txt +26 -0
- data/files.zettacode2/arithmetic.integer/pop11.txt +12 -0
- data/files.zettacode2/arithmetic.integer/postscript.txt +10 -0
- data/files.zettacode2/arithmetic.integer/powershell.txt +15 -0
- data/files.zettacode2/arithmetic.integer/processing.txt +7 -0
- data/files.zettacode2/arithmetic.integer/prodos.txt +35 -0
- data/files.zettacode2/arithmetic.integer/prolog.txt +33 -0
- data/files.zettacode2/arithmetic.integer/purebasic.txt +17 -0
- data/files.zettacode2/arithmetic.integer/python.txt +47 -0
- data/files.zettacode2/arithmetic.integer/qb64.txt +21 -0
- data/files.zettacode2/arithmetic.integer/quackery.txt +12 -0
- data/files.zettacode2/arithmetic.integer/r.txt +11 -0
- data/files.zettacode2/arithmetic.integer/racket.txt +8 -0
- data/files.zettacode2/arithmetic.integer/raku.txt +12 -0
- data/files.zettacode2/arithmetic.integer/raven.txt +9 -0
- data/files.zettacode2/arithmetic.integer/rebol.txt +51 -0
- data/files.zettacode2/arithmetic.integer/relation.txt +11 -0
- data/files.zettacode2/arithmetic.integer/rescript.txt +15 -0
- data/files.zettacode2/arithmetic.integer/retro.txt +10 -0
- data/files.zettacode2/arithmetic.integer/rexx.txt +47 -0
- data/files.zettacode2/arithmetic.integer/ring.txt +11 -0
- data/files.zettacode2/arithmetic.integer/robotic.txt +13 -0
- data/files.zettacode2/arithmetic.integer/ruby.txt +12 -0
- data/files.zettacode2/arithmetic.integer/run_basic.txt +9 -0
- data/files.zettacode2/arithmetic.integer/rust.txt +15 -0
- data/files.zettacode2/arithmetic.integer/sass-scss.txt +36 -0
- data/files.zettacode2/arithmetic.integer/scala.txt +9 -0
- data/files.zettacode2/arithmetic.integer/scheme.txt +27 -0
- data/files.zettacode2/arithmetic.integer/seed7.txt +20 -0
- data/files.zettacode2/arithmetic.integer/sensetalk.txt +12 -0
- data/files.zettacode2/arithmetic.integer/sidef.txt +6 -0
- data/files.zettacode2/arithmetic.integer/slate.txt +9 -0
- data/files.zettacode2/arithmetic.integer/smalltalk.txt +28 -0
- data/files.zettacode2/arithmetic.integer/smart_basic.txt +18 -0
- data/files.zettacode2/arithmetic.integer/snobol4.txt +12 -0
- data/files.zettacode2/arithmetic.integer/snusp.txt +61 -0
- data/files.zettacode2/arithmetic.integer/sql.txt +68 -0
- data/files.zettacode2/arithmetic.integer/ssem.txt +15 -0
- data/files.zettacode2/arithmetic.integer/standard_ml.txt +13 -0
- data/files.zettacode2/arithmetic.integer/swift.txt +11 -0
- data/files.zettacode2/arithmetic.integer/tcl.txt +19 -0
- data/files.zettacode2/arithmetic.integer/terraform.txt +33 -0
- data/files.zettacode2/arithmetic.integer/ti-83_basic.txt +14 -0
- data/files.zettacode2/arithmetic.integer/ti-89_basic.txt +8 -0
- data/files.zettacode2/arithmetic.integer/toka.txt +7 -0
- data/files.zettacode2/arithmetic.integer/tuscript.txt +9 -0
- data/files.zettacode2/arithmetic.integer/unix_shell.txt +29 -0
- data/files.zettacode2/arithmetic.integer/ursa.txt +27 -0
- data/files.zettacode2/arithmetic.integer/v_(vlang).txt +29 -0
- data/files.zettacode2/arithmetic.integer/vba.txt +19 -0
- data/files.zettacode2/arithmetic.integer/vbscript.txt +51 -0
- data/files.zettacode2/arithmetic.integer/vedit_macro_language.txt +8 -0
- data/files.zettacode2/arithmetic.integer/verilog.txt +26 -0
- data/files.zettacode2/arithmetic.integer/vim_script.txt +10 -0
- data/files.zettacode2/arithmetic.integer/visual_basic_.net.txt +14 -0
- data/files.zettacode2/arithmetic.integer/wart.txt +9 -0
- data/files.zettacode2/arithmetic.integer/wren.txt +16 -0
- data/files.zettacode2/arithmetic.integer/x86_assembly.txt +23 -0
- data/files.zettacode2/arithmetic.integer/xlisp.txt +17 -0
- data/files.zettacode2/arithmetic.integer/xpl0.txt +10 -0
- data/files.zettacode2/arithmetic.integer/xslt.txt +10 -0
- data/files.zettacode2/arithmetic.integer/yabasic.txt +11 -0
- data/files.zettacode2/arithmetic.integer/yorick.txt +8 -0
- data/files.zettacode2/arithmetic.integer/zkl.txt +7 -0
- data/files.zettacode2/arithmetic.integer/zonnon.txt +13 -0
- data/files.zettacode2/arithmetic.integer/zx_spectrum_basic.txt +11 -0
- data/files.zettacode2/arithmetic.integer//320/274/320/272-61-52.txt +7 -0
- data/files.zettacode2/hello_world.text/0815.txt +7 -0
- data/files.zettacode2/hello_world.text/11l.txt +1 -0
- data/files.zettacode2/hello_world.text/360_assembly.txt +17 -0
- data/files.zettacode2/hello_world.text/4dos_batch.txt +1 -0
- data/files.zettacode2/hello_world.text/6502_assembly.txt +22 -0
- data/files.zettacode2/hello_world.text/6800_assembly.txt +31 -0
- data/files.zettacode2/hello_world.text/8080_assembly.txt +12 -0
- data/files.zettacode2/hello_world.text/8086_assembly.txt +30 -0
- data/files.zettacode2/hello_world.text/8th.txt +1 -0
- data/files.zettacode2/hello_world.text/aarch64_assembly.txt +22 -0
- data/files.zettacode2/hello_world.text/abap.txt +2 -0
- data/files.zettacode2/hello_world.text/acl2.txt +2 -0
- data/files.zettacode2/hello_world.text/action!.txt +3 -0
- data/files.zettacode2/hello_world.text/actionscript.txt +1 -0
- data/files.zettacode2/hello_world.text/ada.txt +6 -0
- data/files.zettacode2/hello_world.text/agda.txt +14 -0
- data/files.zettacode2/hello_world.text/agena.txt +1 -0
- data/files.zettacode2/hello_world.text/aime.txt +11 -0
- data/files.zettacode2/hello_world.text/algae.txt +1 -0
- data/files.zettacode2/hello_world.text/algol-m.txt +3 -0
- data/files.zettacode2/hello_world.text/algol_60.txt +4 -0
- data/files.zettacode2/hello_world.text/algol_68.txt +3 -0
- data/files.zettacode2/hello_world.text/algol_w.txt +3 -0
- data/files.zettacode2/hello_world.text/alore.txt +1 -0
- data/files.zettacode2/hello_world.text/amazing_hopper.txt +21 -0
- data/files.zettacode2/hello_world.text/ambienttalk.txt +1 -0
- data/files.zettacode2/hello_world.text/amigae.txt +3 -0
- data/files.zettacode2/hello_world.text/angelscript.txt +1 -0
- data/files.zettacode2/hello_world.text/antlang.txt +3 -0
- data/files.zettacode2/hello_world.text/anyways.txt +4 -0
- data/files.zettacode2/hello_world.text/apl.txt +1 -0
- data/files.zettacode2/hello_world.text/applescript.txt +5 -0
- data/files.zettacode2/hello_world.text/applesoft_basic.txt +5 -0
- data/files.zettacode2/hello_world.text/apricot.txt +1 -0
- data/files.zettacode2/hello_world.text/arc.txt +1 -0
- data/files.zettacode2/hello_world.text/arendelle.txt +1 -0
- data/files.zettacode2/hello_world.text/argile.txt +3 -0
- data/files.zettacode2/hello_world.text/arm_assembly.txt +13 -0
- data/files.zettacode2/hello_world.text/arnoldc.txt +3 -0
- data/files.zettacode2/hello_world.text/arturo.txt +1 -0
- data/files.zettacode2/hello_world.text/asciidots.txt +4 -0
- data/files.zettacode2/hello_world.text/astro.txt +1 -0
- data/files.zettacode2/hello_world.text/asymptote.txt +2 -0
- data/files.zettacode2/hello_world.text/ats.txt +1 -0
- data/files.zettacode2/hello_world.text/autohotkey.txt +9 -0
- data/files.zettacode2/hello_world.text/autoit.txt +1 -0
- data/files.zettacode2/hello_world.text/autolisp.txt +1 -0
- data/files.zettacode2/hello_world.text/avail.txt +1 -0
- data/files.zettacode2/hello_world.text/awk.txt +30 -0
- data/files.zettacode2/hello_world.text/axe.txt +2 -0
- data/files.zettacode2/hello_world.text/b.txt +6 -0
- data/files.zettacode2/hello_world.text/b4x.txt +1 -0
- data/files.zettacode2/hello_world.text/babel.txt +2 -0
- data/files.zettacode2/hello_world.text/bash.txt +1 -0
- data/files.zettacode2/hello_world.text/basic.txt +14 -0
- data/files.zettacode2/hello_world.text/basic256.txt +1 -0
- data/files.zettacode2/hello_world.text/batch_file.txt +6 -0
- data/files.zettacode2/hello_world.text/battlestar.txt +4 -0
- data/files.zettacode2/hello_world.text/bbc_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/bc.txt +2 -0
- data/files.zettacode2/hello_world.text/bcpl.txt +6 -0
- data/files.zettacode2/hello_world.text/beef.txt +11 -0
- data/files.zettacode2/hello_world.text/beeswax.txt +23 -0
- data/files.zettacode2/hello_world.text/befunge.txt +1 -0
- data/files.zettacode2/hello_world.text/binary_lambda_calculus.txt +2 -0
- data/files.zettacode2/hello_world.text/bird.txt +6 -0
- data/files.zettacode2/hello_world.text/blade.txt +6 -0
- data/files.zettacode2/hello_world.text/blast.txt +10 -0
- data/files.zettacode2/hello_world.text/blue.txt +18 -0
- data/files.zettacode2/hello_world.text/blz.txt +1 -0
- data/files.zettacode2/hello_world.text/bml.txt +1 -0
- data/files.zettacode2/hello_world.text/boo.txt +1 -0
- data/files.zettacode2/hello_world.text/bootbasic.txt +1 -0
- data/files.zettacode2/hello_world.text/bqn.txt +4 -0
- data/files.zettacode2/hello_world.text/brace.txt +4 -0
- data/files.zettacode2/hello_world.text/bracmat.txt +1 -0
- data/files.zettacode2/hello_world.text/brainf***.txt +83 -0
- data/files.zettacode2/hello_world.text/brat.txt +1 -0
- data/files.zettacode2/hello_world.text/brlcad.txt +6 -0
- data/files.zettacode2/hello_world.text/burlesque.txt +6 -0
- data/files.zettacode2/hello_world.text/c++-cli.txt +5 -0
- data/files.zettacode2/hello_world.text/c++.txt +5 -0
- data/files.zettacode2/hello_world.text/c.txt +37 -0
- data/files.zettacode2/hello_world.text/c1r.txt +1 -0
- data/files.zettacode2/hello_world.text/c2.txt +7 -0
- data/files.zettacode2/hello_world.text/c3.txt +7 -0
- data/files.zettacode2/hello_world.text/c_sharp|c#.txt +19 -0
- data/files.zettacode2/hello_world.text/casio_basic.txt +3 -0
- data/files.zettacode2/hello_world.text/cat.txt +1 -0
- data/files.zettacode2/hello_world.text/cduce.txt +1 -0
- data/files.zettacode2/hello_world.text/cfengine.txt +11 -0
- data/files.zettacode2/hello_world.text/chapel.txt +1 -0
- data/files.zettacode2/hello_world.text/chef.txt +36 -0
- data/files.zettacode2/hello_world.text/chuck.txt +1 -0
- data/files.zettacode2/hello_world.text/cind.txt +6 -0
- data/files.zettacode2/hello_world.text/clay.txt +3 -0
- data/files.zettacode2/hello_world.text/clean.txt +1 -0
- data/files.zettacode2/hello_world.text/clio.txt +1 -0
- data/files.zettacode2/hello_world.text/clipper.txt +1 -0
- data/files.zettacode2/hello_world.text/clips.txt +1 -0
- data/files.zettacode2/hello_world.text/clojure.txt +1 -0
- data/files.zettacode2/hello_world.text/clu.txt +4 -0
- data/files.zettacode2/hello_world.text/cmake.txt +5 -0
- data/files.zettacode2/hello_world.text/cobol.txt +22 -0
- data/files.zettacode2/hello_world.text/cobra.txt +3 -0
- data/files.zettacode2/hello_world.text/coffeescript.txt +4 -0
- data/files.zettacode2/hello_world.text/coldfusion.txt +1 -0
- data/files.zettacode2/hello_world.text/comal.txt +1 -0
- data/files.zettacode2/hello_world.text/comefrom0x10.txt +3 -0
- data/files.zettacode2/hello_world.text/commodore_basic.txt +5 -0
- data/files.zettacode2/hello_world.text/common_lisp.txt +18 -0
- data/files.zettacode2/hello_world.text/component_pascal.txt +10 -0
- data/files.zettacode2/hello_world.text/coq.txt +5 -0
- data/files.zettacode2/hello_world.text/corescript.txt +1 -0
- data/files.zettacode2/hello_world.text/cowgol.txt +4 -0
- data/files.zettacode2/hello_world.text/crack.txt +4 -0
- data/files.zettacode2/hello_world.text/creative_basic.txt +15 -0
- data/files.zettacode2/hello_world.text/crystal.txt +1 -0
- data/files.zettacode2/hello_world.text/d.txt +6 -0
- data/files.zettacode2/hello_world.text/dafny.txt +6 -0
- data/files.zettacode2/hello_world.text/dao.txt +1 -0
- data/files.zettacode2/hello_world.text/dart.txt +4 -0
- data/files.zettacode2/hello_world.text/dataweave.txt +1 -0
- data/files.zettacode2/hello_world.text/dbl.txt +15 -0
- data/files.zettacode2/hello_world.text/dc.txt +3 -0
- data/files.zettacode2/hello_world.text/dcl.txt +1 -0
- data/files.zettacode2/hello_world.text/ddnc.txt +40 -0
- data/files.zettacode2/hello_world.text/delphi.txt +7 -0
- data/files.zettacode2/hello_world.text/deviousyarn.txt +1 -0
- data/files.zettacode2/hello_world.text/dibol-11.txt +14 -0
- data/files.zettacode2/hello_world.text/diego.txt +12 -0
- data/files.zettacode2/hello_world.text/div_games_studio.txt +12 -0
- data/files.zettacode2/hello_world.text/dm.txt +5 -0
- data/files.zettacode2/hello_world.text/draco.txt +3 -0
- data/files.zettacode2/hello_world.text/dragon.txt +3 -0
- data/files.zettacode2/hello_world.text/dwscript.txt +3 -0
- data/files.zettacode2/hello_world.text/dyalect.txt +1 -0
- data/files.zettacode2/hello_world.text/dylan.net.txt +28 -0
- data/files.zettacode2/hello_world.text/dylan.txt +5 -0
- data/files.zettacode2/hello_world.text/d/303/251j/303/240_vu.txt +1 -0
- data/files.zettacode2/hello_world.text/e.txt +3 -0
- data/files.zettacode2/hello_world.text/easylang.txt +2 -0
- data/files.zettacode2/hello_world.text/ec.txt +7 -0
- data/files.zettacode2/hello_world.text/echolisp.txt +3 -0
- data/files.zettacode2/hello_world.text/ecl.txt +3 -0
- data/files.zettacode2/hello_world.text/ecstasy.txt +8 -0
- data/files.zettacode2/hello_world.text/edsac_order_code.txt +34 -0
- data/files.zettacode2/hello_world.text/efene.txt +10 -0
- data/files.zettacode2/hello_world.text/egel.txt +3 -0
- data/files.zettacode2/hello_world.text/egison.txt +6 -0
- data/files.zettacode2/hello_world.text/egl.txt +9 -0
- data/files.zettacode2/hello_world.text/eiffel.txt +11 -0
- data/files.zettacode2/hello_world.text/ela.txt +2 -0
- data/files.zettacode2/hello_world.text/elan.txt +1 -0
- data/files.zettacode2/hello_world.text/elastic.txt +20 -0
- data/files.zettacode2/hello_world.text/elena.txt +5 -0
- data/files.zettacode2/hello_world.text/elisa.txt +1 -0
- data/files.zettacode2/hello_world.text/elixir.txt +3 -0
- data/files.zettacode2/hello_world.text/elm.txt +1 -0
- data/files.zettacode2/hello_world.text/emacs_lisp.txt +6 -0
- data/files.zettacode2/hello_world.text/emojicode.txt +3 -0
- data/files.zettacode2/hello_world.text/erlang.txt +1 -0
- data/files.zettacode2/hello_world.text/erre.txt +7 -0
- data/files.zettacode2/hello_world.text/euler_math_toolbox.txt +4 -0
- data/files.zettacode2/hello_world.text/extended_brainf***.txt +2 -0
- data/files.zettacode2/hello_world.text/ezhil.txt +5 -0
- data/files.zettacode2/hello_world.text/f_sharp|f#.txt +3 -0
- data/files.zettacode2/hello_world.text/factor.txt +1 -0
- data/files.zettacode2/hello_world.text/falcon.txt +4 -0
- data/files.zettacode2/hello_world.text/false.txt +2 -0
- data/files.zettacode2/hello_world.text/fantom.txt +10 -0
- data/files.zettacode2/hello_world.text/fennel.txt +1 -0
- data/files.zettacode2/hello_world.text/ferite.txt +3 -0
- data/files.zettacode2/hello_world.text/fermat.txt +1 -0
- data/files.zettacode2/hello_world.text/fexl.txt +1 -0
- data/files.zettacode2/hello_world.text/fhidwfe.txt +1 -0
- data/files.zettacode2/hello_world.text/fish.txt +9 -0
- data/files.zettacode2/hello_world.text/focal.txt +1 -0
- data/files.zettacode2/hello_world.text/forth.txt +5 -0
- data/files.zettacode2/hello_world.text/fortran.txt +16 -0
- data/files.zettacode2/hello_world.text/fortress.txt +3 -0
- data/files.zettacode2/hello_world.text/free_pascal.txt +21 -0
- data/files.zettacode2/hello_world.text/freebasic.txt +3 -0
- data/files.zettacode2/hello_world.text/frege.txt +5 -0
- data/files.zettacode2/hello_world.text/friendly_interactive_shell.txt +2 -0
- data/files.zettacode2/hello_world.text/frink.txt +3 -0
- data/files.zettacode2/hello_world.text/funl.txt +2 -0
- data/files.zettacode2/hello_world.text/furor.txt +1 -0
- data/files.zettacode2/hello_world.text/futurebasic.txt +4 -0
- data/files.zettacode2/hello_world.text/fuze_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/gambas.txt +6 -0
- data/files.zettacode2/hello_world.text/gap.txt +10 -0
- data/files.zettacode2/hello_world.text/gb_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/gecho.txt +1 -0
- data/files.zettacode2/hello_world.text/gema.txt +5 -0
- data/files.zettacode2/hello_world.text/genie.txt +4 -0
- data/files.zettacode2/hello_world.text/gentee.txt +4 -0
- data/files.zettacode2/hello_world.text/gfa_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/glbasic.txt +1 -0
- data/files.zettacode2/hello_world.text/glee.txt +13 -0
- data/files.zettacode2/hello_world.text/global_script.txt +3 -0
- data/files.zettacode2/hello_world.text/glovepie.txt +1 -0
- data/files.zettacode2/hello_world.text/gml.txt +2 -0
- data/files.zettacode2/hello_world.text/go.txt +6 -0
- data/files.zettacode2/hello_world.text/golfscript.txt +1 -0
- data/files.zettacode2/hello_world.text/gosu.txt +1 -0
- data/files.zettacode2/hello_world.text/grain.txt +1 -0
- data/files.zettacode2/hello_world.text/groovy.txt +1 -0
- data/files.zettacode2/hello_world.text/gw-basic.txt +1 -0
- data/files.zettacode2/hello_world.text/hack.txt +1 -0
- data/files.zettacode2/hello_world.text/halon.txt +3 -0
- data/files.zettacode2/hello_world.text/harbour.txt +1 -0
- data/files.zettacode2/hello_world.text/hare.txt +5 -0
- data/files.zettacode2/hello_world.text/haskell.txt +3 -0
- data/files.zettacode2/hello_world.text/haxe.txt +1 -0
- data/files.zettacode2/hello_world.text/hexiscript.txt +1 -0
- data/files.zettacode2/hello_world.text/hicest.txt +1 -0
- data/files.zettacode2/hello_world.text/hla.txt +7 -0
- data/files.zettacode2/hello_world.text/holyc.txt +1 -0
- data/files.zettacode2/hello_world.text/hoon.txt +1 -0
- data/files.zettacode2/hello_world.text/hpppl.txt +1 -0
- data/files.zettacode2/hello_world.text/hq9+.txt +7 -0
- data/files.zettacode2/hello_world.text/html5.txt +8 -0
- data/files.zettacode2/hello_world.text/huginn.txt +8 -0
- data/files.zettacode2/hello_world.text/hy.txt +1 -0
- data/files.zettacode2/hello_world.text/i.txt +3 -0
- data/files.zettacode2/hello_world.text/icon}}_and_{{header|unicon.txt +3 -0
- data/files.zettacode2/hello_world.text/idl.txt +1 -0
- data/files.zettacode2/hello_world.text/idris.txt +4 -0
- data/files.zettacode2/hello_world.text/inform_6.txt +3 -0
- data/files.zettacode2/hello_world.text/inko.txt +4 -0
- data/files.zettacode2/hello_world.text/integer_basic.txt +4 -0
- data/files.zettacode2/hello_world.text/intercal.txt +17 -0
- data/files.zettacode2/hello_world.text/io.txt +1 -0
- data/files.zettacode2/hello_world.text/ioke.txt +1 -0
- data/files.zettacode2/hello_world.text/is-basic.txt +1 -0
- data/files.zettacode2/hello_world.text/isabelle.txt +5 -0
- data/files.zettacode2/hello_world.text/iwbasic.txt +15 -0
- data/files.zettacode2/hello_world.text/j.txt +40 -0
- data/files.zettacode2/hello_world.text/jack.txt +7 -0
- data/files.zettacode2/hello_world.text/jacquard_loom.txt +88 -0
- data/files.zettacode2/hello_world.text/java.txt +7 -0
- data/files.zettacode2/hello_world.text/javascript.txt +12 -0
- data/files.zettacode2/hello_world.text/jcl.txt +1 -0
- data/files.zettacode2/hello_world.text/jinja.txt +9 -0
- data/files.zettacode2/hello_world.text/joy.txt +1 -0
- data/files.zettacode2/hello_world.text/jq.txt +1 -0
- data/files.zettacode2/hello_world.text/jse.txt +1 -0
- data/files.zettacode2/hello_world.text/jsish.txt +1 -0
- data/files.zettacode2/hello_world.text/julia.txt +1 -0
- data/files.zettacode2/hello_world.text/k.txt +14 -0
- data/files.zettacode2/hello_world.text/kabap.txt +1 -0
- data/files.zettacode2/hello_world.text/kaya.txt +6 -0
- data/files.zettacode2/hello_world.text/kdf9_usercode.txt +13 -0
- data/files.zettacode2/hello_world.text/keg.txt +1 -0
- data/files.zettacode2/hello_world.text/kite.txt +4 -0
- data/files.zettacode2/hello_world.text/kitten.txt +2 -0
- data/files.zettacode2/hello_world.text/koka.txt +3 -0
- data/files.zettacode2/hello_world.text/konsolscript.txt +4 -0
- data/files.zettacode2/hello_world.text/kotlin.txt +3 -0
- data/files.zettacode2/hello_world.text/kql.txt +2 -0
- data/files.zettacode2/hello_world.text/ksi.txt +5 -0
- data/files.zettacode2/hello_world.text/lambdatalk.txt +5 -0
- data/files.zettacode2/hello_world.text/lang5.txt +1 -0
- data/files.zettacode2/hello_world.text/langur.txt +1 -0
- data/files.zettacode2/hello_world.text/lasso.txt +2 -0
- data/files.zettacode2/hello_world.text/latex.txt +4 -0
- data/files.zettacode2/hello_world.text/latitude.txt +1 -0
- data/files.zettacode2/hello_world.text/lc3_assembly.txt +18 -0
- data/files.zettacode2/hello_world.text/ldpl.txt +4 -0
- data/files.zettacode2/hello_world.text/lean.txt +3 -0
- data/files.zettacode2/hello_world.text/lfe.txt +3 -0
- data/files.zettacode2/hello_world.text/liberty_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/lil.txt +5 -0
- data/files.zettacode2/hello_world.text/lily.txt +7 -0
- data/files.zettacode2/hello_world.text/lilypond.txt +11 -0
- data/files.zettacode2/hello_world.text/limbo.txt +14 -0
- data/files.zettacode2/hello_world.text/lingo.txt +5 -0
- data/files.zettacode2/hello_world.text/lisaac.txt +16 -0
- data/files.zettacode2/hello_world.text/little.txt +9 -0
- data/files.zettacode2/hello_world.text/livecode.txt +15 -0
- data/files.zettacode2/hello_world.text/llvm.txt +13 -0
- data/files.zettacode2/hello_world.text/lobster.txt +1 -0
- data/files.zettacode2/hello_world.text/logo.txt +4 -0
- data/files.zettacode2/hello_world.text/logtalk.txt +7 -0
- data/files.zettacode2/hello_world.text/lolcode.txt +6 -0
- data/files.zettacode2/hello_world.text/lotusscript.txt +5 -0
- data/files.zettacode2/hello_world.text/lse.txt +1 -0
- data/files.zettacode2/hello_world.text/lse64.txt +1 -0
- data/files.zettacode2/hello_world.text/lua.txt +12 -0
- data/files.zettacode2/hello_world.text/luna.txt +3 -0
- data/files.zettacode2/hello_world.text/m2000_interpreter.txt +5 -0
- data/files.zettacode2/hello_world.text/m4.txt +2 -0
- data/files.zettacode2/hello_world.text/maclisp.txt +3 -0
- data/files.zettacode2/hello_world.text/macro-10.txt +24 -0
- data/files.zettacode2/hello_world.text/macro-11.txt +28 -0
- data/files.zettacode2/hello_world.text/mad.txt +4 -0
- data/files.zettacode2/hello_world.text/make.txt +9 -0
- data/files.zettacode2/hello_world.text/malbolge.txt +7 -0
- data/files.zettacode2/hello_world.text/manool.txt +10 -0
- data/files.zettacode2/hello_world.text/maple.txt +4 -0
- data/files.zettacode2/hello_world.text/mathcad.txt +3 -0
- data/files.zettacode2/hello_world.text/mathematica}}_-_{{header|wolfram_language.txt +1 -0
- data/files.zettacode2/hello_world.text/matlab.txt +2 -0
- data/files.zettacode2/hello_world.text/maude.txt +13 -0
- data/files.zettacode2/hello_world.text/maxima.txt +1 -0
- data/files.zettacode2/hello_world.text/maxscript.txt +3 -0
- data/files.zettacode2/hello_world.text/mdl.txt +2 -0
- data/files.zettacode2/hello_world.text/mel.txt +3 -0
- data/files.zettacode2/hello_world.text/melonbasic.txt +3 -0
- data/files.zettacode2/hello_world.text/mercury.txt +8 -0
- data/files.zettacode2/hello_world.text/metafont.txt +1 -0
- data/files.zettacode2/hello_world.text/min.txt +1 -0
- data/files.zettacode2/hello_world.text/miniscript.txt +1 -0
- data/files.zettacode2/hello_world.text/minizinc.txt +2 -0
- data/files.zettacode2/hello_world.text/mips_assembly.txt +12 -0
- data/files.zettacode2/hello_world.text/mirc_scripting_language.txt +1 -0
- data/files.zettacode2/hello_world.text/ml-i.txt +1 -0
- data/files.zettacode2/hello_world.text/modula-2.txt +24 -0
- data/files.zettacode2/hello_world.text/modula-3.txt +7 -0
- data/files.zettacode2/hello_world.text/montilang.txt +1 -0
- data/files.zettacode2/hello_world.text/morfa.txt +7 -0
- data/files.zettacode2/hello_world.text/mosaic.txt +3 -0
- data/files.zettacode2/hello_world.text/muf.txt +4 -0
- data/files.zettacode2/hello_world.text/mumps.txt +1 -0
- data/files.zettacode2/hello_world.text/mydef.txt +27 -0
- data/files.zettacode2/hello_world.text/myrtlescript.txt +6 -0
- data/files.zettacode2/hello_world.text/mysql.txt +2 -0
- data/files.zettacode2/hello_world.text/mythryl.txt +2 -0
- data/files.zettacode2/hello_world.text/n-t-roff.txt +6 -0
- data/files.zettacode2/hello_world.text/nanoquery.txt +1 -0
- data/files.zettacode2/hello_world.text/neat.txt +2 -0
- data/files.zettacode2/hello_world.text/neko.txt +1 -0
- data/files.zettacode2/hello_world.text/nemerle.txt +13 -0
- data/files.zettacode2/hello_world.text/netrexx.txt +1 -0
- data/files.zettacode2/hello_world.text/never.txt +4 -0
- data/files.zettacode2/hello_world.text/newlisp.txt +2 -0
- data/files.zettacode2/hello_world.text/nickle.txt +1 -0
- data/files.zettacode2/hello_world.text/nim.txt +3 -0
- data/files.zettacode2/hello_world.text/nit.txt +1 -0
- data/files.zettacode2/hello_world.text/nix.txt +1 -0
- data/files.zettacode2/hello_world.text/nlp++.txt +5 -0
- data/files.zettacode2/hello_world.text/ns-hubasic.txt +6 -0
- data/files.zettacode2/hello_world.text/nyquist.txt +15 -0
- data/files.zettacode2/hello_world.text/oberon-2.txt +11 -0
- data/files.zettacode2/hello_world.text/objeck.txt +6 -0
- data/files.zettacode2/hello_world.text/objective-c.txt +42 -0
- data/files.zettacode2/hello_world.text/ocaml.txt +1 -0
- data/files.zettacode2/hello_world.text/occam.txt +5 -0
- data/files.zettacode2/hello_world.text/octave.txt +5 -0
- data/files.zettacode2/hello_world.text/odin.txt +6 -0
- data/files.zettacode2/hello_world.text/oforth.txt +1 -0
- data/files.zettacode2/hello_world.text/ol.txt +1 -0
- data/files.zettacode2/hello_world.text/onyx.txt +1 -0
- data/files.zettacode2/hello_world.text/ooc.txt +8 -0
- data/files.zettacode2/hello_world.text/oorexx.txt +4 -0
- data/files.zettacode2/hello_world.text/openlisp.txt +10 -0
- data/files.zettacode2/hello_world.text/openscad.txt +5 -0
- data/files.zettacode2/hello_world.text/oxygene.txt +25 -0
- data/files.zettacode2/hello_world.text/oz.txt +1 -0
- data/files.zettacode2/hello_world.text/pari-gp.txt +2 -0
- data/files.zettacode2/hello_world.text/pascal.txt +5 -0
- data/files.zettacode2/hello_world.text/pasm.txt +2 -0
- data/files.zettacode2/hello_world.text/pdp-11_assembly.txt +15 -0
- data/files.zettacode2/hello_world.text/pdp-1_assembly.txt +22 -0
- data/files.zettacode2/hello_world.text/pepsiscript.txt +16 -0
- data/files.zettacode2/hello_world.text/perl.txt +11 -0
- data/files.zettacode2/hello_world.text/peylang.txt +1 -0
- data/files.zettacode2/hello_world.text/pharo.txt +4 -0
- data/files.zettacode2/hello_world.text/phix.txt +4 -0
- data/files.zettacode2/hello_world.text/phl.txt +7 -0
- data/files.zettacode2/hello_world.text/php.txt +5 -0
- data/files.zettacode2/hello_world.text/picat.txt +1 -0
- data/files.zettacode2/hello_world.text/picolisp.txt +1 -0
- data/files.zettacode2/hello_world.text/pict.txt +6 -0
- data/files.zettacode2/hello_world.text/pikachu.txt +23 -0
- data/files.zettacode2/hello_world.text/pike.txt +3 -0
- data/files.zettacode2/hello_world.text/pilot.txt +1 -0
- data/files.zettacode2/hello_world.text/pir.txt +3 -0
- data/files.zettacode2/hello_world.text/pixilang.txt +1 -0
- data/files.zettacode2/hello_world.text/pl-i.txt +3 -0
- data/files.zettacode2/hello_world.text/pl-m.txt +13 -0
- data/files.zettacode2/hello_world.text/pl-sql.txt +21 -0
- data/files.zettacode2/hello_world.text/plain_english.txt +7 -0
- data/files.zettacode2/hello_world.text/plan.txt +14 -0
- data/files.zettacode2/hello_world.text/pony.txt +3 -0
- data/files.zettacode2/hello_world.text/pop11.txt +1 -0
- data/files.zettacode2/hello_world.text/portugol.txt +11 -0
- data/files.zettacode2/hello_world.text/postscript.txt +31 -0
- data/files.zettacode2/hello_world.text/potion.txt +1 -0
- data/files.zettacode2/hello_world.text/powerbasic.txt +7 -0
- data/files.zettacode2/hello_world.text/powershell.txt +4 -0
- data/files.zettacode2/hello_world.text/processing.txt +1 -0
- data/files.zettacode2/hello_world.text/prodos.txt +1 -0
- data/files.zettacode2/hello_world.text/programming_language.txt +5 -0
- data/files.zettacode2/hello_world.text/prolog.txt +1 -0
- data/files.zettacode2/hello_world.text/promal.txt +7 -0
- data/files.zettacode2/hello_world.text/psql.txt +7 -0
- data/files.zettacode2/hello_world.text/pure.txt +5 -0
- data/files.zettacode2/hello_world.text/purebasic.txt +5 -0
- data/files.zettacode2/hello_world.text/python.txt +19 -0
- data/files.zettacode2/hello_world.text/qb64.txt +1 -0
- data/files.zettacode2/hello_world.text/quackery.txt +1 -0
- data/files.zettacode2/hello_world.text/quill.txt +1 -0
- data/files.zettacode2/hello_world.text/quite_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/r.txt +5 -0
- data/files.zettacode2/hello_world.text/ra.txt +8 -0
- data/files.zettacode2/hello_world.text/racket.txt +3 -0
- data/files.zettacode2/hello_world.text/raku.txt +4 -0
- data/files.zettacode2/hello_world.text/rasel.txt +1 -0
- data/files.zettacode2/hello_world.text/ratfor.txt +11 -0
- data/files.zettacode2/hello_world.text/raven.txt +1 -0
- data/files.zettacode2/hello_world.text/realbasic.txt +7 -0
- data/files.zettacode2/hello_world.text/rebol.txt +1 -0
- data/files.zettacode2/hello_world.text/red.txt +1 -0
- data/files.zettacode2/hello_world.text/relation.txt +4 -0
- data/files.zettacode2/hello_world.text/rescript.txt +2 -0
- data/files.zettacode2/hello_world.text/retro.txt +4 -0
- data/files.zettacode2/hello_world.text/rexx.txt +13 -0
- data/files.zettacode2/hello_world.text/ring.txt +1 -0
- data/files.zettacode2/hello_world.text/risc-v.txt +11 -0
- data/files.zettacode2/hello_world.text/rockstar.txt +1 -0
- data/files.zettacode2/hello_world.text/rtl-2.txt +12 -0
- data/files.zettacode2/hello_world.text/ruby.txt +11 -0
- data/files.zettacode2/hello_world.text/run_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/rust.txt +13 -0
- data/files.zettacode2/hello_world.text/salmon.txt +9 -0
- data/files.zettacode2/hello_world.text/sas.txt +4 -0
- data/files.zettacode2/hello_world.text/sasl.txt +4 -0
- data/files.zettacode2/hello_world.text/sather.txt +5 -0
- data/files.zettacode2/hello_world.text/scala.txt +19 -0
- data/files.zettacode2/hello_world.text/scheme.txt +21 -0
- data/files.zettacode2/hello_world.text/scilab.txt +1 -0
- data/files.zettacode2/hello_world.text/scratchscript.txt +4 -0
- data/files.zettacode2/hello_world.text/sed.txt +3 -0
- data/files.zettacode2/hello_world.text/seed7.txt +6 -0
- data/files.zettacode2/hello_world.text/self.txt +1 -0
- data/files.zettacode2/hello_world.text/sensetalk.txt +1 -0
- data/files.zettacode2/hello_world.text/set_lang.txt +12 -0
- data/files.zettacode2/hello_world.text/setl.txt +1 -0
- data/files.zettacode2/hello_world.text/setl4.txt +1 -0
- data/files.zettacode2/hello_world.text/shen.txt +1 -0
- data/files.zettacode2/hello_world.text/shiny.txt +1 -0
- data/files.zettacode2/hello_world.text/sidef.txt +1 -0
- data/files.zettacode2/hello_world.text/simplecode.txt +3 -0
- data/files.zettacode2/hello_world.text/simpol.txt +2 -0
- data/files.zettacode2/hello_world.text/simula.txt +5 -0
- data/files.zettacode2/hello_world.text/sing.txt +7 -0
- data/files.zettacode2/hello_world.text/sisal.txt +10 -0
- data/files.zettacode2/hello_world.text/skookumscript.txt +3 -0
- data/files.zettacode2/hello_world.text/slate.txt +1 -0
- data/files.zettacode2/hello_world.text/slope.txt +1 -0
- data/files.zettacode2/hello_world.text/smalltalk.txt +4 -0
- data/files.zettacode2/hello_world.text/smart_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/smilebasic.txt +1 -0
- data/files.zettacode2/hello_world.text/snobol4.txt +3 -0
- data/files.zettacode2/hello_world.text/snusp.txt +11 -0
- data/files.zettacode2/hello_world.text/soneking_assembly.txt +10 -0
- data/files.zettacode2/hello_world.text/sparc_assembly.txt +18 -0
- data/files.zettacode2/hello_world.text/sparkling.txt +1 -0
- data/files.zettacode2/hello_world.text/spl.txt +1 -0
- data/files.zettacode2/hello_world.text/sql.txt +12 -0
- data/files.zettacode2/hello_world.text/sql_pl.txt +35 -0
- data/files.zettacode2/hello_world.text/standard_ml.txt +1 -0
- data/files.zettacode2/hello_world.text/stata.txt +1 -0
- data/files.zettacode2/hello_world.text/suneido.txt +1 -0
- data/files.zettacode2/hello_world.text/swahili.txt +1 -0
- data/files.zettacode2/hello_world.text/swift.txt +4 -0
- data/files.zettacode2/hello_world.text/symsyn.txt +3 -0
- data/files.zettacode2/hello_world.text/tailspin.txt +1 -0
- data/files.zettacode2/hello_world.text/tcl.txt +5 -0
- data/files.zettacode2/hello_world.text/teco.txt +2 -0
- data/files.zettacode2/hello_world.text/tern.txt +1 -0
- data/files.zettacode2/hello_world.text/terra.txt +6 -0
- data/files.zettacode2/hello_world.text/terraform.txt +3 -0
- data/files.zettacode2/hello_world.text/testml.txt +2 -0
- data/files.zettacode2/hello_world.text/ti-83_basic.txt +2 -0
- data/files.zettacode2/hello_world.text/ti-89_basic.txt +1 -0
- data/files.zettacode2/hello_world.text/tiny_basic.txt +5 -0
- data/files.zettacode2/hello_world.text/tmg.txt +2 -0
- data/files.zettacode2/hello_world.text/torquescript.txt +1 -0
- data/files.zettacode2/hello_world.text/tpp.txt +1 -0
- data/files.zettacode2/hello_world.text/transact-sql.txt +2 -0
- data/files.zettacode2/hello_world.text/transd.txt +2 -0
- data/files.zettacode2/hello_world.text/transforth.txt +1 -0
- data/files.zettacode2/hello_world.text/trith.txt +1 -0
- data/files.zettacode2/hello_world.text/true_basic.txt +5 -0
- data/files.zettacode2/hello_world.text/tuscript.txt +8 -0
- data/files.zettacode2/hello_world.text/ubasic-4th.txt +1 -0
- data/files.zettacode2/hello_world.text/uniface.txt +3 -0
- data/files.zettacode2/hello_world.text/unison.txt +3 -0
- data/files.zettacode2/hello_world.text/unix_shell.txt +9 -0
- data/files.zettacode2/hello_world.text/unlambda.txt +1 -0
- data/files.zettacode2/hello_world.text/ursa.txt +1 -0
- data/files.zettacode2/hello_world.text/ursala.txt +10 -0
- data/files.zettacode2/hello_world.text/v.txt +1 -0
- data/files.zettacode2/hello_world.text/v_(vlang).txt +3 -0
- data/files.zettacode2/hello_world.text/vala.txt +3 -0
- data/files.zettacode2/hello_world.text/vax_assembly.txt +10 -0
- data/files.zettacode2/hello_world.text/vba.txt +6 -0
- data/files.zettacode2/hello_world.text/vbscript.txt +2 -0
- data/files.zettacode2/hello_world.text/vedit_macro_language.txt +1 -0
- data/files.zettacode2/hello_world.text/verbexx.txt +2 -0
- data/files.zettacode2/hello_world.text/verilog.txt +8 -0
- data/files.zettacode2/hello_world.text/vhdl.txt +16 -0
- data/files.zettacode2/hello_world.text/vim_script.txt +1 -0
- data/files.zettacode2/hello_world.text/visual_basic.txt +22 -0
- data/files.zettacode2/hello_world.text/visual_basic_.net.txt +7 -0
- data/files.zettacode2/hello_world.text/viua_vm_assembly.txt +6 -0
- data/files.zettacode2/hello_world.text/vtl-2.txt +1 -0
- data/files.zettacode2/hello_world.text/wart.txt +2 -0
- data/files.zettacode2/hello_world.text/wdte.txt +1 -0
- data/files.zettacode2/hello_world.text/webassembly.txt +38 -0
- data/files.zettacode2/hello_world.text/wee_basic.txt +2 -0
- data/files.zettacode2/hello_world.text/whenever.txt +2 -0
- data/files.zettacode2/hello_world.text/whiley.txt +5 -0
- data/files.zettacode2/hello_world.text/whitespace.txt +1 -0
- data/files.zettacode2/hello_world.text/wisp.txt +8 -0
- data/files.zettacode2/hello_world.text/wolfram_language.txt +1 -0
- data/files.zettacode2/hello_world.text/wren.txt +1 -0
- data/files.zettacode2/hello_world.text/x10.txt +8 -0
- data/files.zettacode2/hello_world.text/x86-64_assembly.txt +44 -0
- data/files.zettacode2/hello_world.text/x86_assembly.txt +37 -0
- data/files.zettacode2/hello_world.text/xbasic.txt +12 -0
- data/files.zettacode2/hello_world.text/xeec.txt +4 -0
- data/files.zettacode2/hello_world.text/xl.txt +2 -0
- data/files.zettacode2/hello_world.text/xlisp.txt +2 -0
- data/files.zettacode2/hello_world.text/xpath.txt +1 -0
- data/files.zettacode2/hello_world.text/xpl0.txt +3 -0
- data/files.zettacode2/hello_world.text/xslt.txt +5 -0
- data/files.zettacode2/hello_world.text/yabasic.txt +3 -0
- data/files.zettacode2/hello_world.text/yorick.txt +1 -0
- data/files.zettacode2/hello_world.text/z80_assembly.txt +21 -0
- data/files.zettacode2/hello_world.text/zig.txt +4 -0
- data/files.zettacode2/hello_world.text/zkl.txt +2 -0
- data/files.zettacode2/hello_world.text/zoea.txt +2 -0
- data/files.zettacode2/hello_world.text/zoea_visual.txt +1 -0
- data/files.zettacode2/hello_world.text/zoomscript.txt +5 -0
- data/files.zettacode2/hello_world.text/zx_spectrum_basic.txt +4 -0
- data/files.zettacode2/hello_world.text//340/256/211/340/256/257/340/256/277/340/256/260/340/257/215-uyir.txt +5 -0
- data/install/docker/.gitignore +2 -0
- data/install/docker/run +7 -0
- data/{vagrant → install/vagrant/debian}/.gitignore +0 -0
- data/{vagrant → install/vagrant/debian}/.ruby-version +0 -0
- data/{vagrant → install/vagrant/debian}/Vagrantfile +1 -1
- data/{vagrant → install/vagrant/debian}/install.sh +0 -0
- data/install/vagrant/opensuse/.gitignore +2 -0
- data/install/vagrant/opensuse/.ruby-version +1 -0
- data/install/vagrant/opensuse/Vagrantfile +29 -0
- data/lib/zettacode/parse/parse.rb +1 -1
- data/lib/zettacode/version.rb +1 -1
- metadata +761 -5
@@ -0,0 +1,19 @@
|
|
1
|
+
puts "Please enter two numbers:"
|
2
|
+
|
3
|
+
set x [expr {int([gets stdin])}]; # Force integer interpretation
|
4
|
+
set y [expr {int([gets stdin])}]; # Force integer interpretation
|
5
|
+
|
6
|
+
puts "$x + $y = [expr {$x + $y}]"
|
7
|
+
puts "$x - $y = [expr {$x - $y}]"
|
8
|
+
puts "$x * $y = [expr {$x * $y}]"
|
9
|
+
puts "$x / $y = [expr {$x / $y}]"
|
10
|
+
puts "$x mod $y = [expr {$x % $y}]"
|
11
|
+
puts "$x 'to the' $y = [expr {$x ** $y}]"
|
12
|
+
|
13
|
+
Since Tcl doesn't really know about the "type" of a variable, the "<tt>expr</tt>" command is used to declare whatever follows as an "expression". This means there is no such thing as "integer arithmetic" and hence the kludge with <tt>int([gets&nbsp;stdin])</tt>.
|
14
|
+
|
15
|
+
Often, these operations would be performed in a different way from what is shown here. For example, to increase the variable "x" by the value of the variable "y", one would write
|
16
|
+
|
17
|
+
incr x $y
|
18
|
+
|
19
|
+
Also, it's important to surround the arguments to the <code>expr</code> in braces, especially when any of the parts of the expression are not literal constants. Discussion of this is on [http://wiki.tcl.tk/10225 The Tcler's Wiki].
|
@@ -0,0 +1,33 @@
|
|
1
|
+
HCL doesn't have an exponentiation operator and even integer division is contrived as shown in the code, but at least it prints the output variables alphabetically without any effort.......
|
2
|
+
|
3
|
+
#Aamrun, 15th August 2022
|
4
|
+
|
5
|
+
variable "a" {
|
6
|
+
type = number
|
7
|
+
}
|
8
|
+
|
9
|
+
variable "b" {
|
10
|
+
type = number
|
11
|
+
}
|
12
|
+
|
13
|
+
output "Sum" {
|
14
|
+
value = var.a + var.b
|
15
|
+
}
|
16
|
+
|
17
|
+
output "Difference" {
|
18
|
+
value = var.a - var.b
|
19
|
+
}
|
20
|
+
|
21
|
+
output "Product" {
|
22
|
+
value = var.a * var.b
|
23
|
+
}
|
24
|
+
|
25
|
+
output "Quotient" {
|
26
|
+
value = floor(var.a / var.b)
|
27
|
+
}
|
28
|
+
|
29
|
+
output "Remainder" {
|
30
|
+
value = var.a % var.b
|
31
|
+
}
|
32
|
+
|
33
|
+
The floor function rounds to the closest lowest integer. Invocation and output are as below :
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
The Unix shell does not directly support arithmetic operations, so external tools, such as ''expr'' are used to perform arithmetic calculations when required:
|
3
|
+
|
4
|
+
{{works with|Bourne Shell}}
|
5
|
+
{{works with|Almquist SHell}}
|
6
|
+
#!/bin/sh
|
7
|
+
read a; read b;
|
8
|
+
echo "a+b = " `expr $a + $b`
|
9
|
+
echo "a-b = " `expr $a - $b`
|
10
|
+
echo "a*b = " `expr $a \* $b`
|
11
|
+
echo "a/b = " `expr $a / $b` # truncates towards 0
|
12
|
+
echo "a mod b = " `expr $a % $b` # same sign as first operand
|
13
|
+
|
14
|
+
Notes: Using the ` (backtick operators, also available in most Bourne shells via the ''$(...)'' syntax) allows us to keep the results on their labels in the most efficient and portable way. The spaces around the operators in the ''expr'' command line arguments are required and the shell requires us to quote or escape the ''*'' character has shown, to prevent any possible "globbing" --- filename expansion of the ''*'' as a wildcard character.
|
15
|
+
|
16
|
+
With SUSv3 parameter expansions:
|
17
|
+
|
18
|
+
{{works with|Bourne Again SHell|3.2}}
|
19
|
+
{{works with|pdksh|5.2.14}}
|
20
|
+
{{works with|Z SHell}}
|
21
|
+
#!/bin/sh
|
22
|
+
read a; read b;
|
23
|
+
echo "a+b = $((a+b))"
|
24
|
+
echo "a-b = $((a-b))"
|
25
|
+
echo "a*b = $((a*b))"
|
26
|
+
echo "a/b = $((a/b))" # truncates towards 0
|
27
|
+
echo "a mod b = $((a%b))" # same sign as first operand
|
28
|
+
|
29
|
+
Note: spaces inside the ''$((...))'' are optional and not required; the ''$((...))'' can be inside or outside the double quotes, but the `...` expressions from the previous example can also be inside or outside the double quotes.
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#
|
2
|
+
# integer arithmetic
|
3
|
+
#
|
4
|
+
|
5
|
+
decl int x y
|
6
|
+
out "number 1: " console
|
7
|
+
set x (in int console)
|
8
|
+
out "number 2: " console
|
9
|
+
set y (in int console)
|
10
|
+
|
11
|
+
out "\nsum:\t" (int (+ x y)) endl console
|
12
|
+
out "diff:\t" (int (- x y)) endl console
|
13
|
+
out "prod:\t" (int (* x y)) endl console
|
14
|
+
# quotient doesn't round at all, but the int function rounds up
|
15
|
+
out "quot:\t" (int (/ x y)) endl console
|
16
|
+
# mod takes the sign of x
|
17
|
+
out "mod:\t" (int (mod x y)) endl console
|
18
|
+
|
19
|
+
Sample session:
|
20
|
+
number 1: 15
|
21
|
+
number 2: 7
|
22
|
+
|
23
|
+
sum: 22
|
24
|
+
diff: 8
|
25
|
+
prod: 105
|
26
|
+
quot: 2
|
27
|
+
mod: 1
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// Arithmetic-integer in V (Vlang)
|
2
|
+
// Tectonics: v run arithmetic-integer.v
|
3
|
+
module main
|
4
|
+
import math
|
5
|
+
import os
|
6
|
+
|
7
|
+
// starts here
|
8
|
+
pub fn main() {
|
9
|
+
mut a := 0
|
10
|
+
mut b := 0
|
11
|
+
|
12
|
+
// get numbers from console
|
13
|
+
print("Enter two integer numbers, separated by a space: ")
|
14
|
+
text := os.get_raw_line()
|
15
|
+
values := text.split(' ')
|
16
|
+
a = values[0].int()
|
17
|
+
b = values[1].int()
|
18
|
+
|
19
|
+
// 4 basics, remainder, no exponentiation operator
|
20
|
+
println("values: a $a, b $b")
|
21
|
+
println("sum: a + b = ${a + b}")
|
22
|
+
println("difference: a - b = ${a - b}")
|
23
|
+
println("product: a * b = ${a * b}")
|
24
|
+
println("integer quotient: a / b = ${a / b}, truncation")
|
25
|
+
println("remainder: a % b = ${a % b}, sign follows dividend")
|
26
|
+
|
27
|
+
println("no exponentiation operator")
|
28
|
+
println(" math.pow: pow(a,b) = ${math.pow(a,b)}")
|
29
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
'Arithmetic - Integer
|
3
|
+
Sub RosettaArithmeticInt()
|
4
|
+
Dim opr As Variant, a As Integer, b As Integer
|
5
|
+
On Error Resume Next
|
6
|
+
|
7
|
+
a = CInt(InputBox("Enter first integer", "XLSM | Arithmetic"))
|
8
|
+
b = CInt(InputBox("Enter second integer", "XLSM | Arithmetic"))
|
9
|
+
|
10
|
+
Debug.Print "a ="; a, "b="; b, vbCr
|
11
|
+
For Each opr In Split("+ - * / \ mod ^", " ")
|
12
|
+
Select Case opr
|
13
|
+
Case "mod": Debug.Print "a mod b", a; "mod"; b, a Mod b
|
14
|
+
Case "\": Debug.Print "a \ b", a; "\"; b, a \ b
|
15
|
+
Case Else: Debug.Print "a "; opr; " b", a; opr; b, Evaluate(a & opr & b)
|
16
|
+
End Select
|
17
|
+
Next opr
|
18
|
+
End Sub
|
19
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
VBScript's variables are all Variants. What starts out as an integer may be converted to something else if the need arises.
|
2
|
+
|
3
|
+
===Implementation===
|
4
|
+
option explicit
|
5
|
+
dim a, b
|
6
|
+
wscript.stdout.write "A? "
|
7
|
+
a = wscript.stdin.readline
|
8
|
+
wscript.stdout.write "B? "
|
9
|
+
b = wscript.stdin.readline
|
10
|
+
|
11
|
+
a = int( a )
|
12
|
+
b = int( b )
|
13
|
+
|
14
|
+
wscript.echo "a + b=", a + b
|
15
|
+
wscript.echo "a - b=", a - b
|
16
|
+
wscript.echo "a * b=", a * b
|
17
|
+
wscript.echo "a / b=", a / b
|
18
|
+
wscript.echo "a \ b=", a \ b
|
19
|
+
wscript.echo "a mod b=", a mod b
|
20
|
+
wscript.echo "a ^ b=", a ^ b
|
21
|
+
|
22
|
+
===Another Implementation===
|
23
|
+
Gives the same output for the same input. Inspired by Python version.
|
24
|
+
option explicit
|
25
|
+
dim a, b
|
26
|
+
wscript.stdout.write "A? "
|
27
|
+
a = wscript.stdin.readline
|
28
|
+
wscript.stdout.write "B? "
|
29
|
+
b = wscript.stdin.readline
|
30
|
+
|
31
|
+
a = int( a )
|
32
|
+
b = int( b )
|
33
|
+
|
34
|
+
dim op
|
35
|
+
for each op in split("+ - * / \ mod ^", " ")
|
36
|
+
wscript.echo "a",op,"b=",eval( "a " & op & " b")
|
37
|
+
next
|
38
|
+
|
39
|
+
===Invocation===
|
40
|
+
|
41
|
+
C:\foo>arithmetic.vbs
|
42
|
+
A? 45
|
43
|
+
B? 11
|
44
|
+
a + b= 4511
|
45
|
+
a - b= 34
|
46
|
+
a * b= 495
|
47
|
+
a / b= 4.09090909090909
|
48
|
+
a \ b= 4
|
49
|
+
a mod b= 1
|
50
|
+
a ^ b= 1.5322783012207E+18
|
51
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
#1 = Get_Num("Give number a: ")
|
2
|
+
#2 = Get_Num("Give number b: ")
|
3
|
+
Message("a + b = ") Num_Type(#1 + #2)
|
4
|
+
Message("a - b = ") Num_Type(#1 - #2)
|
5
|
+
Message("a * b = ") Num_Type(#1 * #2)
|
6
|
+
Message("a / b = ") Num_Type(#1 / #2)
|
7
|
+
Message("a % b = ") Num_Type(#1 % #2)
|
8
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module main;
|
2
|
+
integer a, b;
|
3
|
+
integer suma, resta, producto;
|
4
|
+
integer division, resto, expo;
|
5
|
+
|
6
|
+
initial begin
|
7
|
+
a = -12;
|
8
|
+
b = 7;
|
9
|
+
|
10
|
+
suma = a + b;
|
11
|
+
resta = a - b;
|
12
|
+
producto = a * b;
|
13
|
+
division = a / b;
|
14
|
+
resto = a % b;
|
15
|
+
expo = a ** b;
|
16
|
+
|
17
|
+
$display("Siendo dos enteros a = -12 y b = 7");
|
18
|
+
$display(" suma de a + b = ", suma);
|
19
|
+
$display(" resta de a - b = ", resta);
|
20
|
+
$display(" producto de a * b = ", producto);
|
21
|
+
$display(" división de a / b = ", division);
|
22
|
+
$display(" resto de a mod b = ", resto);
|
23
|
+
$display("exponenciación a ^ b = ", expo);
|
24
|
+
$finish ;
|
25
|
+
end
|
26
|
+
endmodule
|
@@ -0,0 +1,10 @@
|
|
1
|
+
let a = float2nr(input("Number 1: ") + 0)
|
2
|
+
let b = float2nr(input("Number 2: ") + 0)
|
3
|
+
echo "\nSum: " . (a + b)
|
4
|
+
echo "Difference: " . (a - b)
|
5
|
+
echo "Product: " . (a * b)
|
6
|
+
" The result of an integer division is truncated
|
7
|
+
echo "Quotient: " . (a / b)
|
8
|
+
" The sign of the result of the remainder operation matches the sign of
|
9
|
+
" the first operand
|
10
|
+
echo "Remainder: " . (a % b)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Imports System.Console
|
2
|
+
Module Module1
|
3
|
+
Sub Main
|
4
|
+
Dim a = CInt(ReadLine)
|
5
|
+
Dim b = CInt(ReadLine)
|
6
|
+
WriteLine("Sum " & a + b)
|
7
|
+
WriteLine("Difference " & a - b)
|
8
|
+
WriteLine("Product " & a - b)
|
9
|
+
WriteLine("Quotient " & a / b)
|
10
|
+
WriteLine("Integer Quotient " & a \ b)
|
11
|
+
WriteLine("Remainder " & a Mod b)
|
12
|
+
WriteLine("Exponent " & a ^ b)
|
13
|
+
End Sub
|
14
|
+
End Module
|
@@ -0,0 +1,16 @@
|
|
1
|
+
In Wren the quotient operator '/' does not round but, when the ''floor'' method is applied to the result, it rounds to the lower integer.
|
2
|
+
|
3
|
+
The sign of the remainder operator '%' matches the sign of the first operand.
|
4
|
+
import "io" for Stdin, Stdout
|
5
|
+
System.write("first number: ")
|
6
|
+
Stdout.flush()
|
7
|
+
var a = Num.fromString(Stdin.readLine())
|
8
|
+
System.write("second number: ")
|
9
|
+
Stdout.flush()
|
10
|
+
var b = Num.fromString(Stdin.readLine())
|
11
|
+
System.print("sum: %(a + b)")
|
12
|
+
System.print("difference: %(a - b)")
|
13
|
+
System.print("product: %(a * b)")
|
14
|
+
System.print("integer quotient: %((a / b).floor)")
|
15
|
+
System.print("remainder: %(a % b)")
|
16
|
+
System.print("exponentiation: %(a.pow(b))")
|
@@ -0,0 +1,23 @@
|
|
1
|
+
Input and output would be OS-specific and are not implemented. This routine works on the 16-bit 8086, as well as on its 32-bit and 64-bit successors: it could be trivially modified to perform 32-bit or 64-bit arithmetic on machines where those are supported. The quotient is truncated towards zero; the remainder takes its sign from the first operand.
|
2
|
+
arithm: mov cx, a
|
3
|
+
mov bx, b
|
4
|
+
xor dx, dx
|
5
|
+
|
6
|
+
mov ax, cx
|
7
|
+
add ax, bx
|
8
|
+
mov sum, ax
|
9
|
+
|
10
|
+
mov ax, cx
|
11
|
+
imul bx
|
12
|
+
mov product, ax
|
13
|
+
|
14
|
+
mov ax, cx
|
15
|
+
sub ax, bx
|
16
|
+
mov difference, ax
|
17
|
+
|
18
|
+
mov ax, cx
|
19
|
+
idiv bx
|
20
|
+
mov quotient, ax
|
21
|
+
mov remainder, dx
|
22
|
+
|
23
|
+
ret
|
@@ -0,0 +1,17 @@
|
|
1
|
+
(DEFUN INTEGER-ARITHMETIC ()
|
2
|
+
(DISPLAY "Enter two integers separated by a space.")
|
3
|
+
(NEWLINE)
|
4
|
+
(DISPLAY "> ")
|
5
|
+
(DEFINE A (READ))
|
6
|
+
(DEFINE B (READ))
|
7
|
+
(DISPLAY `(SUM ,(+ A B)))
|
8
|
+
(NEWLINE)
|
9
|
+
(DISPLAY `(DIFFERENCE ,(- A B)))
|
10
|
+
(NEWLINE)
|
11
|
+
(DISPLAY `(PRODUCT ,(* A B)))
|
12
|
+
(NEWLINE)
|
13
|
+
(DISPLAY `(QUOTIENT ,(QUOTIENT A B))) ; truncates towards zero
|
14
|
+
(NEWLINE)
|
15
|
+
(DISPLAY `(REMAINDER ,(REM A B))) ; takes sign of first operand
|
16
|
+
(NEWLINE)
|
17
|
+
(DISPLAY `(EXPONENTIATION ,(EXPT A B))))
|
@@ -0,0 +1,10 @@
|
|
1
|
+
include c:\cxpl\codes;
|
2
|
+
int A, B;
|
3
|
+
[A:= IntIn(0);
|
4
|
+
B:= IntIn(0);
|
5
|
+
IntOut(0, A+B); CrLf(0);
|
6
|
+
IntOut(0, A-B); CrLf(0);
|
7
|
+
IntOut(0, A*B); CrLf(0);
|
8
|
+
IntOut(0, A/B); CrLf(0); \truncates toward zero
|
9
|
+
IntOut(0, rem(0)); CrLf(0); \remainder's sign matches first operand (A)
|
10
|
+
]
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<xsl:template name="arithmetic">
|
2
|
+
<xsl:param name="a">5</xsl:param>
|
3
|
+
<xsl:param name="b">2</xsl:param>
|
4
|
+
<fo:block>a + b = <xsl:value-of select="$a + $b"/></fo:block>
|
5
|
+
<fo:block>a - b = <xsl:value-of select="$a - $b"/></fo:block>
|
6
|
+
<fo:block>a * b = <xsl:value-of select="$a * $b"/></fo:block>
|
7
|
+
<fo:block>a / b = <xsl:value-of select="round($a div $b)"/></fo:block>
|
8
|
+
<fo:block>a mod b = <xsl:value-of select="$a mod $b"/></fo:block>
|
9
|
+
</xsl:template>
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
input "ingrese un numero? " a
|
2
|
+
input "ingrese otro numero? " b
|
3
|
+
|
4
|
+
print "suma ", a, " + ", b, " = ", (a + b)
|
5
|
+
print "resta ", a, " - ", b, " = ", (a - b)
|
6
|
+
print "producto ", a, " * ", b, " = ", (a * b)
|
7
|
+
print "division ", a, " \ ", b, " = ", int(a / b)
|
8
|
+
print "modulo ", a, " % ", b, " = ", mod(a, b)
|
9
|
+
print "potencia ", a, " ^ ", b, " = ", (a ^ b)
|
10
|
+
end
|
11
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
x = y = 0;
|
2
|
+
read, x, y;
|
3
|
+
write, "x + y =", x + y;
|
4
|
+
write, "x - y =", x - y;
|
5
|
+
write, "x * y =", x * y;
|
6
|
+
write, "x / y =", x / y; // rounds toward zero
|
7
|
+
write, "x % y =", x % y; // remainder; matches sign of first operand when operands' signs differ
|
8
|
+
write, "x ^ y =", x ^ y; // exponentiation
|
@@ -0,0 +1,7 @@
|
|
1
|
+
x,y:=ask("Two ints: ").split(" ").apply("toInt");
|
2
|
+
println("x+y = ",x + y);
|
3
|
+
println("x-y = ",x - y);
|
4
|
+
println("x*y = ",x * y);
|
5
|
+
println("x/y = ",x / y); // rounds toward zero
|
6
|
+
println("x%y = ",x % y); // remainder; matches sign of first operand when operands' signs differ
|
7
|
+
println("x.divr(y) = ",x.divr(y)); // (x/y,remainder); sign as above
|
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
module Main;
|
3
|
+
var
|
4
|
+
i,j: integer;
|
5
|
+
begin
|
6
|
+
write("A integer?:");readln(i);
|
7
|
+
write("another?: ");readln(j);
|
8
|
+
writeln("sum: ",i + j);
|
9
|
+
writeln("difference: ", i - j);
|
10
|
+
writeln("product: ", i * j);
|
11
|
+
writeln("quotient: ", i div j);
|
12
|
+
writeln("remainder: ", i mod j);
|
13
|
+
end Main.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
5 LET a=5: LET b=3
|
2
|
+
10 PRINT a;" + ";b;" = ";a+b
|
3
|
+
20 PRINT a;" - ";b;" = ";a-b
|
4
|
+
30 PRINT a;" * ";b;" = ";a*b
|
5
|
+
40 PRINT a;" / ";b;" = ";INT (a/b)
|
6
|
+
50 PRINT a;" mod ";b;" = ";a-INT (a/b)*b
|
7
|
+
60 PRINT a;" to the power of ";b;" = ";a^b
|
8
|
+
|
9
|
+
<sha1>jmu2t0w01l2tasbm4sraa95rv96cj5t</sha1>
|
10
|
+
|
11
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
print(‘Hello world!’)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
Using native SVC (Supervisor Call) to write to system console:
|
2
|
+
<syntaxhighlight lang="360 assembly">
|
3
|
+
HELLO CSECT
|
4
|
+
USING HELLO,15
|
5
|
+
LA 1,MSGAREA Point Register 1 to message area
|
6
|
+
SVC 35 Invoke SVC 35 (Write to Operator)
|
7
|
+
BR 14 Return
|
8
|
+
MSGAREA EQU * Message Area
|
9
|
+
DC AL2(19) Total area length = 19 (Prefix length:4 + Data Length:15)
|
10
|
+
DC XL2'00' 2 bytes binary of zeros
|
11
|
+
DC C'Hello world!' Text to be written to system console
|
12
|
+
END
|
13
|
+
Using WTO Macro to generate SVC 35 and message area:
|
14
|
+
<syntaxhighlight lang="360 assembly"> WTO 'Hello world!'
|
15
|
+
BR 14 Return
|
16
|
+
END
|
17
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
echo Hello world!
|
@@ -0,0 +1,22 @@
|
|
1
|
+
; goodbyeworld.s for C= 8-bit machines, ca65 assembler format.
|
2
|
+
; String printing limited to strings of 256 characters or less.
|
3
|
+
|
4
|
+
a_cr = $0d ; Carriage return.
|
5
|
+
bsout = $ffd2 ; C64 KERNEL ROM, output a character to current device.
|
6
|
+
; use $fded for Apple 2, $ffe3 (ascii) or $ffee (raw) for BBC.
|
7
|
+
.code
|
8
|
+
|
9
|
+
ldx #0 ; Starting index 0 in X register.
|
10
|
+
printnext:
|
11
|
+
lda text,x ; Get character from string.
|
12
|
+
beq done ; If we read a 0 we're done.
|
13
|
+
jsr bsout ; Output character.
|
14
|
+
inx ; Increment index to next character.
|
15
|
+
bne printnext ; Repeat if index doesn't overflow to 0.
|
16
|
+
done:
|
17
|
+
rts ; Return from subroutine.
|
18
|
+
|
19
|
+
.rodata
|
20
|
+
|
21
|
+
text:
|
22
|
+
.byte "Hello world!", a_cr, 0
|
@@ -0,0 +1,31 @@
|
|
1
|
+
.cr 6800
|
2
|
+
.tf gbye6800.obj,AP1
|
3
|
+
.lf gbye6800
|
4
|
+
;=====================================================;
|
5
|
+
; Hello world! for the Motorola 6800 ;
|
6
|
+
; by barrym 2013-03-17 ;
|
7
|
+
;-----------------------------------------------------;
|
8
|
+
; Prints the message "Hello world!" to an ascii ;
|
9
|
+
; terminal (console) connected to a 1970s vintage ;
|
10
|
+
; SWTPC 6800 system, which is the target device for ;
|
11
|
+
; this assembly. ;
|
12
|
+
; Many thanks to: ;
|
13
|
+
; swtpc.com for hosting Michael Holley's documents! ;
|
14
|
+
; sbprojects.com for a very nice assembler! ;
|
15
|
+
; swtpcemu.com for a very capable emulator! ;
|
16
|
+
; reg x is the string pointer ;
|
17
|
+
; reg a holds the ascii char to be output ;
|
18
|
+
;-----------------------------------------------------;
|
19
|
+
outeee = $e1d1 ;ROM: console putchar routine
|
20
|
+
.or $0f00
|
21
|
+
;-----------------------------------------------------;
|
22
|
+
main ldx #string ;Point to the string
|
23
|
+
bra puts ; and print it
|
24
|
+
outs jsr outeee ;Emit a as ascii
|
25
|
+
inx ;Advance the string pointer
|
26
|
+
puts ldaa ,x ;Load a string character
|
27
|
+
bne outs ;Print it if non-null
|
28
|
+
swi ; else return to the monitor
|
29
|
+
;=====================================================;
|
30
|
+
string .as "Hello world!",#13,#10,#0
|
31
|
+
.en
|
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
; This is Hello World, written in 8080 assembly to run under CP/M
|
3
|
+
; As you can see, it is similar to the 8086, and CP/M is very
|
4
|
+
; similar to DOS in the way it is called.
|
5
|
+
org 100h ; CP/M .COM entry point is 100h - like DOS
|
6
|
+
mvi c,9 ; C holds the syscall, 9 = print string - like DOS
|
7
|
+
lxi d,msg ; DE holds a pointer to the string
|
8
|
+
jmp 5 ; CP/M calls are accessed through the jump at 05h
|
9
|
+
; Normally you'd CALL it, but since you'd end the program by RETurning,
|
10
|
+
; JMP saves a byte (if you've only got 64k of address space you want to
|
11
|
+
; save bytes).
|
12
|
+
msg: db 'Hello world!$'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
DOSSEG
|
3
|
+
.MODEL TINY
|
4
|
+
.DATA
|
5
|
+
TXT DB "Hello world!$"
|
6
|
+
.CODE
|
7
|
+
START:
|
8
|
+
MOV ax, @DATA
|
9
|
+
MOV ds, ax
|
10
|
+
|
11
|
+
MOV ah, 09h ; prepare output function
|
12
|
+
MOV dx, OFFSET TXT ; set offset
|
13
|
+
INT 21h ; output string TXT
|
14
|
+
|
15
|
+
MOV AX, 4C00h ; go back to DOS
|
16
|
+
INT 21h
|
17
|
+
END START
|
18
|
+
|
19
|
+
With A86 or NASM syntax:
|
20
|
+
org 100h
|
21
|
+
|
22
|
+
mov dx, msg
|
23
|
+
mov ah, 9
|
24
|
+
int 21h
|
25
|
+
|
26
|
+
mov ax, 4c00h
|
27
|
+
int 21h
|
28
|
+
|
29
|
+
msg:
|
30
|
+
db "Hello world!$"
|
@@ -0,0 +1 @@
|
|
1
|
+
"Hello world!\n" . bye
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.equ STDOUT, 1
|
2
|
+
.equ SVC_WRITE, 64
|
3
|
+
.equ SVC_EXIT, 93
|
4
|
+
|
5
|
+
.text
|
6
|
+
.global _start
|
7
|
+
|
8
|
+
_start:
|
9
|
+
stp x29, x30, [sp, -16]!
|
10
|
+
mov x0, #STDOUT
|
11
|
+
ldr x1, =msg
|
12
|
+
mov x2, 13
|
13
|
+
mov x8, #SVC_WRITE
|
14
|
+
mov x29, sp
|
15
|
+
svc #0 // write(stdout, msg, 13);
|
16
|
+
ldp x29, x30, [sp], 16
|
17
|
+
mov x0, #0
|
18
|
+
mov x8, #SVC_EXIT
|
19
|
+
svc #0 // exit(0);
|
20
|
+
|
21
|
+
msg: .ascii "Hello World!\n"
|
22
|
+
.align 4
|