Analytical method of interpreted language, its device and computer system
An interpreted language and computer system technology, which is applied in the field of interpreted language analysis method and its device and computer system, can solve the problems of reduced interpretation efficiency, code interpretation and execution can not meet the immediacy, rely on analysis, etc., to save resources , to achieve the effect of not crashing and instant code analysis
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] Such as figure 1 As shown, the interpreted language analysis device of this embodiment includes an editor interface 1, a syntax enhancement unit 11, a code conversion unit 2, a hash calculation unit 21, and a parser 3, wherein the syntax enhancement unit is integrated in the editor interface 1 , the hash calculation unit 21 is integrated in the code conversion unit 2 .
[0047] In this embodiment, the editor interface 1 is used to obtain the code P, and the grammar enhancement unit 11 is used to add a label symbol "()" to each minimum lexical unit in the code P, wherein the label can use any symbol, as long as the minimum grammar can be identified Units are sufficient, and are not limited to the symbols selected in this embodiment.
[0048] When the editor interface 1 obtains the trigger notification, the code conversion unit 2 converts the code P into a multi-tree A according to the label symbol "()". The trigger notification in this embodiment is carriage return or ...
Embodiment 2
[0078] The computer system in this embodiment includes two processes A and B, both of which call the parsing process of the interpreted language described in Embodiment 1.
[0079] In this embodiment, the two processes A and B are mutually locked, and the process A is in the working state, and the process B is in the dormant state. If the process A crashes, the process B will wake up and replace the crashed process A to execute the parsing process of the interpreted language.
[0080] At the same time, the system will automatically clean up the resources of the crashed process A, and create a new dormant process C, which is mutually locked with process B.
[0081] That is, the pair of processes that lock each other. One is responsible for execution, and the other is responsible for monitoring (waking up during sleep). When the working process crashes, the sleeping process immediately replaces it and cleans up unnecessary resources. At the same time, a new process is started t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com