Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new XML support #19570

Closed
15 of 23 tasks
hasithaa opened this issue Oct 24, 2019 · 1 comment
Closed
15 of 23 tasks

Implement new XML support #19570

hasithaa opened this issue Oct 24, 2019 · 1 comment
Assignees
Labels
Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime Type/NewFeature

Comments

@hasithaa
Copy link
Contributor

hasithaa commented Oct 24, 2019

This issue create to track implementation progress of new proposed XML design ballerina-platform/ballerina-spec#288

Rough Implementation Direction,

Compiler front end

  • Current Java-based version - No changes required. We already create AST nodes for the XML literal expression using the ANTLR-generated lexer and the parser.
  • New compiler front end (will be written in Ballerina). We will write the scanner and the parser bits that identify and create AST nodes for the XML literal expression.

Ballerina compiler JVM back end

  • We are using Axiom at the moment here now. To implement the runtime support for the new XML spec, we will replace Axiom with a custom XML tree with a customer tree builder written on top of StAX. Since this is JVM runtime, we will have to use Java here.

Ballerina compiler LLVM back end

  • We are not yet clear about this implementation. But, most probably, we will have to implement the XML runtime support in C++ or Rust.

Related issues

Sub tasks

After 1.2.0

@hasithaa
Copy link
Contributor Author

Closing this issue, since XML support has been added and, remaining individual tasks are captured in separate issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime Type/NewFeature
Projects
None yet
Development

No branches or pull requests

4 participants