From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: poptsov.artyom@gmail.com (Artyom V. Poptsov) Newsgroups: gmane.lisp.guile.user Subject: [ANN] Guile-SMC 0.1.0 Date: Sat, 01 May 2021 19:46:18 +0300 Message-ID: <87h7jms8px.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34510"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: Guile Users' Mailing List Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat May 01 18:46:48 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcslT-0008sf-PW for guile-user@m.gmane-mx.org; Sat, 01 May 2021 18:46:47 +0200 Original-Received: from localhost ([::1]:38440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcslS-0003zC-RE for guile-user@m.gmane-mx.org; Sat, 01 May 2021 12:46:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcsl8-0003xO-CF for guile-user@gnu.org; Sat, 01 May 2021 12:46:26 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:34511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcsl5-000370-Ts for guile-user@gnu.org; Sat, 01 May 2021 12:46:26 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id p12so1856867ljg.1 for ; Sat, 01 May 2021 09:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=IUbyxQtVfDpVa4nC+VRcU3JBTzO9VrMpWLbwGJlJ+A0=; b=if8OLJGaCtaoG14IrfMzmWdW/E5MZqOTnZPWi95OiKRKULY5FWeAJiMdYUNGrmO3sZ o0bknhAQIfKVqS5jIJ+TymrLfbuni3HCRR4bxu+cwzisfiPuRlOH6wJ1FzBoPIXGqEnU BlH6t6OLNwBgnKgVLZfZybNp4cGCaBrMtDWX7yxlg8o9B/bb0LEFmFN/Yc3PtRlYd5qZ 4KP7xTOWsPQzBvfoqgmLXVcBT6JHp8lMG+vbdjm3gT+hOddbn60VHDOQCI8SHtP4zmAd TD0J4CQ4PffAYs56lhUkL/3Ky2oYhkQA4WNfSY0DhT0uACT4CIedKL0G3vkwhBSMBHny UeVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=IUbyxQtVfDpVa4nC+VRcU3JBTzO9VrMpWLbwGJlJ+A0=; b=m++ORZXhgdQgcyI8Hjh3QXsR40D1miHGbOI9FJ3yvMFVZWrZ0weiAAJ7bQUn5Gu1Rp rqSbUa8VYIkAfltmb3LlbvmA0awNwCJh+aTs9yl0qESTWi/upPHBPzMQEyKvT3Kw49oX EOjemn7Kb5/wTCL5zYKlvYP8q9brBkLKMgRaaJBY86vqTQXpP/Qu9eDVn0akh+ozPM0a b9H5yQkjrXIUuM3tqLU20vlAge3K2uQRtHFBphW8wjRWhOSkKi2PRm33DOS2DMsbNrNT MzPLNwXGy5xDMaBxhWz1YqkL554MN/jwD12TVvpjaJWqOeYJb8MurTlCDahl7z5hQLGz 1nFg== X-Gm-Message-State: AOAM531z4sDzLdXhYItQs27yY5h0Ry32f4z8UR8ZPcR6yhzFKcMtUstD kSgvDZHQJkcpqbsdpxOjuDeVxkusBR0= X-Google-Smtp-Source: ABdhPJx3AHsKqtFSO0w4n1/6H2x1nZETk7EZON8b1CsqjXH4nMlGATu/n2QuNepFb5+JgTVkAPVhDg== X-Received: by 2002:a2e:9e46:: with SMTP id g6mr7397619ljk.55.1619887579936; Sat, 01 May 2021 09:46:19 -0700 (PDT) Original-Received: from elephant ([5.164.212.245]) by smtp.gmail.com with ESMTPSA id b29sm612141lfo.247.2021.05.01.09.46.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 May 2021 09:46:19 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x22e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17493 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I'm pleased to announce Guile State Machine Compiler (Guile-SMC), version 0.1.0: https://github.com/artyom-poptsov/guile-smc/releases/tag/v0.1.0 I'm hoping that it will ease the burden of writing format parsers and other useful GNU Guile libraries for the community. * What is Guile-SMC? Guile-SMC is a state machine compiler that allows to describe finite state machines (FSMs) in Scheme in terms of transition tables. It is capable to generate such transition tables from a PlantUML state diagrams. [1] A transition table can be verified and checked for dead-ends and infinite loops. Also Guile-SMC FSMs gather statistics when they run. Guile-SMC comes with a Scheme program called 'smc' -- a state machine compiler itself. It produces a Scheme code for an FSM from the PlantUML format. This tool is meant to be called on a PlantUML file when a program with a FSM is being built (for example, from a Makefile.) * Usage examples I wrote an INI[2] format parser to test the foundation ideas behind Guile-SMC from the practical perspective: https://github.com/artyom-poptsov/guile-ini I'm going to release it soon as well. Happy hacking, =2D Artyom References: 1: https://plantuml.com/state-diagram 2: https://en.wikipedia.org/wiki/INI_file =2D-=20 Artyom "avp" Poptsov CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmCNhdoACgkQ6cWi2QiY oC9v9wf+IMgSDHGBC9PxU1cTvuvmGfbyuGc0dfcI4RhseC5BLfC6gAQZR+HrfOWg P+RoSJLxmakCuo2c9x8WhNKqQpasrRKC1zTXaPoevDV+DVfKkGBG2ac++gzjIoHe 9j2yrW/LgXnuvhloqwVCPwanJWsn/WjMpBKS/aG65BkIjb+/RS82kUZaQznZYprs EowYBPsdNHqggnSaB0isMclLkBNLwLT2SG9qg5YYkguV02/ky7hJikPEoSiUk4qv dflnmKkiQdeZbAgTnLggM0a3f70F8OywsyLHDkplqyeouL0CtMH1wNwD24gX9mYT YxIS+48lYkckBX92xLPKQJ6t47/cCw== =nldv -----END PGP SIGNATURE----- --=-=-=--