jensbouman / piet_interpreter Goto Github PK
View Code? Open in Web Editor NEWATP piet interpreter
License: MIT License
ATP piet interpreter
License: MIT License
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.