Sha256: ddd6e649435a8b2aa8d906efd0fef0f47a9b61342742251e009720529d6c8f3e

Contents?: true

Size: 459 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
music-transcription-0.15.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.14.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.13.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.11.0 lib/music-transcription/parsing/link_parsing.treetop
music-transcription-0.10.0 lib/music-transcription/parsing/link_parsing.treetop