@coder-ka/yinyang
v1.0.0
Published
Yinyang is a tool for completing code together with AI.
Readme
yinyang
Yinyang is a "Code as Prompt" AI framework for faster and reliable development.
Like yin and yang complement each other, the AI's code and yours are combined into working software.
Your code is never changed. The dependencies implemented by the AI are injected into it.
Getting Started
npm install @coder-ka/yinyangCreate a file named main.yang.ts:
export function main<Text>(
stdIn: () => Text,
stdOut: (message: Text) => void
) {
stdOut(stdIn())
}Compile it:
npx yinyang compile main.yang.tsThis generates main.ts.
You can execute it using tsx
npx tsx main.tsBy default, Yinyang reads the README.md in the current directory to understand the software's purpose, interface, and features.
