wonderful! 在2011年10月23日星期日 UTC+8 下午3:11:53<⚛> 写道:
> On Sat, Oct 22, 2011 at 8:05 PM, Tom (NiftyHat) Mitchell > <nifty...@gmail.com> wrote: > > > > On Sat, Oct 22, 2011 at 1:38 AM, ⚛ <0xe2.0x...@gmail.com> wrote: > > > On Oct 22, 12:14 am, "Tom (NiftyHat) Mitchell" <nifty.mi...@gmail.com> > > > wrote > > :..... > > >> ...snip... > > >> in the parser (see Bison > > >> > > >> > file "src/cmd/gc/go.y" in Go implementation). > > >> > > >> One answer for a student > > ....... > > > > And you remarked to me. > > > > > I do not understand what you are talking about. > > > > My take on the question from the original poster > > was this was a take-home quiz question. > > > > Knowing the answer is often not the goal in a class. > > Knowing how to discover the answer is. > > > > Sort of like: Answer = 42 > > > > Without knowing the question and without > > showing "your work" the answer is not > > a real answer. > > If you take a look into the file "src/cmd/gc/go.y" and compare it to > the grammar in the Go specification, you may be able to see some > examples of the grammar in the specification *not* being parseable by > Yacc/Bison because the Bison grammar uses different grammar rules in > several places and postpones the recognition to a later stage of > compilation. > > I believe what I wrote in my 1st post in this forum thread has some > real value. If you have actual arguments (other than "42") that render > my post invalid, I would like you to present them to me. If your > argument is "examining the file src/cmd/gc/go.y" is pointless in > relation to the OP, it is a wrong argument. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/04d47714-b143-4e05-a696-577aff001136n%40googlegroups.com.