Skip to content

Generate parameter files with AST#159

Draft
max-models wants to merge 15 commits into
develfrom
generate-params-with-ast
Draft

Generate parameter files with AST#159
max-models wants to merge 15 commits into
develfrom
generate-params-with-ast

Conversation

@max-models
Copy link
Copy Markdown
Member

@max-models max-models commented Jan 11, 2026

Trying out some code generation, I think it could be useful at some point. Can't exactly justify it for a specific purpose. Maybe it could help with parameter file generation with some LLM or exporting a runnable script from checking boxes in a GUI...

For example, this produces the same parameters as struphy params Maxwell:

python generate_maxwell_ast.py > params_Maxwell.py
python params_Maxwell.py 

@max-models max-models force-pushed the generate-params-with-ast branch from afb2a82 to 5fa4c21 Compare January 11, 2026 19:55
@max-models
Copy link
Copy Markdown
Member Author

Once #186 is merged, I think this MR will become easier to finish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants