BBO Discussion Forums: .lin file format description - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

.lin file format description

#1 User is offline   tester4058 

  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 2011-June-30

Posted 2011-June-30, 05:18

Hello,

i wonder if there is a specification of the syntactical structure of .lin files anywhere. Can anyone help?

Thank you,

tester4058
0

#2 User is offline   diana_eva 

  • PipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 4,656
  • Joined: 2009-July-26
  • Gender:Female
  • Location:bucharest / romania

Posted 2011-June-30, 05:34

Depends what you plan to do. You can contact fred@bridgebase.com and ask him. Part of the .lin structure is confidential and copyright protected.

#3 User is offline   jsm3520 

  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 2011-August-19

Posted 2011-August-19, 09:28

View Posttester4058, on 2011-June-30, 05:18, said:

Hello,

i wonder if there is a specification of the syntactical structure of .lin files anywhere. Can anyone help?

Thank you,

tester4058

No authorised specification is freely available. Various users have discovered properties of some commands. In my opinion, writing of lin-files by hand requires a rather special personality -- just like assembly code for computer programming, only worse.

Taken literally, the syntax structure is simple: a .lin-file consists of a sequence of commands, each of which consists of a two-letter identifier and an argument surrounded by |-characters. An argument is written in text-mode where some characters have special meanings. The secrets of lin-files lies in the meanings of commands and the conventions used in text-mode. Obviously a |-character cannot be used in text-mode, and I have not been able to find out if it can be produced by other means.

My experience comes from work on a higher-level language that can be translated into lin-files. It uses a subset of lin-tags that have been reasonably described on the net. The result is usable, but not polished and depend heavily on other software.
0

#4 User is offline   denwer 

  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 2012-October-28

Posted 2012-October-28, 07:35

The full specification is probably still absent, but this bbo official document helps to understand the idea: HandViewer.

By the way it explains an interesting functionality of showing arbitrary bridge movies or puzzles through bridgebase server. A lot of examples of use on this page: http://bridge.df7cb.de
0

#5 User is offline   morgoth85 

  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 2013-July-17

Posted 2013-July-17, 10:58

Hi.
I would like to create open source parser for lin format.
Anyone has some kind of specification or documentation about that?
0

#6 User is offline   PhilKing 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,240
  • Joined: 2012-June-25

Posted 2013-July-17, 12:19

View Postmorgoth85, on 2013-July-17, 10:58, said:

Hi.
I would like to create open source parser for lin format.
Anyone has some kind of specification or documentation about that?


Have you tried asking Richard Pavlicek?
0

#7 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 20,810
  • Joined: 2004-August-21
  • Gender:Male

Posted 2013-July-17, 12:31

View Postmorgoth85, on 2013-July-17, 10:58, said:

Anyone has some kind of specification or documentation about that?

Read the earlier messages in the thread. AFAIK, little has changed.

#8 User is offline   morgoth85 

  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 2013-July-17

Posted 2013-July-19, 04:38

I created simple Ruby parser, by guessing what this format realy do: https://github.com/morgoth/lin
It's available on MIT license.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users