<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unexpected-keyboard/srcs/compose/sequences.txt, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/'/>
<entry>
<title>compose: Add X11 compose sequences</title>
<updated>2024-02-17T22:28:31+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2024-02-12T22:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=63e7ac2e94bf9adafd0af6bcc9b5a790428d1ad1'/>
<id>63e7ac2e94bf9adafd0af6bcc9b5a790428d1ad1</id>
<content type='text'>
compile.py implements a parser for X11's Compose.pre files. A lot of
code is necessary to interpret character names but thanksfully, the name
of most characters is contained in the file.

The state machine is compiled into two char arrays which unfortunately
requires an expensive initialisation and allocation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compile.py implements a parser for X11's Compose.pre files. A lot of
code is necessary to interpret character names but thanksfully, the name
of most characters is contained in the file.

The state machine is compiled into two char arrays which unfortunately
requires an expensive initialisation and allocation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Compose key</title>
<updated>2024-02-17T22:28:31+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2024-02-11T19:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=8c290732607692cd94247f7e3e9c80fad1dfe516'/>
<id>8c290732607692cd94247f7e3e9c80fad1dfe516</id>
<content type='text'>
The COMPOSE_PENDING modifier indicate whether a compose sequence is in
progress. The new key of kind Compose_pending sets the current state of
the sequence.

The compose sequences are compiled into a state machine by a python
script into a compact encoding.

The state of the pending compose is determined by the index of a state.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The COMPOSE_PENDING modifier indicate whether a compose sequence is in
progress. The new key of kind Compose_pending sets the current state of
the sequence.

The compose sequences are compiled into a state machine by a python
script into a compact encoding.

The state of the pending compose is determined by the index of a state.
</pre>
</div>
</content>
</entry>
</feed>
