From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amirouche Boubekki 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 20:11:47 +0100 Message-ID: <19732d113351a76847a177065d9f051f@hypermove.net> References: <7e764800d20ac50666505c8afd815228@posteo.de> <170ab4726ffc855455b8810293414a1f@posteo.de> 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 1482433956 14608 195.159.176.226 (22 Dec 2016 19:12:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 19:12:36 +0000 (UTC) User-Agent: Roundcube Webmail/1.1.2 Cc: Guile user , guile-user-bounces+amirouche=hypermove.net@gnu.org To: sph@posteo.eu Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 22 20:12:30 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 1cK8mq-0002D0-LQ for guile-user@m.gmane.org; Thu, 22 Dec 2016 20:12:20 +0100 Original-Received: from localhost ([::1]:35842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK8mv-0001uk-Ao for guile-user@m.gmane.org; Thu, 22 Dec 2016 14:12:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK8mV-0001ss-73 for guile-user@gnu.org; Thu, 22 Dec 2016 14:12:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK8mT-0005MY-Va for guile-user@gnu.org; Thu, 22 Dec 2016 14:11:59 -0500 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:36599) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cK8mO-0005KG-Et; Thu, 22 Dec 2016 14:11:52 -0500 Original-Received: from mfilter23-d.gandi.net (mfilter23-d.gandi.net [217.70.178.151]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 076D6FB886; Thu, 22 Dec 2016 20:11:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter23-d.gandi.net Original-Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter23-d.gandi.net (mfilter23-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id axY3fvkHrsFK; Thu, 22 Dec 2016 20:11:49 +0100 (CET) X-Originating-IP: 10.58.1.150 Original-Received: from webmail.gandi.net (webmail10-d.mgt.gandi.net [10.58.1.150]) (Authenticated sender: amirouche@hypermove.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPA id 22915FB87E; Thu, 22 Dec 2016 20:11:47 +0100 (CET) In-Reply-To: <170ab4726ffc855455b8810293414a1f@posteo.de> X-Sender: amirouche@hypermove.net X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.198 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:13042 Archived-At: 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