b3 DSL rev 10833 [message #585110] |
Sat, 24 October 2009 03:15 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
Hi, the b3 DSL is now checked in - revision 10833. It has lots of
changes, and there are several sample files under the testData directory.
In brief...
- JS Syntax introduced
- 'artifacts' and 'group' in favor of always using 'action'
- since 'action' was the only remaining "part", the keyword 'action' was
dropped.
- order of elements in an action is now fixed (properties, advice,
group, and layout).
- artifacts is now done with an action returning a layout
someAction { layout{ directory/file.txt; } return layout; }
- groups is now donw with an action returning a group
someAction { group{ a/b/1.0; a/c/2.0; } return group; }
- JS script may appear after the layout statement. Any (well 99.9% - see
earlier post) statement/expression can be used.
- Properties are now prefixed with $ (as in $target.platform) this to
differentiate between a sub property "platform" on a parent property
"target"
(Note - Documentation in the test file test2.b3 is only partially up to
date, and still has mostly silly syntax checks, and no real examples).
Regards
- henrik
|
|
|
Powered by
FUDForum. Page generated in 0.02984 seconds