From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: tantalum Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] sph command-line interface library, automatic testing and guile projects list as csv Date: Thu, 22 Dec 2016 18:09:35 +0000 Message-ID: <170ab4726ffc855455b8810293414a1f@posteo.de> References: <7e764800d20ac50666505c8afd815228@posteo.de> Reply-To: sph@posteo.eu NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482430220 26214 195.159.176.226 (22 Dec 2016 18:10:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 18:10:20 +0000 (UTC) User-Agent: Posteo Webmail Cc: Guile user , guile-user-bounces+amirouche=hypermove.net@gnu.org To: Amirouche Boubekki Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 22 19:10:14 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK7od-0005SH-Pd for guile-user@m.gmane.org; Thu, 22 Dec 2016 19:10:07 +0100 Original-Received: from localhost ([::1]:35582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK7oi-00083u-7E for guile-user@m.gmane.org; Thu, 22 Dec 2016 13:10:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK7oF-00082o-GC for guile-user@gnu.org; Thu, 22 Dec 2016 13:09:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK7oB-0003ZP-Cr for guile-user@gnu.org; Thu, 22 Dec 2016 13:09:43 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:54434) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cK7oB-0003Xj-5u for guile-user@gnu.org; Thu, 22 Dec 2016 13:09:39 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8D42B20B17 for ; Thu, 22 Dec 2016 19:09:36 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3tl00b4tc2z108f; Thu, 22 Dec 2016 19:09:35 +0100 (CET) Mail-Reply-To: sph@posteo.eu In-Reply-To: X-Sender: sph@posteo.eu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13041 Archived-At: > 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 > 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?