Open Sourcing: decora-compiler
Felipe Heidrich
felipe.heidrich at oracle.com
Thu Nov 8 08:43:44 PST 2012
One hour to implement an editor ? Awesome!
I've filed http://efxclipse.org/trac/ticket/225 to help track the progress in this one.
Thanks
ps.: in that initial work already includes content assist ?
On Nov 8, 2012, at 1:45 AM, Tom Schindl wrote:
> [Resending because the first one is queued because I attached a screenshot]
>
> Hi,
>
> You got me I fact I don't only plan I've written one already
> yesterday - see
> http://tomsondev.bestsolution.at/2012/11/08/javafx-shader-language-jsl-or-writing-an-editor-for-a-language-you-dont-know/!
>
> It's a very dumb one yet but it could be improved, although I have to
> say this is very low priority in the complete e(fx)clipse project.
>
> Tom
>
> Am 08.11.12 07:21, schrieb Felipe Heidrich:
>> Hi Tom,
>>
>>
>> Out of curiosity,
>>
>> Are you planning on adding JSL editor to e(fx)clipse ?
>>
>> I think that would be really cool. Provided that we already have the DSL grammar file for ANTR it should not be too much trouble to pass it to xText (i hope).
>>
>> Joe/Rich: would we be able to get Tom a couple of JSL example files to get him going ?
>>
>> Cheers
>> Felipe
>>
>>
>> On Nov 7, 2012, at 9:11 AM, Tom Schindl wrote:
>>
>>> Hi,
>>>
>>> Ok - I cloned the graphic forest - to get my hands dirty on this are
>>> there any example DSL-Files, to do some monkey see monkey do?
>>>
>>> Tom
>>>
>>> Am 06.11.12 19:08, schrieb Richard Bair:
>>>> It will be in "rt". It will start out in the graphics forest but by next week it will have propagated through the rest of them.
>>>>
>>>> On Nov 6, 2012, at 10:05 AM, Tom Schindl <tom.schindl at bestsolution.at> wrote:
>>>>
>>>>> That sounds interesting where will it endup? In which mercurial repo?
>>>>>
>>>>> Tom
>>>>>
>>>>> Am 06.11.12 17:13, schrieb Richard Bair:
>>>>>> Hi,
>>>>>>
>>>>>> I'm going to be open sourcing today another one of our projects called decora-compiler. We have our own DSL for shader languages called Decora. What we do is generate shaders for OpenGL and D3D from this language. We also generate Java code and SSE native code. For some shaders, we ended up generating them and then hand-tweaking them from there.
>>>>>>
>>>>>> The decora-compiler is used during the build process, but is not itself part of either the JDK or JRE, and so has mostly remained invisible to everybody. There is an "ME" based backend for JavaME which I don't think is even being used anymore, so there is stuff here we could remove to reduce the size of the project (and I will be filing a JIRA for this).
>>>>>>
>>>>>> decora-compiler isn't really that interesting in isolation, although at one time we had entertained the idea of popularizing it so that people could write their own shaders with JSL (the decora shader language), in which case the compiler would be part of the JDK such that you could create your own effects. Decora is predominantly used for the "effects" -- blur, box blur, etc. Although it is also used for prism shaders, we don't generate SSE or Java backends for those, and many of these have been tweaked by hand vs. simply generated.
>>>>>>
>>>>>> Cheers
>>>>>> Richard
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> B e s t S o l u t i o n . a t EDV Systemhaus GmbH
>>>>> ------------------------------------------------------------------------
>>>>> tom schindl geschäftsführer/CEO
>>>>> ------------------------------------------------------------------------
>>>>> eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
>>>>> http://www.BestSolution.at phone ++43 512 935834
>>>>
>>>
>>>
>>> --
>>> B e s t S o l u t i o n . a t EDV Systemhaus GmbH
>>> ------------------------------------------------------------------------
>>> tom schindl geschäftsführer/CEO
>>> ------------------------------------------------------------------------
>>> eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
>>> http://www.BestSolution.at phone ++43 512 935834
>>
>
>
> --
> B e s t S o l u t i o n . a t EDV Systemhaus GmbH
> ------------------------------------------------------------------------
> tom schindl geschäftsführer/CEO
> ------------------------------------------------------------------------
> eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
> http://www.BestSolution.at phone ++43 512 935834
More information about the openjfx-dev
mailing list