Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSL: support #INCLUDE directive #503

Open
soshial opened this issue Jun 30, 2023 · 2 comments
Open

DSL: support #INCLUDE directive #503

soshial opened this issue Jun 30, 2023 · 2 comments
Labels

Comments

@soshial
Copy link
Contributor

soshial commented Jun 30, 2023

This directive in the beginning of DSL file joins the main DSL file with auxiliary DSL files.

Absolute path: #INCLUDE "c:\\Lingvo\\Dictionaries\\rus-rus_synonyms-2.dsl"
Relative path, same folder: #INCLUDE "rus-rus_synonyms-2.dsl"
Relative path, subfolder: #INCLUDE "Extra\\rus-rus_synonyms-2.dsl"
Relative path, parent folder: #INCLUDE "..\\Thesaurus\\rus-rus_synonyms-2.dsl"

@ilius ilius added the Feature label Jul 1, 2023
@ilius
Copy link
Owner

ilius commented Feb 24, 2024

Is the included dsl injected before or after the current dsl entries?

@soshial
Copy link
Contributor Author

soshial commented Feb 25, 2024

Does really order matter for DSL dictionaries? I think that we can just prepend glosses/entries in the beginning. Whatever is more convenient in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants