Version 0.5.0
Rosewood is a domain-specific simple language primarily intended to simplify the automatic generation and formatting of statistical tables. The language provides facilities for representing tables in a simple, human-readable format and for manipulating and formatting the structure and style of those tables. Because Rosewood’s source files are plain text files, they can be created by hand or automatically generated using a statistical package (e.g., SAS, R, Stata) or other general-purpose scripting or programming languages.
Rosewood uses a simple markup, inspired by Markdown, to define a table and its contents making it easier to create and maintain than more complicated markup languages such as HTML or XML. The simple non-intrusive markup makes Rosewood tables easily readable even without rendering the source code or using special viewers. This feature was the overriding design goal of Rosewood as analysts need to frequently inspect the tables for correctness while analyzing the data, and forcing them to use a different tool to view the table contents tends to interrupt their work flow. For this reason, the code needed to format (e.g., merge certain cells) and style the table and its content is stored in a different section of the file, so not to reduce the readability of the tabular data.
Carpenter is a cross-platform (including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures) tool that can be used to parse and render Rosewood source files into html or docx files for viewing or printing.
+++
My first Rosewood table
+++
Item | Stars |
Butter chicken | 5 |
Star-anise candy | 4 |
Wilted lettuce | 0 |
+++
footnote 1: butter chicken wins!
+++
+++
TODO: update all commands
./carpenter run simple.rw
OR
carpenter run simple.rw
v1tov2 Converts most Rosewood v0.1 files to Rosewood v0.2 files.
version Print executable version