[PATCH 0/8] Implement a new DTS Source Language
David Gibson
david at gibson.dropbear.id.au
Thu Sep 25 13:50:36 EST 2008
On Tue, Sep 23, 2008 at 09:34:38PM -0500, Kumar Gala wrote:
>
> On Sep 23, 2008, at 2:04 PM, Jon Loeliger wrote:
>
>> This series of patches enhances the DTS source language to
>> support a fullly interpreted language for generating nodes
>> and properties. It is backward compatible with V1 sources.
>>
>> The main features implemented by this patch set support
>> function definitions, 'if', 'for', 'return' and assignment
>> statements. Local variables, global constants and
>> almost complete C-like expressions are also supported.
>>
>> Enhancements to the source position and error/warning
>> reporting now support source column positions too.
>>
>> Jon Loeliger (8):
>> Remove support for the legacy DTS source file format.
>> Add conditionalized debug() print macro.
>> Enhance source position implementation.
>> Add header files for new Internal Representation form.
>> Add most of the new IR implementation files.
>> Add the main IR evaluation implementation
>> Introduce new DTS language.
>> Add documentation for the new DTS language.
>
> Any examples/tests of all the cool new features?
Um.. yeah. I'd really like to discuss the syntax, before diving into
the implementation. You've certainly taken a different approach to
this than the one I was thinking of.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the devicetree-discuss
mailing list