Skip to content

Python Package and script for clEsperanto code generation

License

Notifications You must be signed in to change notification settings

clEsperanto/gencle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

GenCle : clEsperanto code generator

clEsperanto auto-generation code library and scripts. A large part of the python, java, and cpp user API are autogenerated from the low-level library CLIc. This repository hold python package and script collection to parse the documentation of the CLIc library and generate the code and documentation blocks of the following upstream libraries:

Local install

As this is a very specific usage package and not relevant for high-level user of clEsperanto, we did not deploy any package. Clone the repository:

git clone https://github.com/clesperanto/gencle

Create a environement for running the jupyter notebook

mamba create -n gencle && mamba activate gencle

Usage

Primary usage of this repo is by cle-roboto CI action which will run the corresponding update script based on release.

Update script follow the same command:

python pyclesperanto_auto_update.py <PATH_TO_PYCLESPERANTO_FOLDER> <VERSION_TAG_TO_UPDATE_TO>

List of script updating from a CLIc release:

List of script updating from a clesperantoj release:

ToDo:

  • Expend package to auto-generate Cpp code
  • Explore better parser solution

About

Python Package and script for clEsperanto code generation

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages