askrobots / dbbasic-compiler
Public
Describe what you want in an intent file; the compiler uses Claude to write the code.
danq9
Add context files - the header files of intent compilation
114b162
1 year, 1 month ago
History
hello_world.intent.md · 607 bytes · 25 lines
Hello World - Greeting Program
Create a simple program that greets users.
What It Should Do
- Ask the user for their name
- Greet them with a friendly message
- Ask if they want to greet someone else
- If yes, repeat; if no, say goodbye
Example Interaction
What's your name? Alice
Hello, Alice! Nice to meet you!
Greet someone else? (yes/no): yes
What's your name? Bob
Hello, Bob! Nice to meet you!
Greet someone else? (yes/no): no
Goodbye! Have a great day!
Requirements
- Must handle empty names (prompt again)
- Accept yes/y/no/n (case insensitive)
- Be friendly and welcoming