Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.37 KB

File metadata and controls

44 lines (30 loc) · 1.37 KB

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.


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.