-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I went through the code, please find below some suggestions. My goal is not to criticize at all the time and work that you have dedicated to the project. Codebraid is filling a very useful niche and am grateful for your efforts. I think a "novice" friendlier code base might attract more people to contribute. Please let me know what you think.
- Some functions are very long e.g. the function _run. It would helpful to have more modules and smaller functions, cf. Unix philosophy
- Related to above, it seems that a lot effort is spent to read and process the cell configuration. It looks like an DSL, maybe one can have that in a separate module
- It would be helpful to use type hinting
- pandoc json/AST might not be ideal to process. Maybe one can use another parser/format (marked, cmark have nicer ASTs) to pre-process and execute the code
- It would be helpful to remove pandoc from the code base: codebraid would only convert from input-markdown to executed-markdown
- Maybe consider to support just jupyter kernels to leverage their capabilities. Don't know the implications in terms of performance
Metadata
Metadata
Assignees
Labels
No labels