Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnek/pietron
Cross-platform IDE for Piet.
https://github.com/dnek/pietron
cross-platform-ide electron esolang esoteric-language esoteric-programming-language interpreter piet
Last synced: 3 months ago
JSON representation
Cross-platform IDE for Piet.
- Host: GitHub
- URL: https://github.com/dnek/pietron
- Owner: dnek
- License: mit
- Created: 2018-03-08T03:43:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T09:19:03.000Z (almost 2 years ago)
- Last Synced: 2024-04-17T07:39:15.457Z (10 months ago)
- Topics: cross-platform-ide, electron, esolang, esoteric-language, esoteric-programming-language, interpreter, piet
- Language: JavaScript
- Size: 666 KB
- Stars: 36
- Watchers: 4
- Forks: 9
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pietron
Cross-platform IDE for Piet.
## Description
Pietron is a cross-platform IDE for editing and debugging the source code of "Piet", an esoteric programming language.
The specification of Piet is [here](http://www.dangermouse.net/esoteric/piet.html).
Pietron is developed with [Electron](https://electronjs.org/) and named after it.
## ScreenShot
## Usage
### Editor
- Draw free lines by dragging on the canvas.
- Select a color by clicking on the palette and the selected is shown at the bottom-right corner.
- Change the color to draw with by clicking on the palette.
- The commands are shown in each color on the palette.
- The bare one is from * (origin) and the parenthesized one is to *.
- Change the * color by right-cicking on the palette.
- Pick a color by right-clicking on the canvas.
- Change the canvas size in various ways.
- Change the canvas size one by one with the top-left position fixed with Ctrl + Alt + [↑↓←→] (⌥⌘ on OSX).
| meaning | keyboard shortcut |
|-----------|---------------------|
| extend to the right | Ctrl + Alt + → |
| extend downwards | Ctrl + Alt + ↓ |
| trim the rightmost column | Ctrl + Alt + ← |
| trim the bottom row | Ctrl + Alt + ↑ |- Change the canvas size one by one with the bottom-right position fixed with Ctrl + Shift + [↑↓←→] (⇧⌘ on OSX).
| meaning | keyboard shortcut |
|-----------|---------------------|
| shift the image to the right | Ctrl + Shift + → |
| shift the image down | Ctrl + Shift + ↓ |
| trim the leftmost column | Ctrl + Shift + ← |
| trim the top row | Ctrl + Shift + ↑ |- Change the canvas size to the specified width and height with Ctrl(⌘) + R.
- Undo/Redo support (Ctrl(⌘) + Z / Ctrl + Y (⇧⌘Z)).
- Zoom support (Ctrl(⌘) + ";" / Ctrl(⌘) + "-").
### Debugger
- "Start Debug" executes commands until the program terminates (F5).
- When the commands are executed over 1,000,000 times, a comfirmation dialog will be displayed.
- "Jump Debug" excutes the specified number of commands (F6).
- "Step Debug" excutes a next command (F7).
- "Stop Debug" stops the execution (ESC).
- While debugging, the source codel and the destination codel are indicated by red and blue borders.
- 🎨Emoji🐛 Support.
### File I/O
- PNG/BMP support.
- Codel size specification support.
- Non piet colors are dealed as white.
## Install
Download zipped files for your operating system from [releases](https://github.com/dnek/pietron/releases).
Executable files are contained in them.
## Author
- **dnek** - *Piet lover* - [dnek](https://github.com/dnek)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## TODOs
- Canvas with HTML5 ``.
- Editor Selection mode.
- Move with arrow keys on the canvas.
- Command preview on the canvas.
- Breakpoint.
- File drag & drop.
- Set the limits of stack & integer.
- Debug log.
## Acknowledgments
- [Pidet](https://github.com/dnek/Pidet) is my previous product and I do not recommend using it.
- Japanese only.
- Windows support only.
- No Emoji support.
- Not maintained.