#text-format #configuration #data #implemented

yanked yass

A data and configuration text format implemented in Rust

Uses old Rust 2015

0.1.1 Apr 10, 2018
0.1.0 Apr 2, 2018

#87 in #text-format


Used in 3 crates

MIT/Apache

11KB
93 lines

YASS is a data and configuration text format.

Example

\ Based on 2nd example at https://json.org/example.html (as of 2018-03-31)
(example-1-widget)
debug true
window {
  title "Sample Konfabulator Widget"
  name "main_window"
  width 500
  height 500
}
item (image){
  src "Images/Sun.png"
  name "sun1"
  hoffset 250
  voffset 250
  alignment center
}
item (text){
  data "Click Here"
  size 36
  style bold
  name "text1"
  hoffset 250
  voffset 100
  alignment center
  on-mouse-up "sun1.opacity = (sun1.opacity / 100) * 90;"
}

No runtime deps