A Method for Generating Process-Oriented High-level Language Source Program Flowchart
A high-level language and source program technology, applied in the direction of program control devices, etc., can solve the problems of unsightly appearance, unable to display the flow chart structure in the center, single language variety, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0047] The present invention is based on the BNF paradigm, driven by the LR algorithm. The present invention consists of "LR algorithm", "creating flow chart nodes and
[0048] Here in conjunction with the example of the following section of C code, according to the steps in Fig. 1, the specific implementation method is described.
[0049] Voidexample (doublenum)
[0050] 2{
[0052] 4{
[0054] 6if (num!=0)
[0055] 7{printf("positive");}
[0056] 8else
[0057] 9{printf("zero");}
[0058] 10}
[0059] 11else
[0060] 12{printf("negative");}
[0061] 13}
[0062] Step 1 to step 5 is "LR algorithm part", which involves two concepts, BNF paradigm and LR algorithm.
[0063] The BNF paradigm is a language used to represent context-free grammars, consisting of terminal symbols and non-terminal symbols. most of
[0065] The specific steps are to input the C code in units of characters from step 1. Go to step 2 to judge whether to input
[0067]
[0069] Steps 6 to 18 are "creating flow...
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