Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(234)

Issue 13283045: code review 13283045: cmd/yacc: replace units example with simpler expr example (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by iant
Modified:
11 years, 6 months ago
Reviewers:
r, rog
CC:
golang-dev, r
Visibility:
Public.

Description

cmd/yacc: replace units example with simpler expr example The units example is nice but is covered by the Lucent license, which may be a concern for some people making a commercial source code distribution of Go.

Patch Set 1 #

Total comments: 18

Patch Set 2 : diff -r 1e6d3c8bb93f https://code.google.com/p/go #

Total comments: 1

Patch Set 3 : diff -r ef73acc06701 https://code.google.com/p/go #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -1352 lines) Patch
M src/cmd/yacc/Makefile View 1 chunk +4 lines, -4 lines 0 comments Download
M src/cmd/yacc/doc.go View 1 chunk +2 lines, -4 lines 0 comments Download
A src/cmd/yacc/expr.y View 1 1 chunk +205 lines, -0 lines 1 comment Download
R src/cmd/yacc/units.txt View 1 chunk +0 lines, -576 lines 0 comments Download
R src/cmd/yacc/units.y View 1 chunk +0 lines, -768 lines 0 comments Download

Messages

Total messages: 7
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 6 months ago (2013-09-11 03:36:59 UTC) #1
r
https://codereview.appspot.com/13283045/diff/1/src/cmd/yacc/expr.y File src/cmd/yacc/expr.y (right): https://codereview.appspot.com/13283045/diff/1/src/cmd/yacc/expr.y#newcode15 src/cmd/yacc/expr.y:15: // file, so it won't confuse a future build. ...
11 years, 6 months ago (2013-09-11 04:03:28 UTC) #2
iant
PTAL https://codereview.appspot.com/13283045/diff/1/src/cmd/yacc/expr.y File src/cmd/yacc/expr.y (right): https://codereview.appspot.com/13283045/diff/1/src/cmd/yacc/expr.y#newcode15 src/cmd/yacc/expr.y:15: // file, so it won't confuse a future ...
11 years, 6 months ago (2013-09-11 04:22:36 UTC) #3
r
LGTM https://codereview.appspot.com/13283045/diff/6001/src/cmd/yacc/expr.y File src/cmd/yacc/expr.y (right): https://codereview.appspot.com/13283045/diff/6001/src/cmd/yacc/expr.y#newcode190 src/cmd/yacc/expr.y:190: in := bufio.NewReader(os.Stdin) i'm nearly certain Scan would ...
11 years, 6 months ago (2013-09-11 04:38:18 UTC) #4
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=a74e4a7820d0 *** cmd/yacc: replace units example with simpler expr example The units ...
11 years, 6 months ago (2013-09-11 16:01:50 UTC) #5
rog
https://codereview.appspot.com/13283045/diff/13001/src/cmd/yacc/expr.y File src/cmd/yacc/expr.y (right): https://codereview.appspot.com/13283045/diff/13001/src/cmd/yacc/expr.y#newcode58 src/cmd/yacc/expr.y:58: $$ = $2 One thought - it might be ...
11 years, 6 months ago (2013-09-12 08:36:08 UTC) #6
iant
11 years, 6 months ago (2013-09-12 16:00:29 UTC) #7
On Thu, Sep 12, 2013 at 1:36 AM,  <rogpeppe@gmail.com> wrote:
>
> https://codereview.appspot.com/13283045/diff/13001/src/cmd/yacc/expr.y
> File src/cmd/yacc/expr.y (right):
>
>
https://codereview.appspot.com/13283045/diff/13001/src/cmd/yacc/expr.y#newcode58
> src/cmd/yacc/expr.y:58: $$ = $2
> One thought - it might be nice to use $expr rather than $2, as it's an
> unusual and nice feature that this particular yacc provides.
>
> (And below too).

Sure, want to send the change?

Ian
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b