[liblouis-liblouisxml] SV: Re: SV: 8 dots contracted with caps was: are the swap opcodes broken?

  • From: Bue Vester-Andersen <bue@xxxxxxxxxxxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Wed, 18 Jan 2017 15:36:32 +0100

Hi Christian,

The parser for the test files is really dumb. It expects a table definition, 
then optionally some flags and finally the tests. In order to support above 
it would have > to be a bit smarter. Not sure if that would be easy to 
support.

How about:

while (!EOF) {
  // tables
  // optional flags
  // tests
}

Of course, it is not that simple, but all the same?

Bue

-----Oprindelig meddelelse-----
Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Christian Egli
Sendt: 18. januar 2017 13:51
Til: liblouis-liblouisxml@xxxxxxxxxxxxx
Emne: [liblouis-liblouisxml] Re: SV: 8 dots contracted with caps was: are the 
swap opcodes broken?

On 01/18/2017 01:32 PM, Bert Frees wrote:

2017-01-18 13:29 GMT+01:00 Christian Egli
    Could be that the json based test tool was able to do it. The
    YAML-based test framework can't. Each YAML file can only contain one
    table definition.

Wouldn't it be easy to support it though?

The parser for the test files is really dumb. It expects a table definition, 
then optionally some flags and finally the tests. In order to support above it 
would have to be a bit smarter. Not sure if that would be easy to support.

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 
12, CH-8045 Zürich, Switzerland

For a description of the software, to download it and links to project pages go 
to http://liblouis.org

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: