Skip to content

kotwys/tree-sitter-lingvo

Repository files navigation

tree-sitter-lingvo

Tree-sitter grammar for the Dictionary Specification Language (DSL) of ABBYY Lingvo that is also supported by some other popular dictionary applications.

This grammar tries to be as close as possible to Lingvo in the way how DSL files are interpreted. Because of that, the abstract syntax tree may not be consistent with how DSL dictionaries are displayed in other programs such as GoldenDict (particularly, the concern here are empty lines inside entry bodies).

As any other tree-sitter grammar, this grammar aims to be rather permissive than strict and at the same time capture as much detail as possible.

Also be aware that some extremely peculiar syntax (e.g. comments inside strings) that might be handled normally by Lingvo might not be parsed correctly by this grammar.

References:

About

Tree-sitter grammar for ABBYY Lingvo's Dictionary Specification Language (DSL)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors