From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: [ANN] nyacc 1.04.0 released Date: Fri, 28 May 2021 06:47:57 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11963"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 To: Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri May 28 15:48:31 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 1lmcql-0002w3-CQ for guile-user@m.gmane-mx.org; Fri, 28 May 2021 15:48:31 +0200 Original-Received: from localhost ([::1]:34726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmcqk-0007m7-D2 for guile-user@m.gmane-mx.org; Fri, 28 May 2021 09:48:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmcqK-0007k2-Hj for guile-user@gnu.org; Fri, 28 May 2021 09:48:04 -0400 Original-Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:45613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmcqH-0004BA-Of for guile-user@gnu.org; Fri, 28 May 2021 09:48:04 -0400 Original-Received: by mail-pf1-x436.google.com with SMTP id d16so3254234pfn.12 for ; Fri, 28 May 2021 06:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=Wl6PiqlWlhKi8OMYq/qOFhaCXUkrE1ES9iZ5/+2GN/Y=; b=oJpUMy9P8cUqormA4MfZbi00CN+CbCmjYvPY6lZOwLTzdzEyTzaNQzErP+ZcDWSbK7 xWs1dqNXNt0ueqzVvcakRHXbWzra82PnYlzbU4ITG563lrIrmYLCAbVgzkaBTLY8I2dv JPQZ15IRZuiYFlyONnyglph6bL3mnuaBGq/rd6TYozKfzbK93fbaF3PIRa3zAo0m3KLA fH9AGVWMvFNV3iP/HM8xMf0BD9bBs8Axfe7LzGUppV/32hhGxlqaOVs58PdaH3zk2Jvs Z/HOdgECH0vHShsHlsgiOCzs+j/UwtlMLVDwtViN8VMYrlw1mgwHXCK1sFxH+XB2X7hF TeGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=Wl6PiqlWlhKi8OMYq/qOFhaCXUkrE1ES9iZ5/+2GN/Y=; b=F/Auvtbgp+Us9V63VDlO0v5sSJVgynHu9yZRn3dQS22PcMCnH5Q0ELABX0kNIIg/Mt MmvvRhtaRLMQ53FQN+h3vFDhNQ/HCKjAJKSixxK37o/VySOTddevTy/ZxqeAiTEb2nqA UfVOo5v2VyQwKsqFhdJz6GhEOHt2KF7em4iYrEqfHf7NAH3GXmqb8lsWDN3wDcGXNsaf z7eKv9uscpW1MhURC1fMhtGEff5JsM42lAgX8BgY6Y738khFGFWPYC0p7NCOijqhlvcm Mmbyc6gafmv+7drxvWRE1cPKqA8WY40kydWA0xOU41WFdogfXTB0xRNWgIT1VG9T4iKq wBYQ== X-Gm-Message-State: AOAM531QuKbH0nT6cTsaR6LEGmeDA5/j1ev7miGNFWexlISVuAJ3WnPb 3q2tCsRZru3fOIT94Gd8J+1lkZlqXDY= X-Google-Smtp-Source: ABdhPJxJHHnL8cijSgDTmY0yxUQJhdjBCrrLY6zhW0LZaYpP1WtFI69+PfUMkf/xyN3BI64jz4bEbA== X-Received: by 2002:a65:41c8:: with SMTP id b8mr8956022pgq.196.1622209678824; Fri, 28 May 2021 06:47:58 -0700 (PDT) Original-Received: from [192.168.2.126] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id 126sm4550576pfv.82.2021.05.28.06.47.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 May 2021 06:47:58 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=matt.wette@gmail.com; helo=mail-pf1-x436.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:17542 Archived-At: Hi All, I have released nyacc-1.04.0, which provides union support in the FFI Helper. I have not thoroughly tested (as FFI Helper tests are not yet automated). Also, I have been uploading a guix.scm file in the release directory. I have not been using guix lately so any feedback to clean it up would be appreciated. Matt NYACC, for Not Yet Another Compiler Compiler, is set of guile modules for generating parsers and lexical analyzers. It also provides sample parsers and pretty-printers using SXML trees as an intermediate representation. It provides a decent C parser and a `FFI Helper' tool to help create Guile Scheme bindings for C-based libraries. It provides (partially implemented) compilers based on above mentioned parsers to allow execution with Guile as extension languages. NEWS for V1.04.0 * in nyacc/lex.scm, changed signature of lex-generator extra-reader to (ch loop) from (ch), so that user-supplied routine can loop * nyacc/lang/c99/ffi-help.scm: clean up and added support for unions and anonymous arrays in structs. This needs testing. Considering bug #60410 closed. Anonymous structs unions are being augmented with stubbed identifiers _1 ... _N (for now). * Changed C99 emitted type-qual elements to use subelements instead of strings: (type-qual "restrict") -> (type-qual (restrict)) NYACC maturity is production/stable level. NYACC is free software; the full source distribution is available through * the tarball repository: https://download.savannah.gnu.org/releases/nyacc/ * the git repository: git://git.savannah.nongnu.org/nyacc.git home page, project page and user's guides: * https://www.nongnu.org/nyacc * https://savannah.nongnu.org/projects/nyacc * https://www.nongnu.org/nyacc/nyacc-ug.html * https://www.nongnu.org/nyacc/ffi-help.html Report bugs: * https://savannah.nongnu.org/bugs/?group=nyacc Get support: * https://savannah.nongnu.org/support/?group=nyacc