Uses old Rust 2015
0.1.1 |
|
---|---|
0.1.0 |
|
#87 in #text-format
Used in 3 crates
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;"
}