Skip to content

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

License

Notifications You must be signed in to change notification settings

antononcube/Python-DSLExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.


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.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages