Skip to content

Yasha extensions from Python module #33

Open
@kblomqvist

Description

@kblomqvist

I have been thinking how one could write plugin-like extensions for Yasha, which can be pip installed and taken into use with minimal effort.

So maybe -e / --extensions should be able take Python module name as an input and load the module. In this case -e should support multiple inputs.

To enable CMSIS-SVD (#17) parser:

pip install yasha_cmsis
yasha -e cmsis -v peripherals.svd -o peripherals.h peripherals.h.j2

To enable Latex (#31):

pip install yasha_latex
yasha -e latex -o thesis.tex thesis.j2

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions