unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Matt Wette <matt.wette@gmail.com>
To: guile-user@gnu.org
Subject: Re: C programs in Scheme syntax
Date: Fri, 29 May 2020 05:34:27 -0700	[thread overview]
Message-ID: <164775ef-dd78-bd8f-ea7e-c6707997eb31@gmail.com> (raw)
In-Reply-To: <87pnantoe5.fsf@fcs20.keithdiane.us>

The other solutions look closer to what you want but

     https://savannah.nongnu.org/projects/nyacc

has a C parser written in Guile which outputs SXML
and a pretty-printer which converts the SXML to C code.

On 5/28/20 8:23 PM, Keith Wright wrote:
> I am thinkging about a project that uses Scheme macros
> to generate C code.  To this end I want to encode C
> programs as S-expressions.




  parent reply	other threads:[~2020-05-29 12:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  3:23 C programs in Scheme syntax Keith Wright
2020-05-29  3:57 ` John Cowan
2020-05-29  7:29   ` Arne Babenhauserheide
2020-05-29 12:34 ` Matt Wette [this message]
2020-05-29 15:30 ` Zelphir Kaltstahl
2020-05-29 16:27 ` Andrew Gwozdziewycz
2020-05-29 20:01 ` Jan Wedekind
2020-05-30 10:13   ` Todor Kondić
  -- strict thread matches above, loose matches on Subject: below --
2020-05-31 15:40 tantalum

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=164775ef-dd78-bd8f-ea7e-c6707997eb31@gmail.com \
    --to=matt.wette@gmail.com \
    --cc=guile-user@gnu.org \
    /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).