On 26 Feb 2014, at 15:18, Timur Nurlygayanov <tnurlygaya...@mirantis.com> wrote:
> for me just unclear the following syntacsis:
> $.image_id
> what is $ in this case? It will be more clear if we can replace $ to
> something - any instance with readable name, like global.image_id or
> context.image_id.
> looks like $ can be the different in different name spaces.
>
> it will be unclear for new users and of course it will be easy when we have
> experience with the DSL.
Yes, “$” actually comes from YAQL which is simple expression language with
pythonic-like syntax. We were planning to use it here. However, we got an idea
to make it possible to use other languages by having a simple abstraction
ExpressionEvaluator in the system. It already exists.
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev