Skip to content

feat(developer): kmc-convert: new conversion xkb->kmn 😎 - #15922

Closed
SabineSIL wants to merge 307 commits into
epic/kmc-convertfrom
feat/developer/kmc-convert-xkb-kmn
Closed

feat(developer): kmc-convert: new conversion xkb->kmn 😎#15922
SabineSIL wants to merge 307 commits into
epic/kmc-convertfrom
feat/developer/kmc-convert-xkb-kmn

Conversation

@SabineSIL

@SabineSIL SabineSIL commented May 7, 2026

Copy link
Copy Markdown
Contributor

The next conversion (kmc-convert: xkb->kmn ):

This is to decice on a possibly new foder structure:

As a starting point we created an additional runable version of kmc-convert: keylayout ->kmn both being identical:

  • a new XkbToKmnConverter has been added and used in Converter/ConverterClassFactory
  • new src files have been created (which are exact copies from src files of the conversions keylayout ->kmn )
  • new test src files have been created (which are exact copies from test src files of the conversions keylayout ->kmn )
  • new test data files have been created (which are exact copies from test data files of the conversions keylayout ->kmn )

For kmc-convert there are 9 conversion modules but we may reuse some files:
there are:

  • 6 for reading ( e.g. keylayout-file-reader.ts, xkb-file-reader.ts,...) ,
  • 9 for converting (e.g. keylayout-to-kmn-converter.ts, xkb-to-kmn-converter.ts,...)
  • 2 for writing . (kmn-file-writer.ts ,ldml-file-writer.ts)

To prevent duplicate files and to obtain a cleaner structure of src, test-src and test-data files we might create a new folder structure which would suit all present and future conversions well.

This PR proposes:

  • creation of 3 src- subfolders read, convert and write to sort src according to function
  • creation of 3 test-src subfolders read, convert and write to sort tests according to function
  • creation of a test-data subfolder for each conversion

@keymanapp-test-bot skip

SabineSIL and others added 30 commits February 21, 2025 08:04
…e of a rule

if a rule is ambiguous i.e. if it is a C0/C1 rule and has an abiguous C2 or C3 rule we comment out the C0/C1 rule and only use the C2 or C3 rule
c WARNING  + [CAPS K_EQUAL]  > 'ì'  (C0/C1)
+ [CAPS K_EQUAL]  >  dk(A3)				  (C2 or C3)
@keyman-server keyman-server modified the milestones: A19S28, A19S29 May 11, 2026
@SabineSIL SabineSIL moved this from Todo to In Progress in Keyman May 18, 2026
@keyman-server keyman-server modified the milestones: A19S29, A19S30 May 23, 2026
@keyman-server keyman-server modified the milestones: A19S30, A19S31 Jun 8, 2026
@keyman-server keyman-server modified the milestones: A19S31, A19S32 Jun 22, 2026
@keyman-server keyman-server modified the milestones: A19S32, A19S33 Jul 4, 2026
@keyman-server keyman-server modified the milestones: A19S33, A19S34 Jul 20, 2026
@keyman-server keyman-server modified the milestones: A19S34, A19S35 Aug 3, 2026
@SabineSIL

Copy link
Copy Markdown
Contributor Author

Since we are not currently pursuing the kmc-convert xkb->kmn conversion, this PR will be closed until further notice.

@SabineSIL SabineSIL closed this Aug 12, 2026
@SabineSIL SabineSIL moved this from In Progress to Blocked in Keyman Aug 12, 2026
@SabineSIL SabineSIL moved this from Blocked to Todo in Keyman Aug 12, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Keyman Aug 12, 2026
@mcdurdin
mcdurdin deleted the feat/developer/kmc-convert-xkb-kmn branch August 14, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common/web/ common/ developer/compilers/ developer/ epic A long lived branch, home for a new feature, usually will have child PRs based on it epic-kmc-convert feat resources/

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants