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

Issue 6200068: Use fractions rather than Scheme pairs for \scaleDuration, timeSignatureFraction et al (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by dak
Modified:
11 years, 10 months ago
Reviewers:
Keith, janek, Trevor Daniels
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Use fractions rather than Scheme pairs for \scaleDuration, timeSignatureFraction et al

Patch Set 1 #

Patch Set 2 : Parser needs to permit FRACTION in assignments, too #

Total comments: 10

Patch Set 3 : Reword suggested section (differently than proposed) #

Patch Set 4 : Remove a sentence that does no longer fit #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -52 lines) Patch
M Documentation/ly-examples/aucun-snippet.ly View 1 4 chunks +8 lines, -8 lines 0 comments Download
M Documentation/notation/rhythms.itely View 1 2 3 14 chunks +34 lines, -33 lines 1 comment Download
A Documentation/snippets/new/changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly View 1 chunk +39 lines, -0 lines 0 comments Download
M input/regression/chord-tremolo-scaled-durations.ly View 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/time-signature-settings-by-staff.ly View 3 chunks +5 lines, -5 lines 0 comments Download
M lily/lexer.ll View 1 2 chunks +6 lines, -0 lines 0 comments Download
M lily/parser.yy View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ly/engraver-init.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ly/performer-init.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9
Keith
http://codereview.appspot.com/6200068/diff/2001/Documentation/notation/rhythms.itely File Documentation/notation/rhythms.itely (right): http://codereview.appspot.com/6200068/diff/2001/Documentation/notation/rhythms.itely#newcode331 Documentation/notation/rhythms.itely:331: a4*2/3 gis a Oh yes. You had asked who ...
11 years, 11 months ago (2012-05-13 02:43:23 UTC) #1
Keith
Nice.
11 years, 11 months ago (2012-05-13 02:43:41 UTC) #2
dak
http://codereview.appspot.com/6200068/diff/2001/Documentation/notation/rhythms.itely File Documentation/notation/rhythms.itely (right): http://codereview.appspot.com/6200068/diff/2001/Documentation/notation/rhythms.itely#newcode331 Documentation/notation/rhythms.itely:331: a4*2/3 gis a On 2012/05/13 02:43:23, Keith wrote: > ...
11 years, 11 months ago (2012-05-13 05:57:27 UTC) #3
janek
I don't know the parser stuff (and no time to figure it out), but docs ...
11 years, 11 months ago (2012-05-13 07:01:55 UTC) #4
Trevor Daniels
LGTM (with Janek's suggested change)
11 years, 11 months ago (2012-05-13 07:20:33 UTC) #5
Keith
Still Nice. http://codereview.appspot.com/6200068/diff/8001/Documentation/notation/rhythms.itely File Documentation/notation/rhythms.itely (right): http://codereview.appspot.com/6200068/diff/8001/Documentation/notation/rhythms.itely#newcode323 Documentation/notation/rhythms.itely:323: duration taken from the preceding note includes ...
11 years, 11 months ago (2012-05-13 18:00:25 UTC) #6
dak
http://codereview.appspot.com/6200068/diff/2001/lily/lexer.ll File lily/lexer.ll (right): http://codereview.appspot.com/6200068/diff/2001/lily/lexer.ll#newcode487 lily/lexer.ll:487: {FRACTION} { On 2012/05/13 02:43:23, Keith wrote: > Stupid ...
11 years, 11 months ago (2012-05-14 10:32:11 UTC) #7
dak
On 2012/05/14 10:32:11, dak wrote: > > So the answer to this question is: no. ...
11 years, 11 months ago (2012-05-14 11:55:58 UTC) #8
Keith
11 years, 11 months ago (2012-05-14 17:13:31 UTC) #9
On Mon, 14 May 2012 03:32:11 -0700, <dak@gnu.org> wrote:

> http://codereview.appspot.com/6200068/diff/2001/lily/lexer.ll#newcode487
> lily/lexer.ll:487: {FRACTION}	{
> On 2012/05/13 02:43:23, Keith wrote:
>> Stupid question, but I can't figure it out.  Can we remove this
> pattern from the
>> rules for individual starting states, now that it is matched globally
> ?

>
> So the answer to this question is: no.  Maybe it has to do with the
> starting state specific UNSIGNED rules firing with priority then.  I'll
> try moving the FRACTION rule up, but am skeptical that this will work
> out better, so just let's keep the unchanged countdown on.
>
> http://codereview.appspot.com/6200068/
>

Oops.  All the start conditions are declared exclusive, so global rules
only match when we are in start condition 'INITIAL'.  <*> rules would
match in comments, which is not wanted, so no combining of rules until
the start conditions that don't need to be exclusive are made inclusive.


Sign in to reply to this message.

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