Piet programming (python programming language )

  • Context: Python 
  • Thread starter Thread starter Steven Ellet
  • Start date Start date
  • Tags Tags
    Language Programming
Click For Summary

Discussion Overview

The discussion revolves around the challenges of setting up and using the Piet programming language on Windows 10. Participants share their experiences, seek solutions for running the interpreter offline, and explore various tools and resources related to Piet programming.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Exploratory

Main Points Raised

  • One participant expresses frustration in getting Piet programming to work offline on Windows 10 and shares a specific error encountered.
  • Another participant suggests a download link for a win32 version of the Piet interpreter, indicating they are unfamiliar with Piet.
  • Several participants inquire about the specific issues faced with the npiet interpreter and suggest running it from the command line.
  • There is mention of confusion regarding file types needed for the interpreter, with one participant listing various file types that seem incompatible.
  • Another participant clarifies that npiet requires image files like PNG or GIF, questioning the source of the listed file types.
  • Participants discuss the correct download link for npiet and the presence of an executable file, with one noting that running it results in no visible output.
  • There are suggestions on how to run example programs, with one participant providing a specific command to execute an example image.
  • A participant expresses a desire for a non-trial version of a program related to Piet, while another clarifies that the suggested program is unrelated to the Piet programming language.
  • One participant views the challenge of using Piet as a positive aspect, while another provides a link to additional resources for getting started with Piet.

Areas of Agreement / Disagreement

The discussion reveals multiple competing views on how to effectively set up and use the Piet programming language, with no consensus reached on the best approach or solution to the issues raised.

Contextual Notes

Participants mention various tools and resources, but there is uncertainty regarding the compatibility of certain file types and the correct usage of the npiet interpreter. The discussion does not resolve these uncertainties.

Steven Ellet
Messages
85
Reaction score
3
Where or how can I get Piet programming to to work on windows 10 I don't care how, only that I can program in Piet offline and NOT a trial. I have gone around the block and come so close to getting it, and then, something doesn't add up. The closest I have come to getting it to work is here: http://pastebin.com/zxc9V3UX
I used Microsoft Visual Studio Version Selector and https://www.python.org/downloads/ and I'm still stuck.
Error occurs on line 59: filename = raw_input()
Here is one example of Piet: http://www.rapapaing.com/blog/?page_id=6
Piet Programming language Tutorial:
 
Technology news on Phys.org
I typed "piet interpreter" into google, and the first hit has a win32 download.

http://www.bertnase.de/npiet/

Or did i misunderstand your question?

P.S. I never heard of piet before. Damn that's weird! Cool!
 
@pilofrogs You did not misunderstand the question. However I have already tried the obviously google searches.
 
Did you try npiet for win32? If it doesn't work for you, what's not working? What others have you tried?
 
pilofrogs said:
Did you try npiet for win32? If it doesn't work for you, what's not working? What others have you tried?
I have tried over a dozen with no luck. With "npiet for win32", as with many, I do not have any way to handle the file types:
FOO
OUT
file
shell script
in file
c source
Y file
all of these I can not handle and even if I could how would they interact with each other?
PS all of these came from " npiet for win32"
 
Hmm... those don't sound like file types that npiet would want. It wants image files, like png or gif. Where does your list of file types come from? Are you running npiet from the command line? If not, please try it that way. Did you try the debug option?
 
pilofrogs said:
Hmm... those don't sound like file types that npiet would want. It wants image files, like png or gif. Where does your list of file types come from? Are you running npiet from the command line? If not, please try it that way. Did you try the debug option?
I download the file and opened it and looked at file exporter and that was some of what I found. In addition, NO executable files.
 
pilofrogs said:
I think you downloaded the wrong thing. I just downloaded http://www.bertnase.de/npiet/npiet-1.3a-win32.zip and it contains npiet.exe among others.
It seems I had the wrong thing so i dowloaded the right one, but when when run it (from windows explorer and cmd) all that happens is a flicker and then nothing
cmd.png
 
  • #10
What about npiet.exe? Same thing?
 
  • #11
Why are you running npiet-foogol: do you have a foogol program you want to convert?

To run one of the examples type
Code:
npiet examples/loop.gif
 
  • #12
pilofrogs said:
What about npiet.exe? Same thing?
there is also a npiet-start.bat but it has the same output
Screenshot - 9_24_2015 , 11_43_59.png
Screenshot - 9_24_2015 , 11_44_57.png
Screenshot - 9_24_2015 , 11_45_45.png
 
  • #13
Type what I said at that prompt.
 
  • #14
MrAnchovy said:
Why are you running npiet-foogol: do you have a foogol program you want to convert?

To run one of the examples type
Code:
npiet examples/loop.gif

npiet examples/loop.gif just outputs
10
9
8
7
6
5
4
3
2
1
 
  • #15
That's the output of the program encoded in that image, what did you expect to see?
 
  • #16
MrAnchovy said:
That's the output of the program encoded in that image, what did you expect to see?
Perhaps you do not understand what I want. the following link will give you the option to download "Piet Mondrian Composer" which is a trial, otherwise it or a similar program is what I want.
http://piet-mondrian.en.softonic.com/
 
  • #17
Steven Ellet said:
Perhaps you do not understand what I want. the following link will give you the option to download "Piet Mondrian Composer" which is a trial, otherwise it or a similar program is what I want.
http://piet-mondrian.en.softonic.com/
I don't think you understand what that program does: it is nothing to do with the Piet programming language. You do realize that that language is just an elaborate joke?
 
  • #18
I think of it as a challenge
 
  • #19
If you think you are up to the challenge you should start here: http://www.dangermouse.net/esoteric/piet/tools.html. The easiest implementation to get up and running is surely this one which runs in a browser: http://www.rapapaing.com/blog/?page_id=6.
 

Similar threads

Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 397 ·
14
Replies
397
Views
21K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K