Joseki is a simple code generator to help with class generation, based on design patterns. Basically; you select your language & design pattern, change the JSON configuration and hit "Generate" to get the class source code. Demo available here: https://youtu.be/vhbdofOGbXg
First, install Vibhaga.
pip install git+http://github.com/keremkoseoglu/vibhaga.git
Then, install Joseki.
pip install git+http://github.com/keremkoseoglu/joseki.git
- Add a new file to the package language
- Add a new language class derived from abstract_language.AbstractLanguage
- Implement support for desired patterns
- Modify language/factory.py to support the new language
- Implement the new pattern into pattern/design_pattern.py
- Edit the languages under language to add support for the new pattern
Joseki refers to a studied and standardized sequence of moves in game of Go in the opening phase of a game. Just like design patterns in the opening phase of a project.