unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Amirouche Boubekki <amirouche@hypermove.net>
To: sph@posteo.eu
Cc: Guile user <guile-user@gnu.org>,
	guile-user-bounces+amirouche=hypermove.net@gnu.org
Subject: Re: [ANN] sph command-line interface library, automatic testing and guile projects list as csv
Date: Thu, 22 Dec 2016 20:11:47 +0100	[thread overview]
Message-ID: <19732d113351a76847a177065d9f051f@hypermove.net> (raw)
In-Reply-To: <170ab4726ffc855455b8810293414a1f@posteo.de>

On 2016-12-22 19:09, tantalum wrote:
>> Would it be possible to have that list using an xml format that can be 
>> consumed by search engines?
> yes. do you have a specific format in mind? i have heard of "sitemap" 
> format

I was thinking about sitemap indeed.

> 
>> Fun! How did you do that?
> 
> with word lists for specific parts of speech, like this:
> 
> (define-as verb vector
>   "extend" "revolutionise"
>   "offer" "obtain"
>   "access" "improve")
> 
> and then patterns like this:
> 
> (define patterns
>     (list->vector
>       (let*
>         ( (source
>             (list (list verb "and" verb noun "to" goal "with" adjective 
> noun)
>               (list verb "," verb "and" verb noun)
>               (list adjective noun predicative-adjective combinator
> adjective noun)
>               (list (random-choice "" verb goal-prefix) adjective
>                 adjective noun (random-choice "" noun noun))
>               (list verb "your" adjective noun "and" verb adjective 
> noun)
>               (list verb noun predicative-adjective "and" verb
> adjective noun predicative-adjective)
>               (list (random-choice verb goal) noun
>                 predicative-adjective combinator noun combinator
> adjective noun predicative-adjective)
>               (list verb "and" verb adjective adjective noun)
>               (list noun noun combinator noun predicative-adjective)))
>           (source+goal
>             (map (l (e) (if (eq? verb (first e)) (append e (list "and"
> goal)) e)) source)))
>         (append source source+goal))))
> 
> the patterns are then used to create sentences with words selected
> from the lists they contain. the words are selected in random order
> and with making sure that a word has not already been used in the same
> sentence.
> 
> here is the source code: 
> http://files.sph.mn/s/computer/create-marketing-bs.scm
> 
> 
> On 2016-12-21 19:34, Amirouche Boubekki wrote:
>> On 2016-03-24 00:10, tantalum wrote:
>>> i am happy to announce a new version of the (sph cli) library for
>>> command-line option parsing.
>>> a big new feature besides general improvements is integrated support
>>> for sub commands similar to what "git" has (git push, git pull and 
>>> the
>>> like).
>>> the library documentation and overview can be found here:
>>> http://sph.mn/content/49f
>>> 
>>> apart from command-line interfaces, i did something for automatic
>>> testing. (sph test) has been rewritten and now has test modules. you
>>> can have a look at it here:
>>> http://sph.mn/content/97b
>>> 
>>> also, the list of guile related projects on the net is now available
>>> as a csv download via a link on the page.
>>> http://sph.mn/content/3e73
>> 
>> Would it be possible to have that list using an xml format that can
>> be consumed by search engines? Please? Maybe I can help making a 
>> patch?
>> 
>>> 
>>> and while we are at it, for fun, http://sph.mn/o/bs generates weird
>>> business software marketing headlines and topics.
>> 
>> Fun! How did you do that?

-- 
Amirouche ~ amz3 ~ http://www.hyperdev.fr



  reply	other threads:[~2016-12-22 19:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-23 23:10 [ANN] sph command-line interface library, automatic testing and guile projects list as csv tantalum
2016-03-25 11:07 ` Ludovic Courtès
2016-12-21 19:34 ` Amirouche Boubekki
2016-12-22 18:09   ` tantalum
2016-12-22 19:11     ` Amirouche Boubekki [this message]
2016-12-22 19:42       ` tantalum
2016-12-23 17:48         ` Amirouche Boubekki
2016-12-21 19:41 ` Amirouche Boubekki
  -- strict thread matches above, loose matches on Subject: below --
2016-03-26  0:33 jkal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19732d113351a76847a177065d9f051f@hypermove.net \
    --to=amirouche@hypermove.net \
    --cc=guile-user-bounces+amirouche=hypermove.net@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=sph@posteo.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).