llnl / llnl/rose

Need 2 XSLT translators from XML to JavaScript

Open
#324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
688
Forks
144
PR merge metrics
No merged PRs in 30d

Description

We are trying to do generics in XML. That is, write an XSLT program that converts an object model in XML to an ECMAScript 6 library. Also write an XSLT program that converts 3000 examples from XML to ECMAScript 6. An example is X3DJSAIL in Java (generated from a stylesheet) and X3dToJava.xslt . I have no official training in XSLT, and this is just me volunteering. I tried to do the first in Python and failed so far. I tried to do the latter in JavaScript and got close, but I’m still having issues with outputting XML from produced JavaScript program. As you can see, this is very complex and requires people who eat AST conversion for lunch. If you can’t help, I may try Terrence Parr next. I have someone who does this for Python and Java, but we need JavaScript, and c/c#/c++ ultimately. If we had a common IR for JSON, XML, Turtle, VRML, and the general purpose languages I mentioned, it would really help our project. We are focused on the VRML/X3D open source and free ISO standards. There are opportunities to use inverseCSG and CSGNet on scans to produce high level geometry, similar to converting machine code to a 3GL. But I would like to go beyond CSG into producing animations in X3D encoding from videos.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing X3dToJava.xslt and the X3DJSAIL example to understand the existing XML-to-language generation approach. Determine how the requested ECMAScript 6 library and the 3,000 XML examples should be represented and validated. Done means providing both XSLT translators with correct generated JavaScript output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.