Title: New music command \= is not parsed correctly · Issue #178 · frescobaldi/python-ly · GitHub
Open Graph Title: New music command \= is not parsed correctly · Issue #178 · frescobaldi/python-ly
X Title: New music command \= is not parsed correctly · Issue #178 · frescobaldi/python-ly
Description: In version 2.20, LilyPond introduced the \= command, which is used to assign IDs to slurs so thay can cross or line up correctly in a chord. For example: \fixed c' { c\=1( d\=2( e\=1) f\=2) } \fixed c' {
Open Graph Description: In version 2.20, LilyPond introduced the \= command, which is used to assign IDs to slurs so thay can cross or line up correctly in a chord. For example: \fixed c' { c\=1( d\=2( e\=1) f\=2) } \fixe...
X Description: In version 2.20, LilyPond introduced the \= command, which is used to assign IDs to slurs so thay can cross or line up correctly in a chord. For example: \fixed c' { c\=1( d\=2( e\=1) f\=2) } \...
Opengraph URL: https://github.com/frescobaldi/python-ly/issues/178
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New music command \\= is not parsed correctly","articleBody":"In version 2.20, LilyPond introduced the [\\\\=](https://lilypond.org/doc/v2.24/Documentation/notation/available-music-functions#index-_005c_003d-2) command, which is used to assign IDs to slurs so thay can cross or line up correctly in a chord. For example:\n\n \\fixed c' { c\\=1( d\\=2( e\\=1) f\\=2) }\n \\fixed c' { \u003cc\\=A( e\\=2^(>4 \u003cd\\=A) f\\=2)> }\n\n`ly.lex` does not parse this command correctly, leading to this issues in Frescobaldi: frescobaldi/frescobaldi#1964. It looks like new classifications will be needed, perhaps called \"SlurAssignment\" and \"SlurId\".\n\nUsing a simple Python script and the above LilyPond source code, you can see the problem:\n\n\timport sys\n\timport ly.lex\n\n\twith open(sys.argv[1]) as f:\n\t\ttxt = f.read()\n\n\tfor t in ly.lex.state(\"lilypond\").tokens(txt):\n\t\tprint(t, t.__class__.__name__)","author":{"url":"https://github.com/ksnortum","@type":"Person","name":"ksnortum"},"datePublished":"2025-05-26T22:42:33Z","url":"https://github.com/frescobaldi/python-ly/issues/178"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:83c44caf-ab39-d1e2-34be-ddcd85832acb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D616:10EF0:ACB990:E5B620:6B09B0F7 |
| html-safe-nonce | f810683f839955b6e3c4ea52073717af840e7f9b6109524f312b5805e3053b88 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjE2OjEwRUYwOkFDQjk5MDpFNUI2MjA6NkIwOUIwRjciLCJ2aXNpdG9yX2lkIjoiMjEyOTAxMzY2MjYzMDM5MjA1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b1e8c8bfd4e33d1d7d118cf12eaaed3a59f1574a42cd49f0356b258e281bf073 |
| hovercard-subject-tag | issue:3092154830 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/frescobaldi/python-ly/178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/317f41321b5415bd94aace457cfb97e04d70f30b64a8503573620992e9b6e23b/frescobaldi/python-ly/issues/178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/317f41321b5415bd94aace457cfb97e04d70f30b64a8503573620992e9b6e23b/frescobaldi/python-ly/issues/178 |
| og:image:alt | In version 2.20, LilyPond introduced the \= command, which is used to assign IDs to slurs so thay can cross or line up correctly in a chord. For example: \fixed c' { c\=1( d\=2( e\=1) f\=2) } \fixe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ksnortum |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5ee9972cda5524016b9eddec37d51a4550d0a8a3bc7d0c189531849d55d54b8c |
| turbo-cache-control | no-preview |
| go-import | github.com/frescobaldi/python-ly git https://github.com/frescobaldi/python-ly.git |
| octolytics-dimension-user_id | 19853952 |
| octolytics-dimension-user_login | frescobaldi |
| octolytics-dimension-repository_id | 29728425 |
| octolytics-dimension-repository_nwo | frescobaldi/python-ly |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29728425 |
| octolytics-dimension-repository_network_root_nwo | frescobaldi/python-ly |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2d87ea1696ca7d53c0e83fef3db13186e4a6cce7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width