Giter Club home page Giter Club logo

piet_interpreter's People

Contributors

dm1sh avatar jensbouman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

piet_interpreter's Issues

Wrong order of operations in divide by zero example.

The divide by zero example actually does 0/1 not 1/0.

I couldn't really think of a good way to embed an image, so this hexdump will have to do...
You can use xxd -r hexdump.txt > divsion_by_zero.png to recover the image.

00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452  .PNG........IHDR
00000010: 0000 000e 0000 0006 0806 0000 00f3 1baf  ................
00000020: bc00 0000 3749 4441 5418 95bd 8e31 0a00  ....7IDAT....1..
00000030: 200c c4f2 ff57 ddcf e260 2be2 e0e0 608f   ....W...`+...`.
00000040: c0c1 1128 269a 2828 9862 859a 9209 4c9e  ...(&.((.b....L.
00000050: c5ad 5ce9 fb20 f68b 27af e200 db6e 9091  ..\.. ..'....n..
00000060: 8505 eb59 0000 0000 4945 4e44 ae42 6082  ...Y....IEND.B`.
00000070: 0000

This image pushes the parameters in the right order and should cause a division by zero.

Add a requirements.txt or pyproject.toml

The lack of a requirements.txt or pyproject.toml file makes it very hard to run. I tried installing the dependencies but faced several problems. Add that and you will make people's life better in order to run this software

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.