-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🎨 add poem generation script and file output
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
script({ | ||
tests: {}, | ||
}) | ||
$`Generate a poem and save it in a file poems/<title>.txt` | ||
|
||
defFileOutput("poems/*.txt") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Whispers of the wind in the twilight hour, | ||
Dancing leaves and blooming flower. | ||
Soft murmurs through the ancient trees, | ||
Nature's serenade, a gentle breeze. | ||
|
||
Stars awaken in the night sky, | ||
Glimmering softly, they catch the eye. | ||
Moonlight weaves a silver thread, | ||
Across the earth, where dreams are spread. | ||
|
||
Silent echoes of the night, | ||
Crickets sing in pure delight. | ||
A symphony of peace and grace, | ||
In the quiet, nature's embrace. | ||
|
||
Morning dew on petals bright, | ||
Glistening in the dawning light. | ||
A new day begins, with hopes anew, | ||
In the heart of nature, pure and true. |