Can a gyp parser expand something like that? `{ 'test': [2 * x for x in
[1,2,3]] }`
If you CAN use python expressions, it means that you have to implement a
full-bloated python interpreter in order to parse that file.
Hmm... maybe pyjs or skulpt will do the job.
19.02.2014, 16:43, "Kevin Ingwersen" <[email protected]>:
> GYP’s „language“ is a giant python dictionary - very JSON like. Hence, you
> can use certain python expressions, for expanding variables and stuff. Thats
> why you cant use YAML. o.o
> Am Mi. Feb. 19 2014 13:34:59 schrieb Aria Stewart:
>
>> On Feb 18, 2014 2:55 AM, Alex Kocharin <[email protected]> wrote:
>>> Is there any reason not to use a regular YAML parser for it?
>> Other than the language not being YAML?
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.