zettacode 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/.standard.yml +4 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +10 -0
- data/LICENSE +674 -0
- data/README.md +47 -0
- data/Rakefile +21 -0
- data/bin/zcode +3 -0
- data/bin/zettacode +28 -0
- data/config/analize.yaml +11 -0
- data/config/scrap.yaml +2 -0
- data/docs/parse.md +9 -0
- data/docs/scrap.md +15 -0
- data/lib/zettacode/parse/parse.rb +113 -0
- data/lib/zettacode/scrap/scrap.rb +57 -0
- data/lib/zettacode/version.rb +5 -0
- data/lib/zettacode.rb +10 -0
- data/sig/zettacode.rbs +4 -0
- data/tasks/devel.rb +8 -0
- data/zcode-scrap +7 -0
- data/zettacode.files/arithmetic.integer/0815}.txt +14 -0
- data/zettacode.files/arithmetic.integer/11l}.txt +9 -0
- data/zettacode.files/arithmetic.integer/360_assembly.txt +55 -0
- data/zettacode.files/arithmetic.integer/6502_assembly}.txt +50 -0
- data/zettacode.files/arithmetic.integer/68000_assembly.txt +24 -0
- data/zettacode.files/arithmetic.integer/aarch64_assembly.txt +137 -0
- data/zettacode.files/arithmetic.integer/abap.txt +25 -0
- data/zettacode.files/arithmetic.integer/acl2.txt +21 -0
- data/zettacode.files/arithmetic.integer/action!.txt +36 -0
- data/zettacode.files/arithmetic.integer/ada.txt +20 -0
- data/zettacode.files/arithmetic.integer/aikido.txt +10 -0
- data/zettacode.files/arithmetic.integer/algol_68.txt +14 -0
- data/zettacode.files/arithmetic.integer/algol_w.txt +16 -0
- data/zettacode.files/arithmetic.integer/amigae.txt +14 -0
- data/zettacode.files/arithmetic.integer/apl.txt +7 -0
- data/zettacode.files/arithmetic.integer/applescript.txt +16 -0
- data/zettacode.files/arithmetic.integer/arm_assembly.txt +293 -0
- data/zettacode.files/arithmetic.integer/arturo.txt +10 -0
- data/zettacode.files/arithmetic.integer/asymptote.txt +17 -0
- data/zettacode.files/arithmetic.integer/autohotkey.txt +20 -0
- data/zettacode.files/arithmetic.integer/avail.txt +13 -0
- data/zettacode.files/arithmetic.integer/awk.txt +12 -0
- data/zettacode.files/arithmetic.integer/basic.txt +56 -0
- data/zettacode.files/arithmetic.integer/basic256.txt +11 -0
- data/zettacode.files/arithmetic.integer/batch_file.txt +7 -0
- data/zettacode.files/arithmetic.integer/bbc_basic.txt +9 -0
- data/zettacode.files/arithmetic.integer/bc.txt +8 -0
- data/zettacode.files/arithmetic.integer/befunge.txt +6 -0
- data/zettacode.files/arithmetic.integer/bqn.txt +22 -0
- data/zettacode.files/arithmetic.integer/bracmat.txt +19 -0
- data/zettacode.files/arithmetic.integer/brat.txt +8 -0
- data/zettacode.files/arithmetic.integer/c++.txt +12 -0
- data/zettacode.files/arithmetic.integer/c.txt +17 -0
- data/zettacode.files/arithmetic.integer/c_sharp|c#.txt +17 -0
- data/zettacode.files/arithmetic.integer/chef.txt +37 -0
- data/zettacode.files/arithmetic.integer/clipper.txt +11 -0
- data/zettacode.files/arithmetic.integer/clojure.txt +18 -0
- data/zettacode.files/arithmetic.integer/cobol.txt +44 -0
- data/zettacode.files/arithmetic.integer/common_lisp.txt +29 -0
- data/zettacode.files/arithmetic.integer/component_pascal.txt +32 -0
- data/zettacode.files/arithmetic.integer/crystal.txt +11 -0
- data/zettacode.files/arithmetic.integer/d.txt +17 -0
- data/zettacode.files/arithmetic.integer/dc.txt +10 -0
- data/zettacode.files/arithmetic.integer/dcl.txt +8 -0
- data/zettacode.files/arithmetic.integer/delphi.txt +19 -0
- data/zettacode.files/arithmetic.integer/dwscript.txt +9 -0
- data/zettacode.files/arithmetic.integer/dyalect.txt +13 -0
- data/zettacode.files/arithmetic.integer/e.txt +9 -0
- data/zettacode.files/arithmetic.integer/easylang.txt +9 -0
- data/zettacode.files/arithmetic.integer/ecl.txt +33 -0
- data/zettacode.files/arithmetic.integer/efene.txt +16 -0
- data/zettacode.files/arithmetic.integer/eiffel.txt +32 -0
- data/zettacode.files/arithmetic.integer/elena.txt +16 -0
- data/zettacode.files/arithmetic.integer/elixir.txt +26 -0
- data/zettacode.files/arithmetic.integer/emojicode.txt +9 -0
- data/zettacode.files/arithmetic.integer/erlang.txt +15 -0
- data/zettacode.files/arithmetic.integer/erre.txt +20 -0
- data/zettacode.files/arithmetic.integer/euphoria.txt +13 -0
- data/zettacode.files/arithmetic.integer/excel.txt +32 -0
- data/zettacode.files/arithmetic.integer/f_sharp|f#.txt +15 -0
- data/zettacode.files/arithmetic.integer/factor.txt +17 -0
- data/zettacode.files/arithmetic.integer/false.txt +8 -0
- data/zettacode.files/arithmetic.integer/fermat.txt +10 -0
- data/zettacode.files/arithmetic.integer/forth.txt +19 -0
- data/zettacode.files/arithmetic.integer/fortran.txt +15 -0
- data/zettacode.files/arithmetic.integer/freebasic.txt +18 -0
- data/zettacode.files/arithmetic.integer/friendly_interactive_shell.txt +10 -0
- data/zettacode.files/arithmetic.integer/frink.txt +10 -0
- data/zettacode.files/arithmetic.integer/futurebasic.txt +158 -0
- data/zettacode.files/arithmetic.integer/gambas.txt +30 -0
- data/zettacode.files/arithmetic.integer/gap.txt +15 -0
- data/zettacode.files/arithmetic.integer/genie.txt +23 -0
- data/zettacode.files/arithmetic.integer/george.txt +7 -0
- data/zettacode.files/arithmetic.integer/go.txt +66 -0
- data/zettacode.files/arithmetic.integer/groovy.txt +18 -0
- data/zettacode.files/arithmetic.integer/harbour.txt +11 -0
- data/zettacode.files/arithmetic.integer/haskell.txt +16 -0
- data/zettacode.files/arithmetic.integer/haxe.txt +13 -0
- data/zettacode.files/arithmetic.integer/hicest.txt +26 -0
- data/zettacode.files/arithmetic.integer/holyc.txt +14 -0
- data/zettacode.files/arithmetic.integer/i.txt +11 -0
- data/zettacode.files/arithmetic.integer/icon}}_and_{{header|unicon.txt +13 -0
- data/zettacode.files/arithmetic.integer/inform_7.txt +27 -0
- data/zettacode.files/arithmetic.integer/j.txt +18 -0
- data/zettacode.files/arithmetic.integer/java.txt +22 -0
- data/zettacode.files/arithmetic.integer/javascript.txt +30 -0
- data/zettacode.files/arithmetic.integer/jq.txt +17 -0
- data/zettacode.files/arithmetic.integer/jsish.txt +33 -0
- data/zettacode.files/arithmetic.integer/julia.txt +4 -0
- data/zettacode.files/arithmetic.integer/kotlin.txt +41 -0
- data/zettacode.files/arithmetic.integer/labview.txt +2 -0
- data/zettacode.files/arithmetic.integer/lambdatalk.txt +23 -0
- data/zettacode.files/arithmetic.integer/lasso.txt +8 -0
- data/zettacode.files/arithmetic.integer/lfe.txt +32 -0
- data/zettacode.files/arithmetic.integer/liberty_basic.txt +12 -0
- data/zettacode.files/arithmetic.integer/lil.txt +14 -0
- data/zettacode.files/arithmetic.integer/lingo.txt +10 -0
- data/zettacode.files/arithmetic.integer/little.txt +15 -0
- data/zettacode.files/arithmetic.integer/livecode.txt +17 -0
- data/zettacode.files/arithmetic.integer/logo.txt +11 -0
- data/zettacode.files/arithmetic.integer/lse64.txt +10 -0
- data/zettacode.files/arithmetic.integer/lua.txt +9 -0
- data/zettacode.files/arithmetic.integer/m2000_interpreter.txt +54 -0
- data/zettacode.files/arithmetic.integer/m4.txt +17 -0
- data/zettacode.files/arithmetic.integer/maple.txt +25 -0
- data/zettacode.files/arithmetic.integer/mathcad.txt +51 -0
- data/zettacode.files/arithmetic.integer/mathematica}}-{{header|wolfram_language.txt +18 -0
- data/zettacode.files/arithmetic.integer/matlab}}_-_{{header|octave.txt +8 -0
- data/zettacode.files/arithmetic.integer/maxima.txt +10 -0
- data/zettacode.files/arithmetic.integer/maxscript.txt +8 -0
- data/zettacode.files/arithmetic.integer/mercury.txt +44 -0
- data/zettacode.files/arithmetic.integer/metafont.txt +19 -0
- data/zettacode.files/arithmetic.integer/min.txt +5 -0
- data/zettacode.files/arithmetic.integer/ml-i.txt +18 -0
- data/zettacode.files/arithmetic.integer/modula-2.txt +31 -0
- data/zettacode.files/arithmetic.integer/modula-3.txt +15 -0
- data/zettacode.files/arithmetic.integer/mumps.txt +52 -0
- data/zettacode.files/arithmetic.integer/nanoquery.txt +13 -0
- data/zettacode.files/arithmetic.integer/nemerle.txt +18 -0
- data/zettacode.files/arithmetic.integer/netrexx.txt +14 -0
- data/zettacode.files/arithmetic.integer/newlisp.txt +26 -0
- data/zettacode.files/arithmetic.integer/nial.txt +23 -0
- data/zettacode.files/arithmetic.integer/nim.txt +25 -0
- data/zettacode.files/arithmetic.integer/nsis.txt +25 -0
- data/zettacode.files/arithmetic.integer/oberon-2.txt +14 -0
- data/zettacode.files/arithmetic.integer/objeck.txt +17 -0
- data/zettacode.files/arithmetic.integer/ocaml.txt +9 -0
- data/zettacode.files/arithmetic.integer/oforth.txt +9 -0
- data/zettacode.files/arithmetic.integer/ol.txt +23 -0
- data/zettacode.files/arithmetic.integer/onyx.txt +44 -0
- data/zettacode.files/arithmetic.integer/openscad.txt +6 -0
- data/zettacode.files/arithmetic.integer/oz.txt +19 -0
- data/zettacode.files/arithmetic.integer/panda.txt +2 -0
- data/zettacode.files/arithmetic.integer/pari-gp.txt +9 -0
- data/zettacode.files/arithmetic.integer/pascal.txt +14 -0
- data/zettacode.files/arithmetic.integer/perl.txt +12 -0
- data/zettacode.files/arithmetic.integer/phix.txt +49 -0
- data/zettacode.files/arithmetic.integer/phixmonti.txt +14 -0
- data/zettacode.files/arithmetic.integer/phl.txt +20 -0
- data/zettacode.files/arithmetic.integer/php.txt +13 -0
- data/zettacode.files/arithmetic.integer/picat.txt +8 -0
- data/zettacode.files/arithmetic.integer/picolisp.txt +8 -0
- data/zettacode.files/arithmetic.integer/piet.txt +38 -0
- data/zettacode.files/arithmetic.integer/pl-i.txt +8 -0
- data/zettacode.files/arithmetic.integer/plain_english.txt +26 -0
- data/zettacode.files/arithmetic.integer/pop11.txt +12 -0
- data/zettacode.files/arithmetic.integer/postscript.txt +10 -0
- data/zettacode.files/arithmetic.integer/powershell.txt +15 -0
- data/zettacode.files/arithmetic.integer/processing.txt +7 -0
- data/zettacode.files/arithmetic.integer/prodos.txt +35 -0
- data/zettacode.files/arithmetic.integer/prolog.txt +33 -0
- data/zettacode.files/arithmetic.integer/purebasic.txt +17 -0
- data/zettacode.files/arithmetic.integer/python.txt +47 -0
- data/zettacode.files/arithmetic.integer/qb64.txt +21 -0
- data/zettacode.files/arithmetic.integer/quackery.txt +12 -0
- data/zettacode.files/arithmetic.integer/r.txt +11 -0
- data/zettacode.files/arithmetic.integer/racket.txt +8 -0
- data/zettacode.files/arithmetic.integer/raku.txt +12 -0
- data/zettacode.files/arithmetic.integer/raven.txt +9 -0
- data/zettacode.files/arithmetic.integer/rebol.txt +51 -0
- data/zettacode.files/arithmetic.integer/relation.txt +11 -0
- data/zettacode.files/arithmetic.integer/rescript.txt +15 -0
- data/zettacode.files/arithmetic.integer/retro.txt +10 -0
- data/zettacode.files/arithmetic.integer/rexx.txt +47 -0
- data/zettacode.files/arithmetic.integer/ring.txt +11 -0
- data/zettacode.files/arithmetic.integer/robotic.txt +13 -0
- data/zettacode.files/arithmetic.integer/ruby.txt +12 -0
- data/zettacode.files/arithmetic.integer/run_basic.txt +9 -0
- data/zettacode.files/arithmetic.integer/rust.txt +15 -0
- data/zettacode.files/arithmetic.integer/sass-scss.txt +36 -0
- data/zettacode.files/arithmetic.integer/scala.txt +9 -0
- data/zettacode.files/arithmetic.integer/scheme.txt +27 -0
- data/zettacode.files/arithmetic.integer/seed7.txt +20 -0
- data/zettacode.files/arithmetic.integer/sensetalk.txt +12 -0
- data/zettacode.files/arithmetic.integer/sidef.txt +6 -0
- data/zettacode.files/arithmetic.integer/slate.txt +9 -0
- data/zettacode.files/arithmetic.integer/smalltalk.txt +28 -0
- data/zettacode.files/arithmetic.integer/smart_basic.txt +18 -0
- data/zettacode.files/arithmetic.integer/snobol4.txt +12 -0
- data/zettacode.files/arithmetic.integer/snusp.txt +61 -0
- data/zettacode.files/arithmetic.integer/sql.txt +68 -0
- data/zettacode.files/arithmetic.integer/ssem.txt +15 -0
- data/zettacode.files/arithmetic.integer/standard_ml.txt +13 -0
- data/zettacode.files/arithmetic.integer/swift.txt +11 -0
- data/zettacode.files/arithmetic.integer/tcl.txt +19 -0
- data/zettacode.files/arithmetic.integer/terraform.txt +33 -0
- data/zettacode.files/arithmetic.integer/ti-83_basic.txt +14 -0
- data/zettacode.files/arithmetic.integer/ti-89_basic.txt +8 -0
- data/zettacode.files/arithmetic.integer/toka.txt +7 -0
- data/zettacode.files/arithmetic.integer/tuscript.txt +9 -0
- data/zettacode.files/arithmetic.integer/unix_shell.txt +29 -0
- data/zettacode.files/arithmetic.integer/ursa.txt +27 -0
- data/zettacode.files/arithmetic.integer/v_(vlang).txt +29 -0
- data/zettacode.files/arithmetic.integer/vba.txt +19 -0
- data/zettacode.files/arithmetic.integer/vbscript.txt +51 -0
- data/zettacode.files/arithmetic.integer/vedit_macro_language.txt +8 -0
- data/zettacode.files/arithmetic.integer/verilog.txt +26 -0
- data/zettacode.files/arithmetic.integer/vim_script.txt +10 -0
- data/zettacode.files/arithmetic.integer/visual_basic_.net.txt +14 -0
- data/zettacode.files/arithmetic.integer/wart.txt +9 -0
- data/zettacode.files/arithmetic.integer/wren.txt +16 -0
- data/zettacode.files/arithmetic.integer/x86_assembly.txt +23 -0
- data/zettacode.files/arithmetic.integer/xlisp.txt +17 -0
- data/zettacode.files/arithmetic.integer/xpl0.txt +10 -0
- data/zettacode.files/arithmetic.integer/xslt.txt +10 -0
- data/zettacode.files/arithmetic.integer/yabasic.txt +11 -0
- data/zettacode.files/arithmetic.integer/yorick.txt +8 -0
- data/zettacode.files/arithmetic.integer/zkl.txt +7 -0
- data/zettacode.files/arithmetic.integer/zonnon.txt +13 -0
- data/zettacode.files/arithmetic.integer/zx_spectrum_basic.txt +11 -0
- data/zettacode.files/arithmetic.integer//320/274/320/272-61-52.txt +7 -0
- data/zettacode.files/hello_world.text/0815.txt +7 -0
- data/zettacode.files/hello_world.text/11l.txt +1 -0
- data/zettacode.files/hello_world.text/360_assembly.txt +17 -0
- data/zettacode.files/hello_world.text/4dos_batch.txt +1 -0
- data/zettacode.files/hello_world.text/6502_assembly.txt +22 -0
- data/zettacode.files/hello_world.text/6800_assembly.txt +31 -0
- data/zettacode.files/hello_world.text/8080_assembly.txt +12 -0
- data/zettacode.files/hello_world.text/8086_assembly.txt +30 -0
- data/zettacode.files/hello_world.text/8th.txt +1 -0
- data/zettacode.files/hello_world.text/aarch64_assembly.txt +22 -0
- data/zettacode.files/hello_world.text/abap.txt +2 -0
- data/zettacode.files/hello_world.text/acl2.txt +2 -0
- data/zettacode.files/hello_world.text/action!.txt +3 -0
- data/zettacode.files/hello_world.text/actionscript.txt +1 -0
- data/zettacode.files/hello_world.text/ada.txt +6 -0
- data/zettacode.files/hello_world.text/agda.txt +14 -0
- data/zettacode.files/hello_world.text/agena.txt +1 -0
- data/zettacode.files/hello_world.text/aime.txt +11 -0
- data/zettacode.files/hello_world.text/algae.txt +1 -0
- data/zettacode.files/hello_world.text/algol-m.txt +3 -0
- data/zettacode.files/hello_world.text/algol_60.txt +4 -0
- data/zettacode.files/hello_world.text/algol_68.txt +3 -0
- data/zettacode.files/hello_world.text/algol_w.txt +3 -0
- data/zettacode.files/hello_world.text/alore.txt +1 -0
- data/zettacode.files/hello_world.text/amazing_hopper.txt +21 -0
- data/zettacode.files/hello_world.text/ambienttalk.txt +1 -0
- data/zettacode.files/hello_world.text/amigae.txt +3 -0
- data/zettacode.files/hello_world.text/angelscript.txt +1 -0
- data/zettacode.files/hello_world.text/antlang.txt +3 -0
- data/zettacode.files/hello_world.text/anyways.txt +4 -0
- data/zettacode.files/hello_world.text/apl.txt +1 -0
- data/zettacode.files/hello_world.text/applescript.txt +5 -0
- data/zettacode.files/hello_world.text/applesoft_basic.txt +5 -0
- data/zettacode.files/hello_world.text/apricot.txt +1 -0
- data/zettacode.files/hello_world.text/arc.txt +1 -0
- data/zettacode.files/hello_world.text/arendelle.txt +1 -0
- data/zettacode.files/hello_world.text/argile.txt +3 -0
- data/zettacode.files/hello_world.text/arm_assembly.txt +13 -0
- data/zettacode.files/hello_world.text/arnoldc.txt +3 -0
- data/zettacode.files/hello_world.text/arturo.txt +1 -0
- data/zettacode.files/hello_world.text/asciidots.txt +4 -0
- data/zettacode.files/hello_world.text/astro.txt +1 -0
- data/zettacode.files/hello_world.text/asymptote.txt +2 -0
- data/zettacode.files/hello_world.text/ats.txt +1 -0
- data/zettacode.files/hello_world.text/autohotkey.txt +9 -0
- data/zettacode.files/hello_world.text/autoit.txt +1 -0
- data/zettacode.files/hello_world.text/autolisp.txt +1 -0
- data/zettacode.files/hello_world.text/avail.txt +1 -0
- data/zettacode.files/hello_world.text/awk.txt +30 -0
- data/zettacode.files/hello_world.text/axe.txt +2 -0
- data/zettacode.files/hello_world.text/b.txt +6 -0
- data/zettacode.files/hello_world.text/b4x.txt +1 -0
- data/zettacode.files/hello_world.text/babel.txt +2 -0
- data/zettacode.files/hello_world.text/bash.txt +1 -0
- data/zettacode.files/hello_world.text/basic.txt +14 -0
- data/zettacode.files/hello_world.text/basic256.txt +1 -0
- data/zettacode.files/hello_world.text/batch_file.txt +6 -0
- data/zettacode.files/hello_world.text/battlestar.txt +4 -0
- data/zettacode.files/hello_world.text/bbc_basic.txt +1 -0
- data/zettacode.files/hello_world.text/bc.txt +2 -0
- data/zettacode.files/hello_world.text/bcpl.txt +6 -0
- data/zettacode.files/hello_world.text/beef.txt +11 -0
- data/zettacode.files/hello_world.text/beeswax.txt +23 -0
- data/zettacode.files/hello_world.text/befunge.txt +1 -0
- data/zettacode.files/hello_world.text/binary_lambda_calculus.txt +2 -0
- data/zettacode.files/hello_world.text/bird.txt +6 -0
- data/zettacode.files/hello_world.text/blade.txt +6 -0
- data/zettacode.files/hello_world.text/blast.txt +10 -0
- data/zettacode.files/hello_world.text/blue.txt +18 -0
- data/zettacode.files/hello_world.text/blz.txt +1 -0
- data/zettacode.files/hello_world.text/bml.txt +1 -0
- data/zettacode.files/hello_world.text/boo.txt +1 -0
- data/zettacode.files/hello_world.text/bootbasic.txt +1 -0
- data/zettacode.files/hello_world.text/bqn.txt +4 -0
- data/zettacode.files/hello_world.text/brace.txt +4 -0
- data/zettacode.files/hello_world.text/bracmat.txt +1 -0
- data/zettacode.files/hello_world.text/brainf***.txt +83 -0
- data/zettacode.files/hello_world.text/brat.txt +1 -0
- data/zettacode.files/hello_world.text/brlcad.txt +6 -0
- data/zettacode.files/hello_world.text/burlesque.txt +6 -0
- data/zettacode.files/hello_world.text/c++-cli.txt +5 -0
- data/zettacode.files/hello_world.text/c++.txt +5 -0
- data/zettacode.files/hello_world.text/c.txt +37 -0
- data/zettacode.files/hello_world.text/c1r.txt +1 -0
- data/zettacode.files/hello_world.text/c2.txt +7 -0
- data/zettacode.files/hello_world.text/c3.txt +7 -0
- data/zettacode.files/hello_world.text/c_sharp|c#.txt +19 -0
- data/zettacode.files/hello_world.text/casio_basic.txt +3 -0
- data/zettacode.files/hello_world.text/cat.txt +1 -0
- data/zettacode.files/hello_world.text/cduce.txt +1 -0
- data/zettacode.files/hello_world.text/cfengine.txt +11 -0
- data/zettacode.files/hello_world.text/chapel.txt +1 -0
- data/zettacode.files/hello_world.text/chef.txt +36 -0
- data/zettacode.files/hello_world.text/chuck.txt +1 -0
- data/zettacode.files/hello_world.text/cind.txt +6 -0
- data/zettacode.files/hello_world.text/clay.txt +3 -0
- data/zettacode.files/hello_world.text/clean.txt +1 -0
- data/zettacode.files/hello_world.text/clio.txt +1 -0
- data/zettacode.files/hello_world.text/clipper.txt +1 -0
- data/zettacode.files/hello_world.text/clips.txt +1 -0
- data/zettacode.files/hello_world.text/clojure.txt +1 -0
- data/zettacode.files/hello_world.text/clu.txt +4 -0
- data/zettacode.files/hello_world.text/cmake.txt +5 -0
- data/zettacode.files/hello_world.text/cobol.txt +22 -0
- data/zettacode.files/hello_world.text/cobra.txt +3 -0
- data/zettacode.files/hello_world.text/coffeescript.txt +4 -0
- data/zettacode.files/hello_world.text/coldfusion.txt +1 -0
- data/zettacode.files/hello_world.text/comal.txt +1 -0
- data/zettacode.files/hello_world.text/comefrom0x10.txt +3 -0
- data/zettacode.files/hello_world.text/commodore_basic.txt +5 -0
- data/zettacode.files/hello_world.text/common_lisp.txt +18 -0
- data/zettacode.files/hello_world.text/component_pascal.txt +10 -0
- data/zettacode.files/hello_world.text/coq.txt +5 -0
- data/zettacode.files/hello_world.text/corescript.txt +1 -0
- data/zettacode.files/hello_world.text/cowgol.txt +4 -0
- data/zettacode.files/hello_world.text/crack.txt +4 -0
- data/zettacode.files/hello_world.text/creative_basic.txt +15 -0
- data/zettacode.files/hello_world.text/crystal.txt +1 -0
- data/zettacode.files/hello_world.text/d.txt +6 -0
- data/zettacode.files/hello_world.text/dafny.txt +6 -0
- data/zettacode.files/hello_world.text/dao.txt +1 -0
- data/zettacode.files/hello_world.text/dart.txt +4 -0
- data/zettacode.files/hello_world.text/dataweave.txt +1 -0
- data/zettacode.files/hello_world.text/dbl.txt +15 -0
- data/zettacode.files/hello_world.text/dc.txt +3 -0
- data/zettacode.files/hello_world.text/dcl.txt +1 -0
- data/zettacode.files/hello_world.text/ddnc.txt +40 -0
- data/zettacode.files/hello_world.text/delphi.txt +7 -0
- data/zettacode.files/hello_world.text/deviousyarn.txt +1 -0
- data/zettacode.files/hello_world.text/dibol-11.txt +14 -0
- data/zettacode.files/hello_world.text/diego.txt +12 -0
- data/zettacode.files/hello_world.text/div_games_studio.txt +12 -0
- data/zettacode.files/hello_world.text/dm.txt +5 -0
- data/zettacode.files/hello_world.text/draco.txt +3 -0
- data/zettacode.files/hello_world.text/dragon.txt +3 -0
- data/zettacode.files/hello_world.text/dwscript.txt +3 -0
- data/zettacode.files/hello_world.text/dyalect.txt +1 -0
- data/zettacode.files/hello_world.text/dylan.net.txt +28 -0
- data/zettacode.files/hello_world.text/dylan.txt +5 -0
- data/zettacode.files/hello_world.text/d/303/251j/303/240_vu.txt +1 -0
- data/zettacode.files/hello_world.text/e.txt +3 -0
- data/zettacode.files/hello_world.text/easylang.txt +2 -0
- data/zettacode.files/hello_world.text/ec.txt +7 -0
- data/zettacode.files/hello_world.text/echolisp.txt +3 -0
- data/zettacode.files/hello_world.text/ecl.txt +3 -0
- data/zettacode.files/hello_world.text/ecstasy.txt +8 -0
- data/zettacode.files/hello_world.text/edsac_order_code.txt +34 -0
- data/zettacode.files/hello_world.text/efene.txt +10 -0
- data/zettacode.files/hello_world.text/egel.txt +3 -0
- data/zettacode.files/hello_world.text/egison.txt +6 -0
- data/zettacode.files/hello_world.text/egl.txt +9 -0
- data/zettacode.files/hello_world.text/eiffel.txt +11 -0
- data/zettacode.files/hello_world.text/ela.txt +2 -0
- data/zettacode.files/hello_world.text/elan.txt +1 -0
- data/zettacode.files/hello_world.text/elastic.txt +20 -0
- data/zettacode.files/hello_world.text/elena.txt +5 -0
- data/zettacode.files/hello_world.text/elisa.txt +1 -0
- data/zettacode.files/hello_world.text/elixir.txt +3 -0
- data/zettacode.files/hello_world.text/elm.txt +1 -0
- data/zettacode.files/hello_world.text/emacs_lisp.txt +6 -0
- data/zettacode.files/hello_world.text/emojicode.txt +3 -0
- data/zettacode.files/hello_world.text/erlang.txt +1 -0
- data/zettacode.files/hello_world.text/erre.txt +7 -0
- data/zettacode.files/hello_world.text/euler_math_toolbox.txt +4 -0
- data/zettacode.files/hello_world.text/extended_brainf***.txt +2 -0
- data/zettacode.files/hello_world.text/ezhil.txt +5 -0
- data/zettacode.files/hello_world.text/f_sharp|f#.txt +3 -0
- data/zettacode.files/hello_world.text/factor.txt +1 -0
- data/zettacode.files/hello_world.text/falcon.txt +4 -0
- data/zettacode.files/hello_world.text/false.txt +2 -0
- data/zettacode.files/hello_world.text/fantom.txt +10 -0
- data/zettacode.files/hello_world.text/fennel.txt +1 -0
- data/zettacode.files/hello_world.text/ferite.txt +3 -0
- data/zettacode.files/hello_world.text/fermat.txt +1 -0
- data/zettacode.files/hello_world.text/fexl.txt +1 -0
- data/zettacode.files/hello_world.text/fhidwfe.txt +1 -0
- data/zettacode.files/hello_world.text/fish.txt +9 -0
- data/zettacode.files/hello_world.text/focal.txt +1 -0
- data/zettacode.files/hello_world.text/forth.txt +5 -0
- data/zettacode.files/hello_world.text/fortran.txt +16 -0
- data/zettacode.files/hello_world.text/fortress.txt +3 -0
- data/zettacode.files/hello_world.text/free_pascal.txt +21 -0
- data/zettacode.files/hello_world.text/freebasic.txt +3 -0
- data/zettacode.files/hello_world.text/frege.txt +5 -0
- data/zettacode.files/hello_world.text/friendly_interactive_shell.txt +2 -0
- data/zettacode.files/hello_world.text/frink.txt +3 -0
- data/zettacode.files/hello_world.text/funl.txt +2 -0
- data/zettacode.files/hello_world.text/furor.txt +1 -0
- data/zettacode.files/hello_world.text/futurebasic.txt +4 -0
- data/zettacode.files/hello_world.text/fuze_basic.txt +1 -0
- data/zettacode.files/hello_world.text/gambas.txt +6 -0
- data/zettacode.files/hello_world.text/gap.txt +10 -0
- data/zettacode.files/hello_world.text/gb_basic.txt +1 -0
- data/zettacode.files/hello_world.text/gecho.txt +1 -0
- data/zettacode.files/hello_world.text/gema.txt +5 -0
- data/zettacode.files/hello_world.text/genie.txt +4 -0
- data/zettacode.files/hello_world.text/gentee.txt +4 -0
- data/zettacode.files/hello_world.text/gfa_basic.txt +1 -0
- data/zettacode.files/hello_world.text/glbasic.txt +1 -0
- data/zettacode.files/hello_world.text/glee.txt +13 -0
- data/zettacode.files/hello_world.text/global_script.txt +3 -0
- data/zettacode.files/hello_world.text/glovepie.txt +1 -0
- data/zettacode.files/hello_world.text/gml.txt +2 -0
- data/zettacode.files/hello_world.text/go.txt +6 -0
- data/zettacode.files/hello_world.text/golfscript.txt +1 -0
- data/zettacode.files/hello_world.text/gosu.txt +1 -0
- data/zettacode.files/hello_world.text/grain.txt +1 -0
- data/zettacode.files/hello_world.text/groovy.txt +1 -0
- data/zettacode.files/hello_world.text/gw-basic.txt +1 -0
- data/zettacode.files/hello_world.text/hack.txt +1 -0
- data/zettacode.files/hello_world.text/halon.txt +3 -0
- data/zettacode.files/hello_world.text/harbour.txt +1 -0
- data/zettacode.files/hello_world.text/hare.txt +5 -0
- data/zettacode.files/hello_world.text/haskell.txt +3 -0
- data/zettacode.files/hello_world.text/haxe.txt +1 -0
- data/zettacode.files/hello_world.text/hexiscript.txt +1 -0
- data/zettacode.files/hello_world.text/hicest.txt +1 -0
- data/zettacode.files/hello_world.text/hla.txt +7 -0
- data/zettacode.files/hello_world.text/holyc.txt +1 -0
- data/zettacode.files/hello_world.text/hoon.txt +1 -0
- data/zettacode.files/hello_world.text/hpppl.txt +1 -0
- data/zettacode.files/hello_world.text/hq9+.txt +7 -0
- data/zettacode.files/hello_world.text/html5.txt +8 -0
- data/zettacode.files/hello_world.text/huginn.txt +8 -0
- data/zettacode.files/hello_world.text/hy.txt +1 -0
- data/zettacode.files/hello_world.text/i.txt +3 -0
- data/zettacode.files/hello_world.text/icon}}_and_{{header|unicon.txt +3 -0
- data/zettacode.files/hello_world.text/idl.txt +1 -0
- data/zettacode.files/hello_world.text/idris.txt +4 -0
- data/zettacode.files/hello_world.text/inform_6.txt +3 -0
- data/zettacode.files/hello_world.text/inko.txt +4 -0
- data/zettacode.files/hello_world.text/integer_basic.txt +4 -0
- data/zettacode.files/hello_world.text/intercal.txt +17 -0
- data/zettacode.files/hello_world.text/io.txt +1 -0
- data/zettacode.files/hello_world.text/ioke.txt +1 -0
- data/zettacode.files/hello_world.text/is-basic.txt +1 -0
- data/zettacode.files/hello_world.text/isabelle.txt +5 -0
- data/zettacode.files/hello_world.text/iwbasic.txt +15 -0
- data/zettacode.files/hello_world.text/j.txt +40 -0
- data/zettacode.files/hello_world.text/jack.txt +7 -0
- data/zettacode.files/hello_world.text/jacquard_loom.txt +88 -0
- data/zettacode.files/hello_world.text/java.txt +7 -0
- data/zettacode.files/hello_world.text/javascript.txt +12 -0
- data/zettacode.files/hello_world.text/jcl.txt +1 -0
- data/zettacode.files/hello_world.text/jinja.txt +9 -0
- data/zettacode.files/hello_world.text/joy.txt +1 -0
- data/zettacode.files/hello_world.text/jq.txt +1 -0
- data/zettacode.files/hello_world.text/jse.txt +1 -0
- data/zettacode.files/hello_world.text/jsish.txt +1 -0
- data/zettacode.files/hello_world.text/julia.txt +1 -0
- data/zettacode.files/hello_world.text/k.txt +14 -0
- data/zettacode.files/hello_world.text/kabap.txt +1 -0
- data/zettacode.files/hello_world.text/kaya.txt +6 -0
- data/zettacode.files/hello_world.text/kdf9_usercode.txt +13 -0
- data/zettacode.files/hello_world.text/keg.txt +1 -0
- data/zettacode.files/hello_world.text/kite.txt +4 -0
- data/zettacode.files/hello_world.text/kitten.txt +2 -0
- data/zettacode.files/hello_world.text/koka.txt +3 -0
- data/zettacode.files/hello_world.text/konsolscript.txt +4 -0
- data/zettacode.files/hello_world.text/kotlin.txt +3 -0
- data/zettacode.files/hello_world.text/kql.txt +2 -0
- data/zettacode.files/hello_world.text/ksi.txt +5 -0
- data/zettacode.files/hello_world.text/lambdatalk.txt +5 -0
- data/zettacode.files/hello_world.text/lang5.txt +1 -0
- data/zettacode.files/hello_world.text/langur.txt +1 -0
- data/zettacode.files/hello_world.text/lasso.txt +2 -0
- data/zettacode.files/hello_world.text/latex.txt +4 -0
- data/zettacode.files/hello_world.text/latitude.txt +1 -0
- data/zettacode.files/hello_world.text/lc3_assembly.txt +18 -0
- data/zettacode.files/hello_world.text/ldpl.txt +4 -0
- data/zettacode.files/hello_world.text/lean.txt +3 -0
- data/zettacode.files/hello_world.text/lfe.txt +3 -0
- data/zettacode.files/hello_world.text/liberty_basic.txt +1 -0
- data/zettacode.files/hello_world.text/lil.txt +5 -0
- data/zettacode.files/hello_world.text/lily.txt +7 -0
- data/zettacode.files/hello_world.text/lilypond.txt +11 -0
- data/zettacode.files/hello_world.text/limbo.txt +14 -0
- data/zettacode.files/hello_world.text/lingo.txt +5 -0
- data/zettacode.files/hello_world.text/lisaac.txt +16 -0
- data/zettacode.files/hello_world.text/little.txt +9 -0
- data/zettacode.files/hello_world.text/livecode.txt +15 -0
- data/zettacode.files/hello_world.text/llvm.txt +13 -0
- data/zettacode.files/hello_world.text/lobster.txt +1 -0
- data/zettacode.files/hello_world.text/logo.txt +4 -0
- data/zettacode.files/hello_world.text/logtalk.txt +7 -0
- data/zettacode.files/hello_world.text/lolcode.txt +6 -0
- data/zettacode.files/hello_world.text/lotusscript.txt +5 -0
- data/zettacode.files/hello_world.text/lse.txt +1 -0
- data/zettacode.files/hello_world.text/lse64.txt +1 -0
- data/zettacode.files/hello_world.text/lua.txt +12 -0
- data/zettacode.files/hello_world.text/luna.txt +3 -0
- data/zettacode.files/hello_world.text/m2000_interpreter.txt +5 -0
- data/zettacode.files/hello_world.text/m4.txt +2 -0
- data/zettacode.files/hello_world.text/maclisp.txt +3 -0
- data/zettacode.files/hello_world.text/macro-10.txt +24 -0
- data/zettacode.files/hello_world.text/macro-11.txt +28 -0
- data/zettacode.files/hello_world.text/mad.txt +4 -0
- data/zettacode.files/hello_world.text/make.txt +9 -0
- data/zettacode.files/hello_world.text/malbolge.txt +7 -0
- data/zettacode.files/hello_world.text/manool.txt +10 -0
- data/zettacode.files/hello_world.text/maple.txt +4 -0
- data/zettacode.files/hello_world.text/mathcad.txt +3 -0
- data/zettacode.files/hello_world.text/mathematica}}_-_{{header|wolfram_language.txt +1 -0
- data/zettacode.files/hello_world.text/matlab.txt +2 -0
- data/zettacode.files/hello_world.text/maude.txt +13 -0
- data/zettacode.files/hello_world.text/maxima.txt +1 -0
- data/zettacode.files/hello_world.text/maxscript.txt +3 -0
- data/zettacode.files/hello_world.text/mdl.txt +2 -0
- data/zettacode.files/hello_world.text/mel.txt +3 -0
- data/zettacode.files/hello_world.text/melonbasic.txt +3 -0
- data/zettacode.files/hello_world.text/mercury.txt +8 -0
- data/zettacode.files/hello_world.text/metafont.txt +1 -0
- data/zettacode.files/hello_world.text/min.txt +1 -0
- data/zettacode.files/hello_world.text/miniscript.txt +1 -0
- data/zettacode.files/hello_world.text/minizinc.txt +2 -0
- data/zettacode.files/hello_world.text/mips_assembly.txt +12 -0
- data/zettacode.files/hello_world.text/mirc_scripting_language.txt +1 -0
- data/zettacode.files/hello_world.text/ml-i.txt +1 -0
- data/zettacode.files/hello_world.text/modula-2.txt +24 -0
- data/zettacode.files/hello_world.text/modula-3.txt +7 -0
- data/zettacode.files/hello_world.text/montilang.txt +1 -0
- data/zettacode.files/hello_world.text/morfa.txt +7 -0
- data/zettacode.files/hello_world.text/mosaic.txt +3 -0
- data/zettacode.files/hello_world.text/muf.txt +4 -0
- data/zettacode.files/hello_world.text/mumps.txt +1 -0
- data/zettacode.files/hello_world.text/mydef.txt +27 -0
- data/zettacode.files/hello_world.text/myrtlescript.txt +6 -0
- data/zettacode.files/hello_world.text/mysql.txt +2 -0
- data/zettacode.files/hello_world.text/mythryl.txt +2 -0
- data/zettacode.files/hello_world.text/n-t-roff.txt +6 -0
- data/zettacode.files/hello_world.text/nanoquery.txt +1 -0
- data/zettacode.files/hello_world.text/neat.txt +2 -0
- data/zettacode.files/hello_world.text/neko.txt +1 -0
- data/zettacode.files/hello_world.text/nemerle.txt +13 -0
- data/zettacode.files/hello_world.text/netrexx.txt +1 -0
- data/zettacode.files/hello_world.text/never.txt +4 -0
- data/zettacode.files/hello_world.text/newlisp.txt +2 -0
- data/zettacode.files/hello_world.text/nickle.txt +1 -0
- data/zettacode.files/hello_world.text/nim.txt +3 -0
- data/zettacode.files/hello_world.text/nit.txt +1 -0
- data/zettacode.files/hello_world.text/nix.txt +1 -0
- data/zettacode.files/hello_world.text/nlp++.txt +5 -0
- data/zettacode.files/hello_world.text/ns-hubasic.txt +6 -0
- data/zettacode.files/hello_world.text/nyquist.txt +15 -0
- data/zettacode.files/hello_world.text/oberon-2.txt +11 -0
- data/zettacode.files/hello_world.text/objeck.txt +6 -0
- data/zettacode.files/hello_world.text/objective-c.txt +42 -0
- data/zettacode.files/hello_world.text/ocaml.txt +1 -0
- data/zettacode.files/hello_world.text/occam.txt +5 -0
- data/zettacode.files/hello_world.text/octave.txt +5 -0
- data/zettacode.files/hello_world.text/odin.txt +6 -0
- data/zettacode.files/hello_world.text/oforth.txt +1 -0
- data/zettacode.files/hello_world.text/ol.txt +1 -0
- data/zettacode.files/hello_world.text/onyx.txt +1 -0
- data/zettacode.files/hello_world.text/ooc.txt +8 -0
- data/zettacode.files/hello_world.text/oorexx.txt +4 -0
- data/zettacode.files/hello_world.text/openlisp.txt +10 -0
- data/zettacode.files/hello_world.text/openscad.txt +5 -0
- data/zettacode.files/hello_world.text/oxygene.txt +25 -0
- data/zettacode.files/hello_world.text/oz.txt +1 -0
- data/zettacode.files/hello_world.text/pari-gp.txt +2 -0
- data/zettacode.files/hello_world.text/pascal.txt +5 -0
- data/zettacode.files/hello_world.text/pasm.txt +2 -0
- data/zettacode.files/hello_world.text/pdp-11_assembly.txt +15 -0
- data/zettacode.files/hello_world.text/pdp-1_assembly.txt +22 -0
- data/zettacode.files/hello_world.text/pepsiscript.txt +16 -0
- data/zettacode.files/hello_world.text/perl.txt +11 -0
- data/zettacode.files/hello_world.text/peylang.txt +1 -0
- data/zettacode.files/hello_world.text/pharo.txt +4 -0
- data/zettacode.files/hello_world.text/phix.txt +4 -0
- data/zettacode.files/hello_world.text/phl.txt +7 -0
- data/zettacode.files/hello_world.text/php.txt +5 -0
- data/zettacode.files/hello_world.text/picat.txt +1 -0
- data/zettacode.files/hello_world.text/picolisp.txt +1 -0
- data/zettacode.files/hello_world.text/pict.txt +6 -0
- data/zettacode.files/hello_world.text/pikachu.txt +23 -0
- data/zettacode.files/hello_world.text/pike.txt +3 -0
- data/zettacode.files/hello_world.text/pilot.txt +1 -0
- data/zettacode.files/hello_world.text/pir.txt +3 -0
- data/zettacode.files/hello_world.text/pixilang.txt +1 -0
- data/zettacode.files/hello_world.text/pl-i.txt +3 -0
- data/zettacode.files/hello_world.text/pl-m.txt +13 -0
- data/zettacode.files/hello_world.text/pl-sql.txt +21 -0
- data/zettacode.files/hello_world.text/plain_english.txt +7 -0
- data/zettacode.files/hello_world.text/plan.txt +14 -0
- data/zettacode.files/hello_world.text/pony.txt +3 -0
- data/zettacode.files/hello_world.text/pop11.txt +1 -0
- data/zettacode.files/hello_world.text/portugol.txt +11 -0
- data/zettacode.files/hello_world.text/postscript.txt +31 -0
- data/zettacode.files/hello_world.text/potion.txt +1 -0
- data/zettacode.files/hello_world.text/powerbasic.txt +7 -0
- data/zettacode.files/hello_world.text/powershell.txt +4 -0
- data/zettacode.files/hello_world.text/processing.txt +1 -0
- data/zettacode.files/hello_world.text/prodos.txt +1 -0
- data/zettacode.files/hello_world.text/programming_language.txt +5 -0
- data/zettacode.files/hello_world.text/prolog.txt +1 -0
- data/zettacode.files/hello_world.text/promal.txt +7 -0
- data/zettacode.files/hello_world.text/psql.txt +7 -0
- data/zettacode.files/hello_world.text/pure.txt +5 -0
- data/zettacode.files/hello_world.text/purebasic.txt +5 -0
- data/zettacode.files/hello_world.text/python.txt +19 -0
- data/zettacode.files/hello_world.text/qb64.txt +1 -0
- data/zettacode.files/hello_world.text/quackery.txt +1 -0
- data/zettacode.files/hello_world.text/quill.txt +1 -0
- data/zettacode.files/hello_world.text/quite_basic.txt +1 -0
- data/zettacode.files/hello_world.text/r.txt +5 -0
- data/zettacode.files/hello_world.text/ra.txt +8 -0
- data/zettacode.files/hello_world.text/racket.txt +3 -0
- data/zettacode.files/hello_world.text/raku.txt +4 -0
- data/zettacode.files/hello_world.text/rasel.txt +1 -0
- data/zettacode.files/hello_world.text/ratfor.txt +11 -0
- data/zettacode.files/hello_world.text/raven.txt +1 -0
- data/zettacode.files/hello_world.text/realbasic.txt +7 -0
- data/zettacode.files/hello_world.text/rebol.txt +1 -0
- data/zettacode.files/hello_world.text/red.txt +1 -0
- data/zettacode.files/hello_world.text/relation.txt +4 -0
- data/zettacode.files/hello_world.text/rescript.txt +2 -0
- data/zettacode.files/hello_world.text/retro.txt +4 -0
- data/zettacode.files/hello_world.text/rexx.txt +13 -0
- data/zettacode.files/hello_world.text/ring.txt +1 -0
- data/zettacode.files/hello_world.text/risc-v.txt +11 -0
- data/zettacode.files/hello_world.text/rockstar.txt +1 -0
- data/zettacode.files/hello_world.text/rtl-2.txt +12 -0
- data/zettacode.files/hello_world.text/ruby.txt +11 -0
- data/zettacode.files/hello_world.text/run_basic.txt +1 -0
- data/zettacode.files/hello_world.text/rust.txt +13 -0
- data/zettacode.files/hello_world.text/salmon.txt +9 -0
- data/zettacode.files/hello_world.text/sas.txt +4 -0
- data/zettacode.files/hello_world.text/sasl.txt +4 -0
- data/zettacode.files/hello_world.text/sather.txt +5 -0
- data/zettacode.files/hello_world.text/scala.txt +19 -0
- data/zettacode.files/hello_world.text/scheme.txt +21 -0
- data/zettacode.files/hello_world.text/scilab.txt +1 -0
- data/zettacode.files/hello_world.text/scratchscript.txt +4 -0
- data/zettacode.files/hello_world.text/sed.txt +3 -0
- data/zettacode.files/hello_world.text/seed7.txt +6 -0
- data/zettacode.files/hello_world.text/self.txt +1 -0
- data/zettacode.files/hello_world.text/sensetalk.txt +1 -0
- data/zettacode.files/hello_world.text/set_lang.txt +12 -0
- data/zettacode.files/hello_world.text/setl.txt +1 -0
- data/zettacode.files/hello_world.text/setl4.txt +1 -0
- data/zettacode.files/hello_world.text/shen.txt +1 -0
- data/zettacode.files/hello_world.text/shiny.txt +1 -0
- data/zettacode.files/hello_world.text/sidef.txt +1 -0
- data/zettacode.files/hello_world.text/simplecode.txt +3 -0
- data/zettacode.files/hello_world.text/simpol.txt +2 -0
- data/zettacode.files/hello_world.text/simula.txt +5 -0
- data/zettacode.files/hello_world.text/sing.txt +7 -0
- data/zettacode.files/hello_world.text/sisal.txt +10 -0
- data/zettacode.files/hello_world.text/skookumscript.txt +3 -0
- data/zettacode.files/hello_world.text/slate.txt +1 -0
- data/zettacode.files/hello_world.text/slope.txt +1 -0
- data/zettacode.files/hello_world.text/smalltalk.txt +4 -0
- data/zettacode.files/hello_world.text/smart_basic.txt +1 -0
- data/zettacode.files/hello_world.text/smilebasic.txt +1 -0
- data/zettacode.files/hello_world.text/snobol4.txt +3 -0
- data/zettacode.files/hello_world.text/snusp.txt +11 -0
- data/zettacode.files/hello_world.text/soneking_assembly.txt +10 -0
- data/zettacode.files/hello_world.text/sparc_assembly.txt +18 -0
- data/zettacode.files/hello_world.text/sparkling.txt +1 -0
- data/zettacode.files/hello_world.text/spl.txt +1 -0
- data/zettacode.files/hello_world.text/sql.txt +12 -0
- data/zettacode.files/hello_world.text/sql_pl.txt +35 -0
- data/zettacode.files/hello_world.text/standard_ml.txt +1 -0
- data/zettacode.files/hello_world.text/stata.txt +1 -0
- data/zettacode.files/hello_world.text/suneido.txt +1 -0
- data/zettacode.files/hello_world.text/swahili.txt +1 -0
- data/zettacode.files/hello_world.text/swift.txt +4 -0
- data/zettacode.files/hello_world.text/symsyn.txt +3 -0
- data/zettacode.files/hello_world.text/tailspin.txt +1 -0
- data/zettacode.files/hello_world.text/tcl.txt +5 -0
- data/zettacode.files/hello_world.text/teco.txt +2 -0
- data/zettacode.files/hello_world.text/tern.txt +1 -0
- data/zettacode.files/hello_world.text/terra.txt +6 -0
- data/zettacode.files/hello_world.text/terraform.txt +3 -0
- data/zettacode.files/hello_world.text/testml.txt +2 -0
- data/zettacode.files/hello_world.text/ti-83_basic.txt +2 -0
- data/zettacode.files/hello_world.text/ti-89_basic.txt +1 -0
- data/zettacode.files/hello_world.text/tiny_basic.txt +5 -0
- data/zettacode.files/hello_world.text/tmg.txt +2 -0
- data/zettacode.files/hello_world.text/torquescript.txt +1 -0
- data/zettacode.files/hello_world.text/tpp.txt +1 -0
- data/zettacode.files/hello_world.text/transact-sql.txt +2 -0
- data/zettacode.files/hello_world.text/transd.txt +2 -0
- data/zettacode.files/hello_world.text/transforth.txt +1 -0
- data/zettacode.files/hello_world.text/trith.txt +1 -0
- data/zettacode.files/hello_world.text/true_basic.txt +5 -0
- data/zettacode.files/hello_world.text/tuscript.txt +8 -0
- data/zettacode.files/hello_world.text/ubasic-4th.txt +1 -0
- data/zettacode.files/hello_world.text/uniface.txt +3 -0
- data/zettacode.files/hello_world.text/unison.txt +3 -0
- data/zettacode.files/hello_world.text/unix_shell.txt +9 -0
- data/zettacode.files/hello_world.text/unlambda.txt +1 -0
- data/zettacode.files/hello_world.text/ursa.txt +1 -0
- data/zettacode.files/hello_world.text/ursala.txt +10 -0
- data/zettacode.files/hello_world.text/v.txt +1 -0
- data/zettacode.files/hello_world.text/v_(vlang).txt +3 -0
- data/zettacode.files/hello_world.text/vala.txt +3 -0
- data/zettacode.files/hello_world.text/vax_assembly.txt +10 -0
- data/zettacode.files/hello_world.text/vba.txt +6 -0
- data/zettacode.files/hello_world.text/vbscript.txt +2 -0
- data/zettacode.files/hello_world.text/vedit_macro_language.txt +1 -0
- data/zettacode.files/hello_world.text/verbexx.txt +2 -0
- data/zettacode.files/hello_world.text/verilog.txt +8 -0
- data/zettacode.files/hello_world.text/vhdl.txt +16 -0
- data/zettacode.files/hello_world.text/vim_script.txt +1 -0
- data/zettacode.files/hello_world.text/visual_basic.txt +22 -0
- data/zettacode.files/hello_world.text/visual_basic_.net.txt +7 -0
- data/zettacode.files/hello_world.text/viua_vm_assembly.txt +6 -0
- data/zettacode.files/hello_world.text/vtl-2.txt +1 -0
- data/zettacode.files/hello_world.text/wart.txt +2 -0
- data/zettacode.files/hello_world.text/wdte.txt +1 -0
- data/zettacode.files/hello_world.text/webassembly.txt +38 -0
- data/zettacode.files/hello_world.text/wee_basic.txt +2 -0
- data/zettacode.files/hello_world.text/whenever.txt +2 -0
- data/zettacode.files/hello_world.text/whiley.txt +5 -0
- data/zettacode.files/hello_world.text/whitespace.txt +1 -0
- data/zettacode.files/hello_world.text/wisp.txt +8 -0
- data/zettacode.files/hello_world.text/wolfram_language.txt +1 -0
- data/zettacode.files/hello_world.text/wren.txt +1 -0
- data/zettacode.files/hello_world.text/x10.txt +8 -0
- data/zettacode.files/hello_world.text/x86-64_assembly.txt +44 -0
- data/zettacode.files/hello_world.text/x86_assembly.txt +37 -0
- data/zettacode.files/hello_world.text/xbasic.txt +12 -0
- data/zettacode.files/hello_world.text/xeec.txt +4 -0
- data/zettacode.files/hello_world.text/xl.txt +2 -0
- data/zettacode.files/hello_world.text/xlisp.txt +2 -0
- data/zettacode.files/hello_world.text/xpath.txt +1 -0
- data/zettacode.files/hello_world.text/xpl0.txt +3 -0
- data/zettacode.files/hello_world.text/xslt.txt +5 -0
- data/zettacode.files/hello_world.text/yabasic.txt +3 -0
- data/zettacode.files/hello_world.text/yorick.txt +1 -0
- data/zettacode.files/hello_world.text/z80_assembly.txt +21 -0
- data/zettacode.files/hello_world.text/zig.txt +4 -0
- data/zettacode.files/hello_world.text/zkl.txt +2 -0
- data/zettacode.files/hello_world.text/zoea.txt +2 -0
- data/zettacode.files/hello_world.text/zoea_visual.txt +1 -0
- data/zettacode.files/hello_world.text/zoomscript.txt +5 -0
- data/zettacode.files/hello_world.text/zx_spectrum_basic.txt +4 -0
- data/zettacode.files/hello_world.text//340/256/211/340/256/257/340/256/277/340/256/260/340/257/215-uyir.txt +5 -0
- data/zettacode.files/input/aritmetic-integer.xml +5876 -0
- data/zettacode.files/input/hello-world-text.xml +4498 -0
- data/zettacode.gemspec +45 -0
- metadata +892 -0
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
|
2
|
+
```
|
3
|
+
_____ _ _ ____ _
|
4
|
+
|__ /___| |_| |_ __ _ / ___|___ __| | ___
|
5
|
+
/ // _ \ __| __/ _` | | | / _ \ / _` |/ _ \
|
6
|
+
/ /| __/ |_| || (_| | | |__| (_) | (_| | __/
|
7
|
+
/____\___|\__|\__\__,_| \____\___/ \__,_|\___|
|
8
|
+
```
|
9
|
+
|
10
|
+
# Zettacode
|
11
|
+
|
12
|
+
This repository has two sections:
|
13
|
+
1. `zettacode` app source code
|
14
|
+
2. [Repository of processed files](zettacode.files) usign `zettacode`
|
15
|
+
|
16
|
+
# 1. Zettacode application
|
17
|
+
|
18
|
+
`zettacode` is an application that helps us perform various tasks with files from the [rosettacode.org](https://rosettacode.org/wiki/Rosetta_Code) website.
|
19
|
+
|
20
|
+
Features:
|
21
|
+
|
22
|
+
* Free license
|
23
|
+
* Multiplatform
|
24
|
+
* Command Application
|
25
|
+
|
26
|
+
## 1.1 Installation
|
27
|
+
|
28
|
+
* Install Ruby on your host.
|
29
|
+
* `ruby -v`, check current Ruby version.
|
30
|
+
* `gem install zettacode`, to install "zettacode" gem.
|
31
|
+
* `zettacode -v`, show current version.
|
32
|
+
|
33
|
+
## 1.2 Usage
|
34
|
+
|
35
|
+
**Parse local XML file**
|
36
|
+
* Goto [RosettaCode](https://rosettacode.org/wiki/Special:Export) export page.
|
37
|
+
* Add 1 page manually and export.
|
38
|
+
* `zettacode --parse PATH/TO/XML/FILE`, execute Zettacode to parse XML file into code files.
|
39
|
+
* The files are created in the `zettacode.files` folder.
|
40
|
+
|
41
|
+
> **TODO**:
|
42
|
+
> Next version will include Scrap RosettaCode function
|
43
|
+
|
44
|
+
|
45
|
+
## 1.3 Contributing
|
46
|
+
|
47
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dvarrui/zettacode.
|
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "bundler/gem_tasks"
|
4
|
+
require "rake/testtask"
|
5
|
+
|
6
|
+
Rake::TestTask.new(:test) do |t|
|
7
|
+
t.libs << "test"
|
8
|
+
t.libs << "lib"
|
9
|
+
t.test_files = FileList["test/**/*_test.rb"]
|
10
|
+
end
|
11
|
+
|
12
|
+
require "standard/rake"
|
13
|
+
|
14
|
+
task default: %i[test standard]
|
15
|
+
|
16
|
+
require_relative "tasks/devel"
|
17
|
+
|
18
|
+
desc "Rake help"
|
19
|
+
task :help do
|
20
|
+
system("rake -T")
|
21
|
+
end
|
data/bin/zcode
ADDED
data/bin/zettacode
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "optparse"
|
3
|
+
require_relative "../lib/zettacode"
|
4
|
+
|
5
|
+
options = {}
|
6
|
+
OptionParser.new do |opts|
|
7
|
+
opts.banner = "Usage: zettacode [--parse FILENAME]"
|
8
|
+
|
9
|
+
opts.on("-p", "--parse", "Parse FILENAME") do |p|
|
10
|
+
options[:parse] = p
|
11
|
+
end
|
12
|
+
opts.on("-s", "--scrap", "Scrap RosettaCode URLs") do |s|
|
13
|
+
options[:scrap] = s
|
14
|
+
end
|
15
|
+
opts.on("-v", "--version", "Show version") do |v|
|
16
|
+
options[:version] = v
|
17
|
+
end
|
18
|
+
end.parse!
|
19
|
+
|
20
|
+
if options[:parse]
|
21
|
+
Zettacode::Parse.call(ARGV.first || "NODATA")
|
22
|
+
elsif options[:scrap]
|
23
|
+
scrap = Zettacode::Scrap.new("config/scrap.yaml")
|
24
|
+
scrap.load_settings
|
25
|
+
scrap.find_langs
|
26
|
+
elsif options[:version]
|
27
|
+
puts "zettacode #{Zettacode::VERSION}"
|
28
|
+
end
|
data/config/analize.yaml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
problems:
|
2
|
+
- name: Arithmetic/Integer
|
3
|
+
cache: "Arithmetic_Integer - Rosetta Code.html"
|
4
|
+
url: https://rosettacode.org/wiki/Arithmetic/Integer
|
5
|
+
targets:
|
6
|
+
- "sum a+b"
|
7
|
+
- "difference a-b"
|
8
|
+
- "product a*b"
|
9
|
+
- "integer quotient a/b"
|
10
|
+
- "remainder a%b"
|
11
|
+
- "exponentiation (if the operator exists)"
|
data/config/scrap.yaml
ADDED
data/docs/parse.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
# Parse
|
3
|
+
|
4
|
+
1. Export XML from RosettaCode web
|
5
|
+
* Goto https://rosettacode.org/wiki/Special:Export
|
6
|
+
* Fill Category or Pages. Example: `Category = Basic_language_learning`, and click `Add`. Example: `Pages = Hello_world/Text or Arithmetic/Integer`
|
7
|
+
* Click export
|
8
|
+
2. Move XML file into `data/input` folder.
|
9
|
+
3. Execute `rosettacode --parse-xml`
|
data/docs/scrap.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
# Scrap
|
3
|
+
|
4
|
+
> Enlace de interés:
|
5
|
+
> * https://rosettacode.org/wiki/Rosetta_Code
|
6
|
+
> * https://rosettacode.org/wiki/Category:Basic_language_learning
|
7
|
+
> * https://rosettacode.org/wiki/Arithmetic/Integer
|
8
|
+
|
9
|
+
|
10
|
+
# Export
|
11
|
+
|
12
|
+
https://rosettacode.org/wiki/Special:Export
|
13
|
+
|
14
|
+
* Category: Basic_language_learning -> Add
|
15
|
+
* Pages: Hello_world/Text, Arithmetic/Integer
|
@@ -0,0 +1,113 @@
|
|
1
|
+
require "colorize"
|
2
|
+
require "fileutils"
|
3
|
+
require "debug"
|
4
|
+
|
5
|
+
module Zettacode
|
6
|
+
module Parse
|
7
|
+
def self.echo(title, text)
|
8
|
+
print title.rjust(12).colorize(:green)
|
9
|
+
puts " #{text}"
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.call(filepath)
|
13
|
+
content, to_folder = read_content_from filepath
|
14
|
+
dirty_examples = scrap_examples_from content
|
15
|
+
clean_examples = clean dirty_examples
|
16
|
+
save_files clean_examples, to_folder
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.read_content_from(filepath)
|
20
|
+
unless File.exist?(filepath)
|
21
|
+
echo "ERROR", "File not found! (#{filepath})"
|
22
|
+
exit 1
|
23
|
+
end
|
24
|
+
|
25
|
+
echo "Parsing", filepath
|
26
|
+
content = File.read(filepath)
|
27
|
+
title = /<title>([\w\d\s._-]+.[\w\d\s._-]+)<\/title>/
|
28
|
+
name = title.match(content).captures.first
|
29
|
+
name.tr!("/", ".")
|
30
|
+
name.tr!(" ", "_")
|
31
|
+
name.downcase!
|
32
|
+
folder = File.join("zettacode.files", name)
|
33
|
+
FileUtils.mkdir(folder) unless Dir.exist? folder
|
34
|
+
[content, folder]
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.scrap_examples_from(content)
|
38
|
+
examples = []
|
39
|
+
example = nil
|
40
|
+
skip = true
|
41
|
+
content.split("\n").each do |line|
|
42
|
+
if line.start_with? "=={{header|"
|
43
|
+
skip = false
|
44
|
+
examples << example unless example.nil?
|
45
|
+
example = {lang: line, code: []}
|
46
|
+
elsif line.downcase.start_with? "{{out}}"
|
47
|
+
skip = true
|
48
|
+
next
|
49
|
+
elsif skip
|
50
|
+
next
|
51
|
+
else
|
52
|
+
example[:code] << line
|
53
|
+
end
|
54
|
+
end
|
55
|
+
examples << example
|
56
|
+
examples
|
57
|
+
end
|
58
|
+
|
59
|
+
def self.clean(dirty_examples)
|
60
|
+
examples = []
|
61
|
+
dirty_examples.each do |example|
|
62
|
+
# lang = /header\|([\w\d\s.\-_*\(\)]+)/.match(example[:lang])&.captures&.first
|
63
|
+
lang = example[:lang][11, example[:lang].size - 15]
|
64
|
+
filename = lang.tr(" ", "_").downcase
|
65
|
+
filename.tr!("/", "-")
|
66
|
+
syntax = nil
|
67
|
+
lines = example[:code]
|
68
|
+
raw = lines.join("\n")
|
69
|
+
|
70
|
+
# Clean syntaxhighlight tag
|
71
|
+
lines.each do |line|
|
72
|
+
# <syntaxhighlight lang="LANG">
|
73
|
+
filter = /<syntaxhighlight\s+lang="([\w\d]+)">/
|
74
|
+
value = filter.match(line)&.captures&.first
|
75
|
+
if value.nil?
|
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
|
82
|
+
syntax = value
|
83
|
+
line.gsub!("<syntaxhighlight lang=\"#{value}\">", "")
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
code = lines.join("\n")
|
88
|
+
code.tr!("</syntaxhighlight>", "")
|
89
|
+
code.tr!("<pre>", "")
|
90
|
+
code.tr!("</pre>", "")
|
91
|
+
code.tr!("<", "<")
|
92
|
+
code.tr!(">", ">")
|
93
|
+
examples << {
|
94
|
+
lang: lang,
|
95
|
+
filename: filename,
|
96
|
+
syntax: syntax,
|
97
|
+
code: code,
|
98
|
+
raw: raw
|
99
|
+
}
|
100
|
+
end
|
101
|
+
examples
|
102
|
+
end
|
103
|
+
|
104
|
+
def self.save_files(examples, folder)
|
105
|
+
examples.each do |example|
|
106
|
+
filepath = File.join(folder, "#{example[:filename]}.txt")
|
107
|
+
File.open(filepath, "w") { |file| file.write(example[:code]) }
|
108
|
+
end
|
109
|
+
echo "Folder", folder
|
110
|
+
echo "Saving", "#{examples.size} files"
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
require "yaml"
|
2
|
+
require "httparty"
|
3
|
+
require "nokogiri"
|
4
|
+
require "debug"
|
5
|
+
|
6
|
+
module Zettacode
|
7
|
+
class Scrap
|
8
|
+
attr_reader :settings
|
9
|
+
|
10
|
+
def initialize(filepath)
|
11
|
+
@configpath = filepath
|
12
|
+
end
|
13
|
+
|
14
|
+
def load_settings
|
15
|
+
puts "==> Loading settings (#{@configpath})"
|
16
|
+
@settings = YAML.load(File.read(@configpath))
|
17
|
+
# Show settings
|
18
|
+
@settings.each_with_index do |problem, index|
|
19
|
+
number = "%02d" % (index + 1)
|
20
|
+
puts " #{number} #{problem[:name]}: #{problem[:url]}"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def find_langs
|
25
|
+
# Scrap page
|
26
|
+
@settings.each do |problem|
|
27
|
+
# 1. Get page
|
28
|
+
response = HTTParty.get(problem[:url])
|
29
|
+
unless response.code == 200
|
30
|
+
puts "==> httparty: [Error] #{response.code}"
|
31
|
+
exit 1
|
32
|
+
end
|
33
|
+
|
34
|
+
# 2. Find every LANG (a href ="#LANG")
|
35
|
+
langs = []
|
36
|
+
document = Nokogiri::HTML(response.body)
|
37
|
+
document.css("h2 > span").each do |e|
|
38
|
+
id = e.attribute("id")
|
39
|
+
langs << id unless id.nil?
|
40
|
+
end
|
41
|
+
puts "==> Problem: #{problem[:name]} (langs=#{langs.size})"
|
42
|
+
puts langs.join("\n")
|
43
|
+
|
44
|
+
langs = []
|
45
|
+
elems = document.css("a")
|
46
|
+
elems.each do |e|
|
47
|
+
href = e.attribute("href")
|
48
|
+
filter = /\/wiki\/Category:([\w\d.-_]+)/
|
49
|
+
items = filter.match(href)&.captures
|
50
|
+
langs << items.first unless items.nil?
|
51
|
+
end
|
52
|
+
puts "==> Problem: #{problem[:name]} (langs=#{langs.size})"
|
53
|
+
puts langs.join("\n")
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
data/lib/zettacode.rb
ADDED
data/sig/zettacode.rbs
ADDED
data/tasks/devel.rb
ADDED
data/zcode-scrap
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|~|~#::
|
3
|
+
:61::3:=:20:$==$~$=${~%:2c:~$:20:~$
|
4
|
+
:62::3:=:20:$==$~$=${~%::~$$
|
5
|
+
:61::2b:=:20:$==$~$=$:62::3:=:20:$==$~$=${{~~~+%::~$
|
6
|
+
:61::2:=:20:$==$~$=$:62::3:=:20:$==$~$=${{~~~-%::~$
|
7
|
+
:61::2:=:20:$==$~$=$:62::3:=:20:$==$~$=${{~~~*%::~$
|
8
|
+
:61::2f:=:20:$==$~$=$:62::3:=:20:$==$~$=${{~~~%::~$
|
9
|
+
:61::25:=:20:$==$~$=$:62::3:=:20:$==$~$=${{~~~=%::~$
|
10
|
+
{~{:1:-^:u:
|
11
|
+
:61::5:=:20:$==$~$$=$:62::3D:=:20:$==$~$=${{~%#::
|
12
|
+
}:u:={{=~*{:2:-#::
|
13
|
+
}::-{{=~*{:1:-#::^::
|
14
|
+
}:::61::5:=:20:$==$~$$=$:62::3D:=:20:$==$~$=${{~%
|
@@ -0,0 +1,55 @@
|
|
1
|
+
F c f : O 32 b .
|
2
|
+
N qu '-c f.
|
3
|
+
b'''Muc:'''b
|
4
|
+
T uc f u ( c ) uc
|
5
|
+
( f ) c uc. B u
|
6
|
+
uc 32-b . T uc 64-b
|
7
|
+
ccu .
|
8
|
+
b'''D:'''b
|
9
|
+
T (f ) b (c )
|
10
|
+
c b qu . T 64-b
|
11
|
+
ccu f .
|
12
|
+
A 32-b 32-b qu c
|
13
|
+
-ub -ub , c.
|
14
|
+
T f qu b u f b.
|
15
|
+
T .
|
16
|
+
* AmcI 04092015
|
17
|
+
ARITHINT CSECT
|
18
|
+
USING ARITHINT,R12
|
19
|
+
LR R12,R15
|
20
|
+
ADD L R1,A
|
21
|
+
A R1,B 1=+b
|
22
|
+
XDECO R1,BUF
|
23
|
+
MVI BUF,C'+'
|
24
|
+
XPRNT BUF,12
|
25
|
+
SUB L R1,A
|
26
|
+
S R1,B 1=-b
|
27
|
+
XDECO R1,BUF
|
28
|
+
MVI BUF,C'-'
|
29
|
+
XPRNT BUF,12
|
30
|
+
MUL L R1,A
|
31
|
+
M R0,B 01=*b
|
32
|
+
XDECO R1,BUF 1
|
33
|
+
MVI BUF,C'*'
|
34
|
+
XPRNT BUF,12
|
35
|
+
DIV L R0,A
|
36
|
+
SRDA R0,32 f
|
37
|
+
D R0,B 1=b 0
|
38
|
+
XDECO R1,BUF 1 qu
|
39
|
+
MVI BUF,C''
|
40
|
+
XPRNT BUF,12
|
41
|
+
MOD L R0,A
|
42
|
+
SRDA R0,32 f
|
43
|
+
D R0,B 1=b 0
|
44
|
+
XDECO R0,BUF 0
|
45
|
+
MVI BUF,C'R'
|
46
|
+
XPRNT BUF,12
|
47
|
+
RETURN XR R15,R15
|
48
|
+
BR R14
|
49
|
+
CNOP 0,4
|
50
|
+
A DC F'53'
|
51
|
+
B DC F'11'
|
52
|
+
BUF DC CL12' '
|
53
|
+
YREGS
|
54
|
+
END ARITHINT
|
55
|
+
Iu c: =53, b=11
|
@@ -0,0 +1,50 @@
|
|
1
|
+
C c ubu (.. JSR Ac). Scfc OS u f u u f u.
|
2
|
+
Amc: PHA u ccumuo d X oo ck
|
3
|
+
TXA
|
4
|
+
PHA
|
5
|
+
JSR GUIu u
|
6
|
+
c A B
|
7
|
+
|
8
|
+
LDA A
|
9
|
+
CLC
|
10
|
+
ADC B
|
11
|
+
JSR DA u
|
12
|
+
|
13
|
+
ubc
|
14
|
+
LDA A
|
15
|
+
SEC
|
16
|
+
SBC B
|
17
|
+
JSR DSubc u
|
18
|
+
|
19
|
+
uc - f
|
20
|
+
LDA A
|
21
|
+
LDX B
|
22
|
+
Mu: CLC
|
23
|
+
ADC A
|
24
|
+
DEX
|
25
|
+
BNE Mu
|
26
|
+
JSR DMu u
|
27
|
+
|
28
|
+
- u u
|
29
|
+
LDA A
|
30
|
+
LDX #0
|
31
|
+
SEC
|
32
|
+
D: INX
|
33
|
+
SBC B
|
34
|
+
BCS D
|
35
|
+
TXA u ccuu
|
36
|
+
JSR DD u
|
37
|
+
|
38
|
+
uu
|
39
|
+
LDA A
|
40
|
+
SEC
|
41
|
+
Muu: SBC B
|
42
|
+
BCS Muu
|
43
|
+
ADC B
|
44
|
+
JSR DMuu u
|
45
|
+
|
46
|
+
PLA ccuu X f c
|
47
|
+
TAX
|
48
|
+
PLA
|
49
|
+
RTS u f ubu
|
50
|
+
T 6502 c f uc, , uu u f uc, , uu b c b z f c.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
ADD.L D0,D1 dd wo umb
|
2
|
+
|
3
|
+
SUB.L D1,D0 ubc D1 f D0
|
4
|
+
|
5
|
+
MULU D0,D1 u u ub. U MULS f ub
|
6
|
+
|
7
|
+
DIVU D1,D0 D D0 b D1. U DIVS f ub. U b f D0 , qu.
|
8
|
+
|
9
|
+
MODULUS:
|
10
|
+
DIVU D1,D0
|
11
|
+
SWAP D0 f 16-b f D0.
|
12
|
+
RTS
|
13
|
+
|
14
|
+
E ' bu c b f uc 6502:
|
15
|
+
|
16
|
+
Eo:
|
17
|
+
D0 D1 . N f c.
|
18
|
+
MOVE.L D0,D2
|
19
|
+
SUBQ.L #1,D1
|
20
|
+
_:
|
21
|
+
MULU D0,D2
|
22
|
+
DBRA D1,_
|
23
|
+
uu D2
|
24
|
+
RTS
|
@@ -0,0 +1,137 @@
|
|
1
|
+
{{ ||Rb P 3B Bu 64 b}}
|
2
|
+
="c64 b"
|
3
|
+
* ARM b AARCH64 Rb PI 3B *
|
4
|
+
* 64. *
|
5
|
+
|
6
|
+
*******************************************
|
7
|
+
* C f *
|
8
|
+
*******************************************
|
9
|
+
* f f cu f u AAc64 b*
|
10
|
+
.cu "..cuCARM64.c"
|
11
|
+
|
12
|
+
***********************
|
13
|
+
* Iz *
|
14
|
+
***********************
|
15
|
+
.
|
16
|
+
zME: .cz " T ub c ! \"
|
17
|
+
zRuL: .cz "\"
|
18
|
+
zMRu: .cz "u : @ \" u
|
19
|
+
MVu: .f 12, 1, ' '
|
20
|
+
.cz "\"
|
21
|
+
zMA: .cz "A "
|
22
|
+
zMSuc: .cz "uc :"
|
23
|
+
zMMuc: .cz "uc :"
|
24
|
+
zMD: .cz " :"
|
25
|
+
zMR: .cz " :"
|
26
|
+
|
27
|
+
***********************
|
28
|
+
* N Iz *
|
29
|
+
***********************
|
30
|
+
.b
|
31
|
+
qVu: . 8 8 b
|
32
|
+
ZC: . 30
|
33
|
+
.
|
34
|
+
.b
|
35
|
+
:
|
36
|
+
f, f - c
|
37
|
+
0,[f] cu ub f c
|
38
|
+
c 0,3
|
39
|
+
b
|
40
|
+
0,[f,16] f 1 ub
|
41
|
+
b cAD
|
42
|
+
3,0
|
43
|
+
0,[f,24] f 2 ub
|
44
|
+
b cAD
|
45
|
+
4,0
|
46
|
+
|
47
|
+
0,3,4
|
48
|
+
1,qAZC u 0
|
49
|
+
b c10S c fuc 2 (0,1)
|
50
|
+
0,qAzMA
|
51
|
+
b ffcM
|
52
|
+
0,qAzMRu
|
53
|
+
1,qAZC
|
54
|
+
b IACIc u @ cc
|
55
|
+
b ffcM
|
56
|
+
0,qAZC
|
57
|
+
uc
|
58
|
+
ub 0,3,4
|
59
|
+
1,qAZC u 0
|
60
|
+
b c10S c fuc 2 (0,1)
|
61
|
+
0,qAzMSuc
|
62
|
+
b ffcM
|
63
|
+
0,qAzMRu
|
64
|
+
1,qAZC
|
65
|
+
b IACIc u @ cc
|
66
|
+
b ffcM
|
67
|
+
0,qAZC
|
68
|
+
uc
|
69
|
+
u 0,3,4
|
70
|
+
1,qAZC u 0
|
71
|
+
b c10S c fuc 2 (0,1)
|
72
|
+
0,qAzMMuc
|
73
|
+
b ffcM
|
74
|
+
0,qAzMRu
|
75
|
+
1,qAZC
|
76
|
+
b IACIc u @ cc
|
77
|
+
b ffcM
|
78
|
+
0,qAZC
|
79
|
+
|
80
|
+
0,3
|
81
|
+
1,4
|
82
|
+
u 0,3,4 qu
|
83
|
+
ub 3,0,4,3 3 = 3 - (0*4)
|
84
|
+
1,qAZC u 0
|
85
|
+
b c10S c fuc 2 (0,1)
|
86
|
+
0,qAzMD
|
87
|
+
b ffcM
|
88
|
+
0,qAzMRu
|
89
|
+
1,qAZC
|
90
|
+
b IACIc u @ cc
|
91
|
+
b ffcM
|
92
|
+
0,qAZC
|
93
|
+
|
94
|
+
0,3
|
95
|
+
1,qAZC u 0
|
96
|
+
b c10S c fuc 2 (0,1)
|
97
|
+
0,qAzMR
|
98
|
+
b ffcM
|
99
|
+
0,qAzMRu
|
100
|
+
1,qAZC
|
101
|
+
b IACIc u @ cc
|
102
|
+
b ffcM
|
103
|
+
0,qAZC
|
104
|
+
|
105
|
+
0,0 u c
|
106
|
+
b 100f
|
107
|
+
:
|
108
|
+
0,qAzME
|
109
|
+
b ffcM c fuc 1 (0)
|
110
|
+
0,1 u c
|
111
|
+
100: f
|
112
|
+
8,EXIT qu
|
113
|
+
c 0 f c
|
114
|
+
qAMVu: .qu MVu
|
115
|
+
qAzMRu: .qu zMRu
|
116
|
+
qAzME: .qu zME
|
117
|
+
qAzMA: .qu zMA
|
118
|
+
qAzMSuc: .qu zMSuc
|
119
|
+
qAzMMuc: .qu zMMuc
|
120
|
+
qAzMD: .qu zMD
|
121
|
+
qAzMR: .qu zMR
|
122
|
+
qAZC: .qu ZC
|
123
|
+
********************************************************
|
124
|
+
* F Icu fc *
|
125
|
+
********************************************************
|
126
|
+
* f f cu f u AAc64 b *
|
127
|
+
.cu "..cuARM64.c"
|
128
|
+
|
129
|
+
{{Ouu : }}
|
130
|
+
PRE
|
131
|
+
@b-bu-64:~643 $ 64 101 25
|
132
|
+
A u : +126
|
133
|
+
uc :u : +76
|
134
|
+
uc :u : +2525
|
135
|
+
:u : +4
|
136
|
+
:u : +1
|
137
|
+
PRE
|
@@ -0,0 +1,25 @@
|
|
1
|
+
o zz_mc o dd d.
|
2
|
+
|
3
|
+
" R ub f u.
|
4
|
+
c-c b f bc u.
|
5
|
+
: _f ,
|
6
|
+
_c .
|
7
|
+
c-c f bc u.
|
8
|
+
|
9
|
+
" S u u qu.
|
10
|
+
c-c uu.
|
11
|
+
%__f_%__%- = 'F Nub: '.
|
12
|
+
%__c_%__%- = 'Sc Nub: '.
|
13
|
+
|
14
|
+
-f-c.
|
15
|
+
: _u .
|
16
|
+
_u = _f + _c.
|
17
|
+
: 'A:', _u.
|
18
|
+
_u = _f - _c.
|
19
|
+
: 'Subc:', _u.
|
20
|
+
_u = _f * _c.
|
21
|
+
: 'Muc:', _u.
|
22
|
+
_u = _f _c.
|
23
|
+
: 'I qu:', _u. " Tuc z.
|
24
|
+
_u = _f _c.
|
25
|
+
: 'R:', _u.
|