13 Commits (0302ed216f166b32f2891602ecb2c853abb28e73)

Author SHA1 Message Date
Tom Alexander 0302ed216f
Add my implementation of a take_until_parser_matches parser.
The author of nom is too busy to review the PR, and cargo does not allow for git dependencies, so I am going to copy my implementation into this code base so I can use upstream nom so I can push to cargo. While this code has been submitted upstream to nom which is under the MIT license, I am the author of this code so I believe I have the full right to also release it in this project under the 0BSD license.
3 years ago
Tom Alexander 4a21ae5af3
Add tests for explicit context setting that check failure conditions and implement a helper function to generate a new breadcrumb stack. 4 years ago
Tom Alexander 10c8b25817
Implement the new partial type in the renderer. 4 years ago
Tom Alexander c905e705ff
Transition to new literals compiling.
Tests still need work, as does the implementation for json.
4 years ago
Tom Alexander b45448edbd
Moved ParametersContext to its own file. 4 years ago
Tom Alexander 1a6db195cb
Starting a context for partial parameters. 4 years ago
Tom Alexander cc6dbefcdb
Implement specials in the renderer. 4 years ago
Tom Alexander 8e4f5e3229
Fixing warnings 4 years ago
Tom Alexander 883bda7a78
Added the signature for passing filters into the render function.
Added the signature for passing filters into the render function but I am not yet using the filters.
4 years ago
Tom Alexander 542c2c4536
Switching render_template to render_body.
The body element is re-used as a child element in blocks, so it makes more sense to make a function that renders that as opposed to a function that renders a top-level-only container that contains only a body.
4 years ago
Tom Alexander f65a144b3c
Beginning of the render_tag function.
Beginning of the render_tag function. At this point I need to figure out how to access elements in the context.
4 years ago
Tom Alexander 2459d7b418
Rendering spans 4 years ago
Tom Alexander 0d659afa2f
Rename duster module to parser 4 years ago