GitHub - antononcube/Python-DSLExamples: Python data package with examples of DSL commands translations to programming code. (Suitable for LLM training.) · GitHub
Skip to content

antononcube/Python-DSLExamples

Folders and files

Repository files navigation

DSLExamples

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.


Installation (editable)

pip install DSLExamples

Usage

from DSLExamples import dsl_examples, dsl_workflow_separators

all_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".


References

[AAp1] Anton Antonov, DSL::Examples, Raku package, (2025-2026), GitHub/antononcube.

[AAp2] Anton Antonov, DSLExamples, Wolfram Language paclet, (2025-2026), Wolfram Language Paclet Repository.

About

Python data package with examples of DSL commands translations to programming code. (Suitable for LLM training.)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages