grako / grako / rendering.py

Author Commit Message Labels Comments Date
Juancarlo Añez avatarJuancarlo Añez
Work with unicode while rendering.
Juancarlo Añez avatarJuancarlo Añez
Allow specification of a list joiner in render().
Branches
examples
Juancarlo Añez avatarJuancarlo Añez
BUG: Renderer.render() was ignoring passed keyword arguments.
Juancarlo Añez avatarJuancarlo Añez
Use 'fields' instead of 'kwargs' to document intent.
Juancarlo Añez avatarJuancarlo Añez
Added doc-comments at the module level.
Juancarlo Añez avatarJuancarlo Añez
Allow override of template through return value of render_fields.
Juancarlo Añez avatarJuancarlo Añez
Allow render_fields to override the default template.
Juancarlo Añez avatarJuancarlo Añez
Allow render to take a template different from the default one.
Juancarlo Añez avatarJuancarlo Añez
It is more convenient if rendering of None returns '', the empty string.
Juancarlo Añez avatarJuancarlo Añez
Update rendering with parameter fields and template overriding.
Juancarlo Añez avatarJuancarlo Añez
Minor code cleanup.
Juancarlo Añez avatarJuancarlo Añez
Removed dependency on the six library.
Juancarlo Añez avatarJuancarlo Añez
Code is now compatible with Python 2.7 and 3.2.
Juancarlo Añez avatarJuancarlo Añez
Followed some of the recommended steps for compatibility with Python 3.x.
Juancarlo Añez avatarJuancarlo Añez
All code generation is in, but indentation bugs remain.
Juancarlo Añez avatarJuancarlo Añez
Code generation for most constructs.
Juancarlo Añez avatarJuancarlo Añez
Cool, generating some Python code for the parser.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.