Giter Club home page Giter Club logo

Comments (7)

mame avatar mame commented on June 12, 2024

Indeed. Will fix soon. Thank you!

from quine-relay.

rdebath avatar rdebath commented on June 12, 2024

Sorry, should have given you a proper bug report; here's a failing example.
This bash command should run it.

ruby whitespace.rb <( tr -d -c '012' < prime.zs | tr '012' ' \t\n'  )

http://www.burghard.info/Code/Whitespace/
This whitespace program generates a few prime numbers.

00002000101110120001100002020000110001200010110120001100102000101101120001000002
00011100112000111001020001100101200011000102000110110120001110101200011011102000
10000020001101101200011010012000111001020001110000220112000022001020200001100100
21001210112020000110010021000000121100001210002021022001120220001022001002020000
10112100121010120001022001102020000110010021001210111202000012021110021020000102
02111002100012111000102111100200011001002100000002110000121000202110220011120220
00121000202100220010120220001022001000202000011001002100121010012020000110010021
00011121010102020120100002000100000220110112200101020001210002021000220010012022
00002201122222001011202021011002120020210112200110020222122001220110112000101021
200212

from quine-relay.

mame avatar mame commented on June 12, 2024

Oops, sorry!

from quine-relay.

mame avatar mame commented on June 12, 2024

Well, are labels allowed to be zero-length? Is [LF][Space][Space][LF] a valid instruction? The official site is now down...

from quine-relay.

rdebath avatar rdebath commented on June 12, 2024

It's on archive.org

It's difficult to be certain as it's not mentioned explicitly in the "Tutorial", However, the original compiler does accept them and the tutorial does describe label as a simple terminated list of spaces and tabs which presumably includes the empty list. So I'd say yes.

from quine-relay.

mame avatar mame commented on June 12, 2024

Thank you, I think I managed to fix. Your prime program works for me.

$ ruby whitespace.rb <( tr -d -c '012' < prime.zs | tr '012' ' \t\n'  ) 
prim numbers [2-100]
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97

from quine-relay.

rdebath avatar rdebath commented on June 12, 2024

Seems to run everything now; Lost Kingdom, the Self interpreter and the Sudoku solver ...

I expect the Sudoku one will finish... soon.

from quine-relay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.