pris
pris copied to clipboard
A language for designing slides
To report at which location in the source file an error occurred, this information needs to be tracked in every AST node.
Hi! The current example about lists describes how to declare lists, but not how they can be used. Please show we can use them. Thanks! Thomas
I want to add a `rotate` function, but bounding boxes are tricky. We can rotate the bounding box, and compute the new bounding box that fits it, but that means...
Pris internally produces frames that contain [*elements*](https://github.com/ruuda/pris/blob/4b3f7d7cc4095120e524abd8bc5853c1630b55d1/src/elements.rs). Elements are then rendered to pdf by the [*driver*](https://github.com/ruuda/pris/blob/4b3f7d7cc4095120e524abd8bc5853c1630b55d1/src/driver.rs). There should be an additional driver that outputs a serialized representation of every element....
It would be nice to have syntax highlighting for Pris source files. ## Syntax details A good starting point is the Bison grammar in [`etc/pris.y`](https://github.com/ruuda/pris/blob/master/etc/pris.y). The Pris parser uses a...
The following should mix two colors (in a linear color space, not sRGB): 0.2 * #abcdef + 0.8 * #ffffff
Let's say I wanted to add pris as a target for [ReX](https://github.com/ReTeX/ReX). The issue is that mapping `Code points -> Glyph Indices` is not one-to-one. For instance, there are 5...
Pris currently builds on Linux out of the box, and on OS X by installing a few dependencies with `brew`. On Windows however, the situation is more difficult. I did...
From [Reddit](https://www.reddit.com/r/rust/comments/68klky/whats_everyone_working_on_this_week_182017/dh3i9db/): it would be nice to add the ability to render subsets of an svg file. Rsvg does support this with `rsvg_render_handle_cairo_sub` and `rsvg_handle_has_sub`, it would not be very...