Skip to content

mdewing/programming_tutorial_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Tutorial Maker

Tutorials that explain a code as a series of small incremental steps are helpful but time consuming to write. This project attempts to create a more standardized format to make tutorials easier to create.

The ingredients at each step are

  • a description of the step
  • the source (eventually snippets, highlights, or diffs)
  • test code (optional)
  • compile command and output (optional)
  • output of the test code

The ultimate goal is that entire programs will be represented in this incremental form. The code in each step will be connected by AST transformations, rather than manually created. See Programming by Transformation for more thoughts.

Examples

Mini C++ MPI3 wrapper

Future

  • The current implementation shows the entire source files. Even for this small example, it gets hard to see the changes from step to step. Flexible viewing of the source code and changes is essential. A diff view is the most important view to start with.
  • Current implementation writes to Markdown. In support to better source code viewing, it will probably need to write to HTML or a JS framework.

Other Projects

Learning materials organized as tutorials

About

Template for making programming tutorials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages