An analytic language text type analysis and conversion method

A conversion method and language-to-text technology, applied in the field of analytical language-to-text analysis and conversion, can solve the problems of being unable to be proficient in multiple different development languages ​​at the same time, difficult to adapt to development languages ​​and tools, unfavorable to accumulate and accumulate experience, etc. The effect of improving development efficiency, reducing development cost and simplifying project structure

Active Publication Date: 2019-05-10
安徽三七极域网络科技有限公司
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These games have their own client environment characteristics. If you want to achieve the best runtime performance efficiency in this client environment, you basically need to use the development language recommended by this client environment to develop. Each language has some differences. Generally, developers are only proficient in one language and cannot be proficient in many different development languages ​​at the same time
[0003] As a game development company, we often have to face a problem: limited budget and fixed developers, it is difficult to adapt to all development languages ​​and tools, and repeated development often brings extremely low development efficiency, each client environment Re-recruiting new employees is not conducive to accumulating and accumulating experience
[0004] At present, there is no technology in the industry that can fully support all client environments. A similar approach is similar to the Java virtual machine, which supports more client environments through virtual machines in disguise, but there is no such thing as Java or C#. A language can truly fully support all languages
For example, in the Flash environment, flash can only be developed using the AS3 language, and Java cannot be replaced. For example, in the H5 environment, JS development is required, and pure Java cannot be used for development. Do you know if there will be other similar client environments with their own exclusive language in the future?
The language changes too fast, it is impossible for most programmers to keep changing,

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
  • An analytic language text type analysis and conversion method
  • An analytic language text type analysis and conversion method
  • An analytic language text type analysis and conversion method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the technical means, creative features, objectives and effects of the present invention easy to understand, the present invention will be further explained below.

[0046] Such as Figure 1 to Figure 3 As shown, an analytical language-to-text analysis conversion method is characterized in that it includes the following steps:

[0047] Step S100: List all the programming languages ​​used in the client environment, decompose the languages ​​into 23 language feature definitions, and configure the relevant language description configuration file 001 for each supported language;

[0048] Among them, the 23 language feature definitions include:

[0049] 1. Class definition: Responsible for parsing the class declaration part in the code file, including whether it is inherited, whether it is an interface class, whether it is a partial class, the keyword text of the language part of the class, the language class declaration keyword text, and the language interface decla...

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 invention relates to an analytic language text type analysis and conversion method, which comprises the following steps of: S100, listing programming languages used by all client environments, decomposing the programming languages into 23 language feature definitions, and configuring related language description configuration files for each supported language; S200, reading various features ofthe supported language to an analysis converter; S300, initializing an analysis class corresponding to each feature according to the configuration features, and defining assignment and initializationof an analyzer according to the semantic features; S400, inputting a source code file needing to be converted, reading a source code to become a string, and providing the string for the language conversion processor; S500, creating a source language feature definition main body; S600, creating a target language feature definition main body; S700, using a source semantic feature definition analyzer to uninterruptedly and circularly decompose the ring of the source code until complete conversion is generated; and S800, storing the generated string as a target code file. The method can reduce the development cost, and has the advantages of low failure rate and high controllability.

Description

Technical field [0001] The invention relates to the technical field of computer programming languages, in particular to an analytical language-to-text analysis conversion method. Background technique [0002] The current game industry is full of flowers. Every platform and every client environment has a strong user base, whether it is a different client environment such as web pages, mobile phones, PCs, handheld game consoles or home game consoles. All have a very good paying user group, and their usual consumption environment is relatively fixed, and there is less mutual conversion application environment. These games have their own client environment characteristics. If you want to achieve the best runtime performance and efficiency in this client environment, you basically need to use the development language recommended by the client environment to develop. Each language has some differences. Because the average developer is only proficient in one language, they cannot be pr...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/51G06F8/30
Inventor 胡宇航何洋陈夏璘
Owner 安徽三七极域网络科技有限公司
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