YSL
Trans <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <eafee966-926e-49ae-8d66-397084551bba@c41g2000yqm.googlegroups.com> |
Had an idea tonight for a "ysl", a YAML Stylesheet Language. It would
be something like CSS but using a YAML file format. It would define
how the information in another YAML file should be displayed via HTML.
An example might be something like:
# data.yml
---
- name: charlie
age: 52
- name: jane
age: 31
- name: bill
age: 40
Then a .ysl file to format it:
# tabular.ysl
---
!seq:
type: table
!map:
type: tr
name:
type: td
age:
type: td
Then applying the .ysl file to the .yml file via a ysl compiler:
$ ysl-compile tabular.ysl data.yml > table.html
Thoughts?
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay