Jade parser

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Jade parser

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:15 pm

by CarlRanson >> Fri, 8 Nov 2002 4:38:11 GMT

Does anyone out there have code for a parser of Jade source? more correctly a parser for a schema file?

CR

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade parser

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:15 pm

by JensRichnow >> Fri, 8 Nov 2002 7:10:04 GMT

I did once, probably still have somewhere. The main problem is that the parser needs to be Jade version aware as over the various releases the structure of the schema file changed a bit. Lack of time ment that I did not update the parser, also it is still in the back of my mind ...

A presume you mean a parser written in Jade!?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade parser

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:15 pm

by allistar >> Sun, 10 Nov 2002 22:57:23 GMT

I have a parser for Jade 4.??, although that's probably no good.

Our automatic upgrading software does some very minor parsing of the ..scm files before they are imported (to endure the correct schema hierachy is kept).

Do you want to actually parse the Jade code in the schema file or just the structure of the schema file itself?

Allistar.

------------------------------------------------------------------
Allistar Melville
Software Developer
Auckland, NEW ZEALAND

Greentree International,
Developer of Greentree Financial Software. ------------------------------------------------------------------

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade parser

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:15 pm

by CarlRanson >> Mon, 11 Nov 2002 0:25:38 GMT

Mainly im looking to identify the schema file structure. Don't care about the details of a method, as long as I can get the code as text block.

Its going in the too hard basket for now I think.
CR

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade parser

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:15 pm

by allistar >> Mon, 11 Nov 2002 0:35:52 GMT

Hi Carl,
The jade documents (particularly the pdfs) give quite a bit of information regarding the .scm file structure.

You should be able to acheive what you want by reading the file and looking for the special tags inside it, like:

typeHeaders
membershipDefinitions
typeDefinitions
inverseDefinitions
jadeMethodSources

etc.

Allistar. ------------------------------------------------------------------
Allistar Melville
Software Developer
Auckland, NEW ZEALAND

Greentree International,
Developer of Greentree Financial Software. ------------------------------------------------------------------


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 22 guests

cron