edje_cc now supports "lazEDC", a more concise version of EDC
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 21 Mar 2014 20:58:24 +0000 (16:58 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Fri, 25 Apr 2014 14:52:14 +0000 (10:52 -0400)
commit7eb703fdde5fe1062fe8ff6ad7ac318f4160794b
treee12bf285ceb7640e118bdb3e01396db7d360a3bc
parenta4fd5ac3ddff1ae82200e2be207976234e1b57f7
edje_cc now supports "lazEDC", a more concise version of EDC

in today's modern world of fast-paced, HTML5-driven, C++-riddled
development, nobody wants to spend hours typing out long words like
"description" or "mouse_events" or "name". there's no time for it
and certainly nobody is going to allocate budget for this sort of
keyboard-related nonsense.
enter lazEDC: the solution for edje-loving keyboard jockeys everywhere.
by breaking the parser of edje_cc with the strength of 10 frenchmen,
new, shorter keywords such as "nomouse" can be used in place of lengthy,
rambling statements like "mouse_events: 0", and things like

part { name: "clip"; type: RECT; description { state: "default" 0.0; }}

can now be written as

rect { "clip"; }

with the exact same effect.

initial tests show that complex and terrible edc files such as the infamous
"genlist.edc" can be reduced in size by over 15% using these new features.

see edcref for docs, and genlist.edc for examples

@feature

@awesome
src/bin/edje/edje_cc.h
src/bin/edje/edje_cc_handlers.c
src/bin/edje/edje_cc_parse.c