Python data package with examples of Domain Specific Language (DSL) command translations.
The package closely follows the Raku package "DSL::Examples", [AAp1], and Wolfram Language paclet "DSLExamples", [AAp2], and has (or should have) the same DSL examples data.
Currently, the package has DSL examples to translate from Bulgarian, English, Portuguese, and Russian.
pip install DSLExamples
fromDSLExamplesimportdsl_examples, dsl_workflow_separatorsall_examples=dsl_examples()
python_lsa=dsl_examples("Python", "LSAMon")
separators=dsl_workflow_separators("WL", "LSAMon")Detailed examples -- with LLM code generation -- are given in the notebook "DSL-examples-with-LangChain.ipynb".
[AAp1] Anton Antonov, DSL::Examples, Raku package, (2025-2026), GitHub/antononcube.
[AAp2] Anton Antonov, DSLExamples, Wolfram Language paclet, (2025-2026), Wolfram Language Paclet Repository.