9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto)
Date: Fri, 22 Jul 2011 19:53:30 +0200	[thread overview]
Message-ID: <20110722175330.GB2065@fangle.proxima.alt.za> (raw)
In-Reply-To: <8e8648e7029cff027f2fbfc4920762ae@quintile.net>

On Fri, Jul 22, 2011 at 05:35:24PM +0100, Steve Simon wrote:
>
> My understanding is that bison can be convinced to output some static
> tables which the Go authors munge into some C source (with awk).
>
> These tables allow the Go parser to generate more useful and
> accurate error messages.
>
That matches my recollections from some superficial inspection a few days
ago.  Thanks for bringing these memories back and clarifying them for me.

> I believe using bison is not mandatory if you don't mind hacking
> the code a little, but you won't get the nicer error handling.
>
That suggests that porting Bison is a "must" as anything else will
not meet the criterion of being included in the Go distribution.
Bootstrapping Bison seems to be my main obstacle (it relies on Bison
features, not least the very same %error-verbose I have encountered in
Go), but it can be overcome by using cross-processing from either NetBSD
or UBUNTU, so that's just some effort on my part.

> This is educated guesswork from looking at the code a few months ago,
> please don't treat it as gospel.
>
Pretty good analysis, if my memory is anything to go by.

++L



  reply	other threads:[~2011-07-22 17:53 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22  5:36 arnold
2011-07-22  6:33 ` Lucio De Re
2011-07-22  7:42   ` Bakul Shah
2011-07-22  9:49     ` Lucio De Re
2011-07-22 12:41 ` erik quanstrom
2011-07-22 13:03   ` Lucio De Re
2011-07-22 15:13     ` erik quanstrom
2011-07-22 15:37       ` Lucio De Re
2011-07-22 17:13         ` Bakul Shah
2011-07-22 17:53           ` erik quanstrom
2011-07-22 18:08             ` Lucio De Re
2011-07-22 18:20               ` erik quanstrom
2011-07-22 18:32                 ` Skip Tavakkolian
2011-07-22 19:04                   ` Lucio De Re
2011-07-22 18:54                 ` Lucio De Re
2011-07-22 18:22             ` ComeauAt9Fans@gmail.com
2011-07-22 18:32               ` erik quanstrom
2011-07-22 18:57               ` Lucio De Re
2011-07-22 18:38             ` Bakul Shah
2011-07-22 18:45               ` erik quanstrom
2011-07-22 18:48               ` ComeauAt9Fans@gmail.com
2011-07-22 18:53                 ` erik quanstrom
2011-07-22 19:08                   ` tlaronde
2011-07-22 18:55                 ` Bakul Shah
2011-07-22 19:09                   ` erik quanstrom
2011-07-22 19:42                     ` Bakul Shah
2011-07-23  9:14                       ` erik quanstrom
2011-07-23 13:24                         ` Lucio De Re
2011-07-22 19:13                   ` Lucio De Re
2011-07-22 15:39     ` Bakul Shah
2011-07-22 15:43       ` erik quanstrom
2011-07-22 16:35         ` Steve Simon
2011-07-22 17:53           ` Lucio De Re [this message]
2011-07-22 18:03             ` Lucio De Re
2011-07-22 18:30           ` Ethan Grammatikidis
2011-07-22 18:33             ` erik quanstrom
2011-07-22 18:53               ` ComeauAt9Fans@gmail.com
2011-07-22 19:00             ` Lucio De Re
2011-07-22 20:10               ` Ethan Grammatikidis
2011-07-22 22:59                 ` Russ Cox
2011-07-23 11:16                   ` Ethan Grammatikidis
2011-07-22 17:48       ` Lucio De Re
2011-07-22 18:17         ` Ethan Grammatikidis
2011-07-22 19:40         ` Bakul Shah
  -- strict thread matches above, loose matches on Subject: below --
2011-07-22  8:18 arnold
2011-07-15  8:51 Alex Brainman
2011-07-11 16:59 [9fans] GNU/Linux/Plan 9 disto Gorka Guardiola
2011-07-11 19:31 ` Charles Forsyth
2011-07-12  5:59   ` Pavel Zholkover
2011-07-12 15:13     ` [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto) Lucio De Re
2011-07-12 18:35       ` Francisco J Ballesteros
2011-07-13 18:31         ` Lucio De Re
2011-07-13 18:45           ` Lucio De Re
2011-07-14 18:59             ` stephano zanzin
2011-07-14 20:21               ` Lucio De Re
2011-07-14 20:35                 ` Iruatã Souza
2011-07-15  2:37                 ` Fazlul Shahriar
2011-07-22  4:40           ` Lucio De Re
2011-07-22 14:37             ` Ethan Grammatikidis
2011-07-27  2:55               ` kokamoto
2011-07-12 18:44       ` Skip Tavakkolian

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110722175330.GB2065@fangle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@9fans.net \
    /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 NNTP newsgroup(s).