You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generating Lexer/Parser file in a specific encoding #232
Hello @baronfel , good news, I followed your advice and made the fix.
I end up implementing it with a --out-bom boolean command line switch available on both programs, fslex and flyacc, because specifying only the codepage (number 65001 for in this case, UTF-8) would not have enable the user to specify with or without BOM, I'm not an I18n expert but it seems the codepage number are being the same in both cases.
So I kept UTF-8 encoding only for now, no other weird ISO-something encoding.
I have created a feature/output-encoding.0 branch on my computer, however when I tried to push it, it seems I'm required to have some permissions granted to me? Nor is it some configuration required on my side?
remote: Permission to fsprojects/FsLexYacc.git denied to lkluc.
fatal: unable to access 'https://github.com/fsprojects/FsLexYacc.git/': The requested URL returned error: 403
Activity
baronfel commentedon May 16, 2025
This is a great suggestion - would you be interested in implementing it yourself? It looks like it should be a matter of
--output-codepage) similar to the existing one here and here and adding matching mutable defaults for those optionslkluc commentedon May 23, 2025
Hello @baronfel , good news, I followed your advice and made the fix.
I end up implementing it with a
--out-bomboolean command line switch available on both programs,fslexandflyacc, because specifying only the codepage (number 65001 for in this case, UTF-8) would not have enable the user to specify with or without BOM, I'm not an I18n expert but it seems the codepage number are being the same in both cases.So I kept UTF-8 encoding only for now, no other weird ISO-something encoding.
I have created a
feature/output-encoding.0branch on my computer, however when I tried to push it, it seems I'm required to have some permissions granted to me? Nor is it some configuration required on my side?Thanks !
baronfel commentedon May 23, 2025
Good to hear! You'll have to make a fork of this repository, then push your branch to your fork and make a pull request here.