Skip to content

A Python implementation of the chicken esoteric programming language.

License

Notifications You must be signed in to change notification settings

aldr4GO/chickenpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chickenpy

A Python implementation of the chicken esoteric programming language by Torbjörn Söderstedt.

What's chicken?

A chicken program only contains the tokens "chicken", " " and "\n". The number of chickens per line represent an opcode, which is loaded onto the same stack as the program and executed directly.

For more details, view the original implementation and spec here, or view the Esolang page for chicken.

Installation

$ pip install chickenpy
$ chickenpy --help

Manual Installation

Requirements

Steps

  1. Click the Clone or download button in the top right corner.
  2. Either clone the repository or download the ZIP file and extract.
  3. Change directory and install dependencies.
$ cd chickenpy
$ poetry install --no-dev

Run the program by launching a subshell:

$ poetry shell
$ chickenpy --help

Or by running it directly using poetry:

$ poetry run chickenpy --help

Dependencies

Examples

Examples can be found in the examples/ directory:

$ chickenpy -f examples/hello_world.chn

License

This project is licensed under MIT. For more information see the LICENSE file.

About

A Python implementation of the chicken esoteric programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%