Online code compiling method, device and apparatus based on Weex

A compilation method and code technology, applied in the direction of code compilation, program code conversion, etc., can solve problems such as narrow function coverage, achieve stable preview ability, ensure the accuracy of compilation, and provide the effect of preview ability

Pending Publication Date: 2020-06-16
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing Weex framework-based compilation platform can only target a specific domain lan

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Online code compiling method, device and apparatus based on Weex
  • Online code compiling method, device and apparatus based on Weex
  • Online code compiling method, device and apparatus based on Weex

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0044] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the conte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides an online code compiling method, device and apparatus based on Weex. The method comprises the steps of acquiring code information input by a user; determininga first target DSL corresponding to the code information in a plurality of domain-specific languages DSL, wherein the first target DSL supports a Weex framework; and compiling the code information byutilizing a compiling method corresponding to the first target DSL to obtain a compiling result capable of running in a Weex framework. By determining a first target DSL corresponding to code information in a plurality of domain-specific languages DSL, wherein the first target DSL supports a Weex framework; the transverse expansion of the DSL corresponding to the code information is realized; theinvention is suitable for compiling the code information of various types of DSL, and then the code information is compiled by utilizing the compiling method to obtain the compiling result capable ofrunning in the Weex framework, so that the application range and the use flexibility of the compiling method are effectively improved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to an online code compilation method, device and equipment based on Weex. Background technique [0002] Weex is a high-performance native application framework that uses web development experience. Its principle is to write platform-independent page rendering rules defined by Weex through templated JavaScript, compile them into standard JavaScript script files through webpack, and embed them into the integrated In the mobile application of Weex SDK. The Weex framework can perfectly balance performance and dynamics, allowing mobile developers to write native application-level performance experience through simple front-end syntax, and supports multi-device deployment such as iOS, Android, YunOS and Web. [0003] However, the existing compilation platforms based on the Weex framework can only target a specific domain language, such as Vue domain language or Rax domain la...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/41
CPCG06F8/41
Inventor 孙兆
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products