Sha256: 660ceb50d28a09d7e7389625fcf1c511e4fac446c354136cfe738c9c92abcc22

Contents?: true

Size: 459 Bytes

Versions: 6

Compression:

Stored size: 459 Bytes

Contents

module Music
module Transcription
module Parsing

grammar Link
  include Pitch
  
  rule link
    slur_link / tie / legato_link / glissando / portamento
  end
  
  rule slur_link
    "=" target:pitch <SlurNode>
  end

  rule tie
    "=" <TieNode>
  end
  
  rule legato_link
    "|" target:pitch <LegatoNode>
  end
  
  rule glissando
    "~" target:pitch <GlissandoNode>
  end
  
  rule portamento
    "/" target:pitch <PortamentoNode>
  end
end

end
end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
music-transcription-0.21.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.20.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.19.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.17.1 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.17.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.16.0 lib/music-transcription/parsing/link_parsing.treetop