Skip to content

Parse filenames in Swift instead of Perl - #142

Open
mmayer wants to merge 2 commits into
SublerApp:mainfrom
mmayer:parse_filename
Open

Parse filenames in Swift instead of Perl#142
mmayer wants to merge 2 commits into
SublerApp:mainfrom
mmayer:parse_filename

Conversation

@mmayer

@mmayer mmayer commented Aug 10, 2026

Copy link
Copy Markdown

Hi Damiano,

Not sure if you are interested in this. I had some fun over the weekend pointing Cursor at the Subler sources and asking it to port the Perl parsing script to Swift native code – and it did. Quite quickly, in fact.

It even wrote some unit tests to verify that the Swift parser does what the Perl parser used to do. In my trials, it has been working fine, as well.

The changes do not remove the Perl code from the repo, but it is no longer being installed as a resource under Subler.app.

Regards,
-Markus

mmayer added 2 commits August 9, 2026 15:48
The tests compare the output of the Swift parser to what the Perl parser
used to generate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant