From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joshua Branson Newsgroups: gmane.lisp.guile.user Subject: Re: nyacc support for extension languages Date: Sun, 19 Aug 2018 17:28:10 -0400 Message-ID: <87r2iut5at.fsf@fastmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1534713369 22397 195.159.176.226 (19 Aug 2018 21:16:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2018 21:16:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Aug 19 23:16:05 2018 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 1frV3L-0005hh-Mh for guile-user@m.gmane.org; Sun, 19 Aug 2018 23:16:04 +0200 Original-Received: from localhost ([::1]:44136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frV5R-0008KC-VR for guile-user@m.gmane.org; Sun, 19 Aug 2018 17:18:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frV4m-0008JF-ID for guile-user@gnu.org; Sun, 19 Aug 2018 17:17:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frV4h-0004vw-Ib for guile-user@gnu.org; Sun, 19 Aug 2018 17:17:32 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:50341) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1frV4h-0004tw-8j for guile-user@gnu.org; Sun, 19 Aug 2018 17:17:27 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9BB2A235 for ; Sun, 19 Aug 2018 17:17:24 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 19 Aug 2018 17:17:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=mc9Aq6PHEY9AFUOGMUn466YGb7qd6yQqTHy3DG9nU4U=; b=A1ZQgs9J bDcD6WQdaaWPHqGt+znhyJCWV47CRLDeQd5yMJhXQTCX5+z8LwDq8ifGei0mgfZy CbkMit9tqHIVAJ94DYwPLzcTvjrotj51kFYkzbmAhonK8lOGFG04syNb5P0t6Vln 0sN6MPdzJ+PqQZYPkzn3a+AjpsN2CDxko0b5Kpm/+FkkLuTYrFbNg9WPJIUCPhUs N38kln8bBvHqAoq3F+telL1yHlBdoVw3XEkeSDYErd3hgX7YZKI4x5Bt+RNw2HBa nMo0mQ9cdz/XuaZtiqsczithAruFxZT5pgR0rPg00V86smviqvkXq4d2Xu/fekk1 BqX1J/VqQmqhCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=mc9Aq6PHEY9AFUOGMUn466YGb7qd6 yQqTHy3DG9nU4U=; b=W3jMbNaNRhMn0IlzOJep1WFSZ01TDVVI3RhlCCU+cb+IN SubZaIU7dIUj94xhK+dvwFodlH97LtYy6anLpieudZEP9v+kC9sRn4bN+QAWDP9u CE4DfZIAbFTd8oz2ncLQGGxPShiVdi2wIS4eSScF8syUDukqwtOEHYuWpJSwxEgq loTIOWtDSp9HXzjUQLTt3HUKAsC5x7r0WZgFAx9KPTDWok7QNeqdpqiLEurjnoKf Kur/qP7nQBedeMYwq6mdvYdXGTWRZbcvfl4f+310pU8vXWmsuv9YKLFG7AL6Dz2y m0Aw+tPr8YK0Va5cf4RWS57TyqargRDjchrWzbVxA== X-ME-Proxy: X-ME-Sender: Original-Received: from dobby (unknown [72.12.220.132]) by mail.messagingengine.com (Postfix) with ESMTPA id CB00B1025D for ; Sun, 19 Aug 2018 17:17:23 -0400 (EDT) In-Reply-To: (Matt Wette's message of "Sun, 12 Aug 2018 12:48:49 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.25 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:14739 Archived-At: Matt Wette writes: > I am working on providing a module to add to the nyacc distribution for > the purpose of generating extension languages, and putting together a few > extensions for demo. So far I'm playing with javascript and matlab. > These languages use a "nx-" prefix to designate them as "nyacc extension". > One can interpret "nx" to also mean "not exactly", so "nx-matlab" is not > exactly MATLAB. It has taken some work to get my yacc like parser to > parse expressions instead of files, so some work has gone into updating > the nyacc parser. nyacc/parse.scm now has parser generators that provide > an #:interactive option and more robust default-reductions for generating > parsers which work well in interactive mode. > This is super cool! Is the goal to eventually make it exactly matlab/exactly javascript? Or will there always be some portability issues? > > Matt