Re: [Jscodee-devel] More progress on updating the XSLT
Status: Alpha
Brought to you by:
garyfred
From: Allen D. <far...@be...> - 2003-02-14 02:42:24
|
What is the svg XSLT for? What are you translating it to? I am a little unclear about what is happening I think... Allen Gary Frederick wrote: > When we moved the JSCode XML to V0.3, the XSLT stylesheets were not > updated. They sorta worked but did not do everything they needed to do > to generate code. The V0.2 XML had info for each language that made the > XSLT somewhat easier to write. V0.3 requires the XSLT 'do more'. > > I have the XSLT for going from JSCode to MindScript working pretty well. > I did a bit with the NQC XSLT to see how hard it will be to update the > various languages. It will be easy. I have the XSLT that generates SVG > updated. That was actually easier than MindScript. > > And I added much better support for tasks and MindScript watcher tasks > and variables and constant declarations and the select statement :-) > > I just added XML for sensors and declaring events > > // these MindScript statements > sensor t on 3 > t is switch as boolean > event touched when t.pressed > > are generated from this XML > > <block kind="basic" name="Sensor"> > <param kind="variable">t</param> > <param kind="value">3</param> > </block> > <block kind="basic" name="SensorAssign"> > <param kind="variable">t</param> > <param kind="type">switch</param> > <param kind="mode">boolean</param> > </block> > <block kind="basic" name="Event"> > <param kind="variable">touched</param> > <param kind="value">t.pressed</param> > </block> > > The above may change a bit before it is final. For example, I have the > 'kind' of block as "basic". That was to pick up the SVG image for a > basic block when generating SVG. I may make it another kind, like what I > did to get the Spybot specific blocks. > > I have not built the web pages for these blocks yet. If someone wants to > try their hand at building those pages, let me know. I would like to > have a different image for them, close to the images we have but > different enough to make it easy to see they are not basic blocks. > > I'm going to continue working with the MindScript and SVG XSLT. Then > I'll update the NQC XSLT then the other pages. I plan on having > everything ready to be V0.3 by the end of February. > > Back to XSLT land :-) > > Gary > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Jscodee-devel mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscodee-devel > |