Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

keremkoseoglu/Joseki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joseki

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

Installation

First, install Vibhaga.

pip install git+http://github.com/keremkoseoglu/vibhaga.git

Then, install Joseki.

pip install git+http://github.com/keremkoseoglu/joseki.git

Adding a new class

  • 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

Adding a new pattern

  • Implement the new pattern into pattern/design_pattern.py
  • Edit the languages under language to add support for the new pattern

Trivia

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.

Releases

No releases published

Packages

No packages published

Languages