legacy-paperclip icon indicating copy to clipboard operation
legacy-paperclip copied to clipboard

pure rendering functionality for rust lib

Open crcn opened this issue 3 years ago • 0 comments
trafficstars

Some people may prefer to use lib bindings instead of compiling code, particularly for the backend. Here's some pseudocode of what I'm thinking of:

use paperclip as pc;

var {renderFn, renderFn2} = paperclip.compile("./ui.pc");

Quick Google search for bindings:

PHP bindings: https://crates.io/crates/ext-php-rs Python bindings: https://github.com/PyO3/pyo3 Ruby bindings: https://github.com/danielpclark/rutie

Considerations

  • need to figure out how to map assets

crcn avatar Dec 15 '21 21:12 crcn