Re: SaxonCS 11.0 is available

Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]> Wed, 6 Oct 2021 22:35:09 +0100
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
We used the open-source JavaParser toolkit and started with the out-of-the-box XML serialization of its abstract syntax tree, augmenting this as needed with type information extracted from the symbol solver. Then a lot of further XML-to-XML augmentation, especially to work out the override/inheritance relationships among methods across the whole class hierarchy, before transforming the result to a C#.

There's a paper outlining the approach at https://www.saxonica.com/papers/markupuk-2021mhk.pdf

Michael Kay
Saxonica

> On 6 Oct 2021, at 15:59, Chapman Flack <chap-JULfBfA8satPFr4CO1/[email protected]> wrote:
> 
> On 10/06/21 09:54, Michael Kay wrote:
>> generating C# from the Java source code of SaxonJ using a custom transpiler,
>> written in XSLT.
> 
> Slick! Out of curiosity, what XML representation of Java was used?
> 
> I've recently been tempted to fiddle with srcML.
> 
> Regards,
> -Chap
> 
> 
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/saxon-help