Re: implementation language [was: library for unicode collation in C for texi2any?]

2023-10-16 Thread Leo Butler
On Mon, Oct 16 2023, Per Bothner wrote: > On 10/16/23 05:36, Gavin Smith wrote: >> On Sun, Oct 15, 2023 at 12:00:51PM -0700, Per Bothner wrote: >>> I'm far from a C++ expert these days, but some ideas: >>> >>> * First of course you can define some helper methods: >>> >>> class TargetElement { >>>

Re: implementation language [was: library for unicode collation in C for texi2any?]

2023-10-16 Thread Per Bothner
On 10/16/23 05:36, Gavin Smith wrote: On Sun, Oct 15, 2023 at 12:00:51PM -0700, Per Bothner wrote: I'm far from a C++ expert these days, but some ideas: * First of course you can define some helper methods: class TargetElement { Extra *extra; Command *unit_command() { return extra ? e

Re: implementation language [was: library for unicode collation in C for texi2any?]

2023-10-16 Thread Gavin Smith
On Sun, Oct 15, 2023 at 12:00:51PM -0700, Per Bothner wrote: > I'm far from a C++ expert these days, but some ideas: > > * First of course you can define some helper methods: > > class TargetElement { > Extra *extra; > Command *unit_command() { return extra ? extra->init_command() : nullptr;