CN110134386A - A kind of program editing method and device - Google Patents

A kind of program editing method and device Download PDF

Info

Publication number
CN110134386A
CN110134386A CN201910272610.XA CN201910272610A CN110134386A CN 110134386 A CN110134386 A CN 110134386A CN 201910272610 A CN201910272610 A CN 201910272610A CN 110134386 A CN110134386 A CN 110134386A
Authority
CN
China
Prior art keywords
specified
function
code
script
programming language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910272610.XA
Other languages
Chinese (zh)
Other versions
CN110134386B (en
Inventor
肖轶翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Lou Surgery Technology Co Ltd
Original Assignee
Chengdu Lou Surgery Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Lou Surgery Technology Co Ltd filed Critical Chengdu Lou Surgery Technology Co Ltd
Priority to CN201910272610.XA priority Critical patent/CN110134386B/en
Publication of CN110134386A publication Critical patent/CN110134386A/en
Application granted granted Critical
Publication of CN110134386B publication Critical patent/CN110134386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Abstract

The invention discloses a kind of program editing method, device, electronic equipment and computer readable storage mediums.This method comprises: receiving the source code of the specified programming language of input;In response to executing request to source code, source code is parsed using specified compiler, obtains parsing code;The corresponding each graphical code block of graphic programming tool is packaged into the script function of compiler support;According to parsing code, corresponding script function is called, the implementing result of the corresponding graphical code block of the script function is obtained;According to graphic programming tool display implementing result.By this programme, the code block in graphic programming tool is encapsulated again, is realized by specifying control of the programming language to graphic programming tool, is conducive to study of the learner to the function logic in programming;Make user that can get information about code implementing result the graphical representation of the implementing result of source code simultaneously, also brings enjoyment to the process of study, enhance the usage experience of user.

Description

A kind of program editing method and device
Technical field
The present invention relates to field of computer technology, and in particular to a kind of program editing method, device, electronic equipment and calculating Machine readable storage medium storing program for executing.
Background technique
The grasp of the arrival of Internet era, computer relevant knowledge and technology has slowly become the basic knowledge of people Deposit and technical ability, such as program.In the prior art, study and practice that people can be programmed by programming learning system. But for beginner or young learner, realize that difference is patrolled using programming language in the learning process of programming Function under volume is an obstacle, difficult to programming learning tape.Therefore, it is badly in need of a kind of program editing scheme, convenient for programming It practises.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State program editing method, device, electronic equipment and the computer readable storage medium of problem.
According to an aspect of the invention, there is provided a kind of program editing method, which comprises
Receive the source code of the specified programming language of input;
In response to executing request to the source code, the source code is parsed using specified compiler, is obtained Parse code;
The corresponding each graphical code block of graphic programming tool is packaged into the script function that the compiler is supported;
According to the parsing code, corresponding script function is called, obtains the corresponding graphical code block of the script function Implementing result;
According to implementing result described in the graphic programming tool display.
Optionally, the method also includes:
The asynchronous script function of synchronization call is defined in the way of communicating bridge joint by specified compiler;
It is described that corresponding script function is called according to the parsing code, obtain the script function corresponding graphical generation The implementing result of code block includes:
According to the parsing code, corresponding script function and the asynchronous script function of the synchronization call are called, is obtained The sequence implementing result of the corresponding multiple graphical code blocks of script function.
Optionally, the method also includes:
Establish the corresponding relationship between specified script event and the specified function of specified programming language;
When listening to specified script event and being triggered, according to corresponding relationship, the finger of corresponding specified programming language is called Determine function and executes.
Optionally, described according to corresponding relationship, it calls the specified function of corresponding specified programming language and execution includes:
The specified function of corresponding specified programming language is called by the CallsimAsync for specifying compiler to provide and is held Row.
Optionally, the method also includes:
Judge in the parsing code whether API Function;
If being judged as YES, corresponding operation is carried out according to the type of the api function of calling.
Optionally, if the api function of the calling is graphic programming tool, corresponding graphical code block is packaged into Api function, then carrying out corresponding operation according to the type of the api function of calling includes:
According to the api function of calling, corresponding interactive interface is obtained.
Optionally, if the api function of the calling is third-party api function, according to the type of the api function of calling Carrying out corresponding operation includes:
The acquisition request of corresponding data is sent to corresponding third-party server;Receive what the third-party server returned Corresponding data.
Optionally, if the api function of the calling is the class libraries that other programming languages are supported, according to the API letter of calling Several types carries out corresponding operation
According to the api function of calling, corresponding object in the class libraries of other programming languages support is obtained.
Optionally,
The specified programming language includes Python;C Plus Plus;Java language;JavaScript language;
The graphic programming tool includes Scratch programming tool.
Optionally, when the specified programming language is Python, the specified compiler includes Skulpt compiling Device.
Optionally, before the source code of the specified programming language for receiving input, the method also includes:
In response to accessing the request of appointed website, adding for the program editor based on specified programming language is sent to server Carry request;
The load information for receiving the program editor based on specified programming language that the server returns, according to receiving Load information load the program editor based on specified programming language.
According to another aspect of the present invention, a kind of program editing device is provided, described device includes:
Receiving unit, the source code of the specified programming language suitable for receiving input;
Resolution unit is adapted for executing request to the source code, using specified compiler to the source code It is parsed, obtains parsing code;
Encapsulation unit is supported suitable for the corresponding each graphical code block of graphic programming tool is packaged into the compiler Script function;
Execution unit is suitable for calling corresponding script function according to the parsing code, it is corresponding obtaining the script function The implementing result of graphical code block;
Display unit is suitable for the implementing result according to the graphic programming tool display.
Optionally, described device further include:
Definition unit, suitable for defining the asynchronous script letter of synchronization call in the way of communicating bridge joint by specified compiler Number;
The execution unit is suitable for calling corresponding script function and the synchronization call different according to the parsing code The script function of step obtains the sequence implementing result of the corresponding multiple graphical code blocks of script function.
Optionally, described device further include:
Unit is established, the corresponding relationship being adapted to set up between specified script event and the specified function of specified programming language;
The execution unit, suitable for according to corresponding relationship, calling corresponding when listening to specified script event and being triggered Specify the specified function of programming language and execution.
Optionally,
The execution unit calls specified programming language accordingly suitable for the CallsimAsync by specifying compiler to provide The specified function of speech and execution.
Optionally, described device further include:
Judging unit, be suitable for judging in the parsing code whether API Function;If being judged as YES, according to calling The type of api function carries out corresponding operation.
Optionally, the judging unit, if the api function suitable for the calling is the corresponding figure of graphic programming tool Change the api function that code block is packaged into and corresponding interactive interface is obtained according to the api function of calling.
Optionally, the judging unit, if the api function suitable for the calling is third-party api function, to corresponding The acquisition request of third-party server transmission corresponding data;Receive the corresponding data that the third-party server returns.
Optionally,
The judging unit, if the api function suitable for the calling is the class libraries that other programming languages are supported, according to tune Api function obtains corresponding object in the class libraries of other programming languages support.
Optionally,
The specified programming language includes Python;C Plus Plus;Java language;JavaScript language;
The graphic programming tool includes Scratch programming tool.
Optionally, when the specified programming language is Python, the specified compiler includes Skulpt compiling Device.
Optionally, described device further include:
Loading unit, suitable for being specified in response to accessing before the source code of the specified programming language for receiving input The request of website sends the load request of the program editor based on specified programming language to server;Receive the server The load information of the program editor based on specified programming language returned, according to the load information load received based on specified The program editor of programming language.
According to another aspect of the invention, a kind of electronic equipment is provided, wherein the electronic equipment includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed Device is managed to execute according to method above-mentioned.
In accordance with a further aspect of the present invention, a kind of computer readable storage medium is provided, wherein described computer-readable Storage medium stores one or more programs, and one or more of programs when being executed by a processor, realize method above-mentioned.
According to the technique and scheme of the present invention, the source code of the specified programming language of input is received;In response to source code Request is executed, source code is parsed using specified compiler, obtains parsing code;Graphic programming tool is corresponding each Graphical code block is packaged into the script function of compiler support;According to parsing code, corresponding script function is called, is somebody's turn to do The implementing result of the corresponding graphical code block of script function;According to graphic programming tool display implementing result.By this hair Bright technical solution, the code block in graphic programming tool are encapsulated again, are realized through specified programming language to graphical The control of programming tool is conducive to study of the learner to the function logic in programming;Simultaneously by the implementing result of source code Graphical representation makes user that can get information about code implementing result, also brings enjoyment to the process of study, enhances making for user With experience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram of program editing method according to an embodiment of the invention;
Fig. 2 shows the flow diagrams of program editing method in accordance with another embodiment of the present invention;
Fig. 3 shows the structural schematic diagram of program editing device according to an embodiment of the invention;
Fig. 4 shows the structural schematic diagram of electronic equipment according to an embodiment of the invention;
Fig. 5 shows the structural schematic diagram of computer readable storage medium according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows the flow diagram of program editing method according to an embodiment of the invention.As shown in Figure 1, should Method includes:
Step S110 receives the source code of the specified programming language of input.
In the present embodiment, the input of source code can be to be inputted by editing machine, such as specified programming language is Python When language, web editing machine of the ace as Python can use;Alternatively, being that user imports from specified file.
Step S120 parses source code using specified compiler, obtains in response to executing request to source code Parse code.
After getting source code, in order to realize specified programming language to the control of graphical edit tool and knot will be executed Fruit is shown, and can be carried out by way of sending and executing request, for example, providing a code in display interface executes control Part, when triggering the control, be equivalent to that user triggers source code executes request, when receive the source code executes request When, request is executed in response to this, source code is parsed.In view of source code here is based on a certain programming language editor , so can use specified compiler when being parsed and be compiled, for example, being edited using Python Source code, then specify compiler to can be Skulpt and parse to the source code.Source code after parsing is then parsing generation Code.
The corresponding each graphical code block of graphic programming tool is packaged into the script letter of compiler support by step S130 Number.
Here secondary development, the calling script function that can be pointed out with compiler are carried out based on graphic programming tool (JavaScript) mode encapsulates out the calling function of each code block.So when by specifying programming language editor source generation When code, after compiler parses, corresponding script function can be called directly, and then is realized in image words programming tool The control of corresponding graphical code block.
Step S140 calls corresponding script function, obtains the script function corresponding graphical generation according to parsing code The implementing result of code block.
Because it is the graphical code block of graphical edit tool that script function is corresponding, when calling script function, phase When in having invoked corresponding graphical code block, realizing the control to graphical code block, i.e., realized by specified programming language Control to graphical edit tool.
Step S150, according to graphic programming tool display implementing result.
For example, specified programming language is Python, graphic programming tool is Scratch.Two are done based on Scratch Secondary exploitation encapsulates out each block's of Scratch in a manner of the calling JavaScript function that Skulpt can be supported Call function.Relevant function is called in Python code, i.e., controllable Scratch makes it show corresponding function.
In the present embodiment, specified programming language can be used from graphical edit tool library is write with specified programming language Middle Complied executing, centre pass through script JavaScript communication bridge joint.So, user can be directly controlled by specified programming language The interface of graphical edit tool.For example, role's interaction of the interface stage area of graphical edit tool may be implemented.
As it can be seen that through this embodiment, the code block in graphic programming tool is encapsulated again, realize through specified programming Control of the language to graphic programming tool is conducive to study of the learner to the function logic in programming;Simultaneously by source code The graphical representation of implementing result make user that can get information about code implementing result, also bring enjoyment to the process of study, Enhance the usage experience of user.
In one embodiment of the invention, method shown in FIG. 1 further include: pass through communication bridge joint using specified compiler Mode define the asynchronous script function of synchronization call.
In step S140 according to parsing code, call corresponding script function, obtain the corresponding figure of the script function The implementing result for changing code block includes: to call corresponding script function and the asynchronous script letter of synchronization call according to parsing code Number, obtains the sequence implementing result of the corresponding multiple graphical code blocks of script function.
In order to allow specified programming language when controlling the graphical code block control in graphical edit tool, Can be the same with graphical editor, the sequence execution of one code block of a code block, therefore, it is necessary to realize that synchronization call is asynchronous Function when controlling graphical edit tool, therefore needed here using script function in the technical scheme Realize the asynchronous JavaScript function of synchronization call.So, when being executed, it is executed if necessary to sequence, then can call phase The asynchronous script function of the script function and synchronization call answered is, it can be achieved that the multiple graphical code blocks called are held in sequence Row, and obtain corresponding implementing result.For example, to realize that Python, can be with Scratch mono- when controlling Scratch Sample, one code block sequence of a code block execute, can therefore, it is necessary to realize the asynchronous JavaScript function of synchronization call To define the asynchronous JavaScript function of synchronization call with suspension using Skulpt.
In one embodiment of the invention, method shown in FIG. 1 further include: establish specified script event and specified programming Corresponding relationship between the specified function of language;When listening to specified script event and being triggered, according to corresponding relationship, phase is called The specified function of the specified programming language answered and execution.
Script event bound functions are called in specified programming language, and pass to the specified programming language that the event needs to bind Say that function, this function can be compiled device and be encapsulated as scripting object.Pass through script monitor corresponding event (such as mouse event, keyboard Event etc.), and execute function to the triggering of the event of event binding, i.e., specified programming language function.When event triggering, lead to After crossing compiler parsing code, specified programming language function accordingly is called, so that it may execute corresponding event.
For example, calling JavaScript event binding function in Python, and pass to what the event needed to bind Python function, this function can be encapsulated as JavaScript object by Skulpt.Corresponding event is monitored by JavaScript, And function, i.e. Python function are executed to the triggering of event binding event.When event triggering, provided by Skulpt CallsimAsync calls corresponding Python function, i.e. executable event.
In a specific example, when JavaScript listens to mouse click event, click event is corresponding is for this Python executes function, then, it calls Python to execute function, realizes the execution of corresponding Python program.
Specifically, above-mentioned according to corresponding relationship, it calls the specified function of corresponding specified programming language and execution includes: Specified function and the execution of corresponding specified programming language are called by the CallsimAsync for specifying compiler to provide.
In one embodiment of the invention, method shown in FIG. 1 further include: judge parse in code whether call API Function;If being judged as YES, corresponding operation is carried out according to the type of the api function of calling.
Source code may call specified api interface (Application Programming during execution Interface, application programming interface), then corresponding operation should be executed at this time.
Specifically, if the api function called is the API letter that the corresponding graphical code block of graphic programming tool is packaged into Number, then carrying out corresponding operation according to the type of the api function of calling includes: the api function according to calling, obtains corresponding hand over Mutual interface.
For example, when having invoked the api function of JavaScript encapsulation in Python, according to the api interface of calling, Corresponding interface can be recalled to realize interface alternation.
Specifically, it if the api function called is third-party api function, is carried out according to the type of the api function of calling Corresponding operation includes: that the acquisition request of corresponding data is sent to corresponding third-party server;Third-party server is received to return The corresponding data returned.
Specifically, if the api function called is the class libraries that other programming languages are supported, according to the api function of calling It includes: the api function according to calling that type, which carries out corresponding operation, and it is corresponding right in the class libraries of other programming languages support to obtain As.
In one embodiment of the invention, above-mentioned specified programming language includes Python;C Plus Plus;Java Language;JavaScript language.
In one embodiment of the invention, above-mentioned graphic programming tool includes Scratch programming tool.
Specifically, when specified programming language is Python, specified compiler includes Skulpt compiler.
Here Skulpt is made of being write as JS (JavaScript), then Python code can be converted to JS Code, so that Python code can be run directly on browser.
In one embodiment of the invention, in step s 110 reception input specified programming language source code it Before, method shown in FIG. 1 further include: in response to accessing the request of appointed website, send to server based on specified programming language Program editor load request;Receive the load letter for the program editor based on specified programming language that server returns Breath loads the program editor based on specified programming language according to the load information received.
In the present embodiment, the input of source code is inputted by editing machine.When the specified programming website of user's access When, browser can be interacted with server, and environment file needed for obtaining load editing machine builds the volume of specified programming language Code environment.So that user keys in the source code of specified programming language in editing machine.
For example, web editing machine of the ace as Python can be loaded when specified programming language is Python.
Fig. 2 shows the flow diagrams of program editing method in accordance with another embodiment of the present invention, with Python language It makes peace and the technical program is illustrated for Scratch.As shown in Fig. 2, user opens browser and inputs net in client-side Behind location, browser receives the access request of programming website;In response to access request, the server of browser and service end side into Row interaction, the acquisition request of the resource of environment file needed for sending load editing machine receive the load editor of server return After the resource of environment file needed for device, Python coding environment is constructed, loads encoder;User keys in Python code and clicks Operation;Page JavaScript program can obtain the Python code of user's key entry, using compiler analysis source code, and browse The Python environment of current browser;It calls Scratch to encapsulate function, Python encapsulation is carried out to Scratch.Execute solution Source code after analysis, controls Scratch, and judges whether to need request server, supports when involving a need to server Function when, that is, call corresponding api function, page JavaScript can send to server and request, and receive server and return Corresponding data;Implementing result is returned after executing in Scratch to browser, and implementing result is fed back into user.
Pass through the various embodiments described above, in programming development tool, compilation run Python/C++/Java/C/ Scratch programmed statements are generated after JavaScript program, the programmed statements that compilation run generates correspond to Python/C++/C/ Function, variable, list, array, dictionary in Java/JavaScript.The Scratch programming language of generation is compiled when the user clicks When sentence, corresponding code in Python/C++/C/Java/JavaScript can be run, operation result is programmed back to Scratch Sentence, Scratch programming continue to execute.In programming development tool, Python/C is packaged into all programmed statements of Scratch ++/Java/C/JavaScript module or class libraries, the function that compilation run class library can call directly Scratch includes boundary Face, sound, event, paintbrush etc. Scratch now or following all sentences, use Python/C++/Java/C/ completely The function of JavaScript language realization Scratch programming language.In Python/C++/Java/C/JavaScript language The multi-functional class libraries of Integrated Development, such as short message transmission, speech synthesis, speech recognition, the identification of face value, image recognition third party's function Can, class goes out various application programs according to this functional development in exploitation.This programming tool using platform include Web browser, Window client, Mac client, Iphone mobile phone browser, Android/Android phone browser.
Fig. 3 shows the structural schematic diagram of program editing device according to an embodiment of the invention.As shown in figure 3, should Programming device 300 includes:
Receiving unit 310, the source code of the specified programming language suitable for receiving input.
In the present embodiment, the input of source code can be to be inputted by editing machine, such as specified programming language is Python When language, web editing machine of the ace as Python can use;Alternatively, being that user imports from specified file.
Resolution unit 320 is adapted for executing request to source code, be solved using specified compiler to source code Analysis obtains parsing code.
After getting source code, in order to realize specified programming language to the control of graphical edit tool and knot will be executed Fruit is shown, and can be carried out by way of sending and executing request, for example, providing a code in display interface executes control Part, when triggering the control, be equivalent to that user triggers source code executes request, when receive the source code executes request When, request is executed in response to this, source code is parsed.In view of source code here is based on a certain programming language editor , so can use specified compiler when being parsed and be compiled, for example, being edited using Python Source code, then specify compiler to can be Skulpt and parse to the source code.Source code after parsing is then parsing generation Code.
Encapsulation unit 330 is supported suitable for the corresponding each graphical code block of graphic programming tool is packaged into compiler Script function.
Here secondary development, the calling script function that can be pointed out with compiler are carried out based on graphic programming tool (JavaScript) mode encapsulates out the calling function of each code block.So when by specifying programming language editor source generation When code, after compiler parses, corresponding script function can be called directly, and then is realized in image words programming tool The control of corresponding graphical code block.
Execution unit 340 is suitable for calling corresponding script function according to parsing code, it is corresponding obtaining the script function The implementing result of graphical code block.
Because it is the graphical code block of graphical edit tool that script function is corresponding, when calling script function, phase When in having invoked corresponding graphical code block, realizing the control to graphical code block, i.e., realized by specified programming language Control to graphical edit tool.
Display unit 350 is suitable for according to graphic programming tool display implementing result.
For example, specified programming language is Python, graphic programming tool is Scratch.Two are done based on Scratch Secondary exploitation encapsulates out each block's of Scratch in a manner of the calling JavaScript function that Skulpt can be supported Call function.Relevant function is called in Python code, i.e., controllable Scratch makes it show corresponding function.
In the present embodiment, specified programming language can be used from graphical edit tool library is write with specified programming language Middle Complied executing, centre pass through script JavaScript communication bridge joint.So, user can be directly controlled by specified programming language The interface of graphical edit tool.For example, role's interaction of the interface stage area of graphical edit tool may be implemented.
As it can be seen that through this embodiment, the code block in graphic programming tool is encapsulated again, realize through specified programming Control of the language to graphic programming tool is conducive to study of the learner to the function logic in programming;Simultaneously by source code The graphical representation of implementing result make user that can get information about code implementing result, also bring enjoyment to the process of study, Enhance the usage experience of user.
Preferably, device shown in Fig. 3 can be used as a kind of programming tool or code encoder uses.
In one embodiment of the invention, device shown in Fig. 3 further include:
Definition unit, suitable for defining the asynchronous script letter of synchronization call in the way of communicating bridge joint by specified compiler Number
Execution unit 340 is suitable for calling corresponding script function and the asynchronous script letter of synchronization call according to parsing code Number, obtains the sequence implementing result of the corresponding multiple graphical code blocks of script function.
In order to allow specified programming language when controlling the graphical code block control in graphical edit tool, Can be the same with graphical editor, the sequence execution of one code block of a code block, therefore, it is necessary to realize that synchronization call is asynchronous Function when controlling graphical edit tool, therefore needed here using script function in the technical scheme Realize the asynchronous JavaScript function of synchronization call.So, when being executed, it is executed if necessary to sequence, then can call phase The asynchronous script function of the script function and synchronization call answered is, it can be achieved that the multiple graphical code blocks called are held in sequence Row, and obtain corresponding implementing result.For example, to realize that Python, can be with Scratch mono- when controlling Scratch Sample, one code block sequence of a code block execute, can therefore, it is necessary to realize the asynchronous JavaScript function of synchronization call To define the asynchronous JavaScript function of synchronization call with suspension using Skulpt.
In one embodiment of the invention, device shown in Fig. 3 further include:
Unit is established, the corresponding relationship being adapted to set up between specified script event and the specified function of specified programming language.
Execution unit 340, suitable for according to corresponding relationship, calling corresponding when listening to specified script event and being triggered Specify the specified function of programming language and execution.
Script event bound functions are called in specified programming language, and pass to the specified programming language that the event needs to bind Say that function, this function can be compiled device and be encapsulated as scripting object.Pass through script monitor corresponding event (such as mouse event, keyboard Event etc.), and execute function to the triggering of the event of event binding, i.e., specified programming language function.When event triggering, lead to After crossing compiler parsing code, specified programming language function accordingly is called, so that it may execute corresponding event.
For example, calling JavaScript event binding function in Python, and pass to what the event needed to bind Python function, this function can be encapsulated as JavaScript object by Skulpt.Corresponding event is monitored by JavaScript, And function, i.e. Python function are executed to the triggering of event binding event.When event triggering, provided by Skulpt CallsimAsync calls corresponding Python function, i.e. executable event.
In a specific example, when JavaScript listens to mouse click event, click event is corresponding is for this Python executes function, then, it calls Python to execute function, realizes the execution of corresponding Python program.
Specifically, on that basi of the above embodiments, execution unit 340, suitable for by specifying compiler to provide CallsimAsync calls the specified function of corresponding specified programming language and execution.
In one embodiment of the invention, device shown in Fig. 3 further include:
Judging unit, be suitable for judge parsing code in whether API Function;If being judged as YES, according to the API letter of calling Several types carries out corresponding operation.
Source code may call specified api interface (Application Programming during execution Interface, application programming interface), then corresponding operation should be executed at this time.
Specifically, judging unit, if being the corresponding graphical code block of graphic programming tool suitable for the api function called The api function being packaged into obtains corresponding interactive interface according to the api function of calling.
For example, when having invoked the api function of JavaScript encapsulation in Python, according to the api interface of calling, Corresponding interface can be recalled to realize interface alternation.
Specifically, judging unit takes if being third-party api function suitable for the api function called to corresponding third party Business device sends the acquisition request of corresponding data;Receive the corresponding data that third-party server returns.
Specifically, judging unit, if the api function suitable for calling is the class libraries that other programming languages are supported, according to tune Api function obtains corresponding object in the class libraries of other programming languages support.
In one embodiment of the invention, above-mentioned specified programming language includes Python;C Plus Plus;Java Language;JavaScript language.
In one embodiment of the invention, above-mentioned graphic programming tool includes Scratch programming tool.
Specifically, when specified programming language is Python, specified compiler includes Skulpt compiler.
Here Skulpt is then Python code can be converted to js code, to allow made of being write as js Python code can be run directly on browser.
In one embodiment of the invention, device shown in Fig. 3 further include:
Loading unit, suitable for receive input specified programming language source code before, in response to access appointed website Request, to server send the program editor based on specified programming language load request;Receive the base that server returns In the load information of the program editor of specified programming language, according to the load information load received based on specified programming language Program editor.
In the present embodiment, the input of source code is inputted by editing machine.When the specified programming website of user's access When, browser can be interacted with server, and environment file needed for obtaining load editing machine builds the volume of specified programming language Code environment.So that user keys in the source code of specified programming language in editing machine.
For example, web editing machine of the ace as Python can be loaded when specified programming language is Python.
In conclusion according to the technique and scheme of the present invention, receiving the source code of the specified programming language of input;In response to right Source code executes request, is parsed using specified compiler to source code, obtains parsing code;By graphic programming tool Corresponding each graphical code block is packaged into the script function of compiler support;According to parsing code, corresponding script letter is called Number, obtains the implementing result of the corresponding graphical code block of the script function;According to graphic programming tool display implementing result. According to the technical solution of the present invention, the code block in graphic programming tool is encapsulated again, is realized by specifying programming language Control to graphic programming tool is conducive to study of the learner to the function logic in programming;Holding source code simultaneously The graphical representation of row result makes user that can get information about code implementing result, also brings enjoyment to the process of study, enhances The usage experience of user.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein. Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize program editing device according to an embodiment of the present invention, electronic equipment With some or all functions of some or all components in computer readable storage medium.The present invention is also implemented as For execute method as described herein some or all device or device program (for example, computer program and Computer program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have The form of one or more signal.Such signal can be downloaded from an internet website to obtain, or on the carrier signal It provides, or is provided in any other form.
For example, Fig. 4 shows the structural schematic diagram of electronic equipment according to an embodiment of the invention.The electronic equipment 400 conventionally comprise processor 410 and are arranged to the memory 420 of storage computer executable instructions (program code).It deposits Reservoir 420 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk or ROM etc Electronic memory.Memory 420 has storage for executing any method and step in shown in FIG. 1 and each embodiment The memory space 430 of program code 440.For example, the memory space 430 for program code may include being respectively used to realization Each program code 440 of various steps in the method in face.These program codes can be from one or more computer journey It reads or is written in sequence product in this one or more computer program product.These computer program products include all Such as hard disk, the program code carrier of compact-disc (CD), storage card or floppy disk etc.Such computer program product is usually Such as computer readable storage medium 500 described in Fig. 5.The computer readable storage medium 500 can have the electronics with Fig. 4 Memory paragraph, the memory space etc. of 420 similar arrangement of memory in equipment.Program code can be pressed for example in a suitable form Contracting.In general, storage unit is stored with the program code 510 for executing steps of a method in accordance with the invention, it can by such as The program code that 410 etc processor is read causes the electronic equipment to be held when these program codes are run by electronic equipment Each step in row method described above.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
Embodiment of the invention discloses A1, a kind of program editing method, which is characterized in that the described method includes:
Receive the source code of the specified programming language of input;
In response to executing request to the source code, the source code is parsed using specified compiler, is obtained Parse code;
The corresponding each graphical code block of graphic programming tool is packaged into the script function that the compiler is supported;
According to the parsing code, corresponding script function is called, obtains the corresponding graphical code block of the script function Implementing result;
According to implementing result described in the graphic programming tool display.
A2, method as described in a1, which is characterized in that the method also includes:
The asynchronous script function of synchronization call is defined in the way of communicating bridge joint by specified compiler;
It is described that corresponding script function is called according to the parsing code, obtain the script function corresponding graphical generation The implementing result of code block includes:
According to the parsing code, corresponding script function and the asynchronous script function of the synchronization call are called, is obtained The sequence implementing result of the corresponding multiple graphical code blocks of script function.
A3, method as described in a1, which is characterized in that the method also includes:
Establish the corresponding relationship between specified script event and the specified function of specified programming language;
When listening to specified script event and being triggered, according to corresponding relationship, the finger of corresponding specified programming language is called Determine function and executes.
A4, the method as described in A3, which is characterized in that it is described according to corresponding relationship, call specified programming language accordingly Specified function and execution include:
The specified function of corresponding specified programming language is called by the CallsimAsync for specifying compiler to provide and is held Row.
A5, method as described in a1, which is characterized in that the method also includes:
Judge in the parsing code whether API Function;
If being judged as YES, corresponding operation is carried out according to the type of the api function of calling.
A6, method as described in a5, which is characterized in that if the api function of the calling is that graphic programming tool is corresponding The api function that is packaged into of graphical code block, then carrying out corresponding operation according to the type of the api function of calling includes:
According to the api function of calling, corresponding interactive interface is obtained.
A7, method as described in a5, which is characterized in that if the api function of the calling is third-party api function, Carrying out corresponding operation according to the type of the api function of calling includes:
The acquisition request of corresponding data is sent to corresponding third-party server;Receive what the third-party server returned Corresponding data.
A8, method as described in a5, which is characterized in that if the api function of the calling is that other programming languages are supported Class libraries, then carrying out corresponding operation according to the type of the api function of calling includes:
According to the api function of calling, corresponding object in the class libraries of other programming languages support is obtained.
A9, the method as described in any one of A1-A7, which is characterized in that
The specified programming language includes Python;C Plus Plus;Java language;JavaScript language;
The graphic programming tool includes Scratch programming tool.
A10, the method as described in A9, which is characterized in that when the specified programming language is Python, the finger Determining compiler includes Skulpt compiler.
A11, method as described in a1, which is characterized in that it is described receive input specified programming language source code it Before, the method also includes:
In response to accessing the request of appointed website, adding for the program editor based on specified programming language is sent to server Carry request;
The load information for receiving the program editor based on specified programming language that the server returns, according to receiving Load information load the program editor based on specified programming language.
The embodiment of the present invention also discloses B12, a kind of program editing device, which is characterized in that described device includes:
Receiving unit, the source code of the specified programming language suitable for receiving input;
Resolution unit is adapted for executing request to the source code, using specified compiler to the source code It is parsed, obtains parsing code;
Encapsulation unit is supported suitable for the corresponding each graphical code block of graphic programming tool is packaged into the compiler Script function;
Execution unit is suitable for calling corresponding script function according to the parsing code, it is corresponding obtaining the script function The implementing result of graphical code block;
Display unit is suitable for the implementing result according to the graphic programming tool display.
B13, as described in B12 device, which is characterized in that described device further include:
Definition unit, suitable for defining the asynchronous script letter of synchronization call in the way of communicating bridge joint by specified compiler Number;
The execution unit is suitable for calling corresponding script function and the synchronization call different according to the parsing code The script function of step obtains the sequence implementing result of the corresponding multiple graphical code blocks of script function.
B14, as described in B12 device, which is characterized in that described device further include:
Unit is established, the corresponding relationship being adapted to set up between specified script event and the specified function of specified programming language;
The execution unit, suitable for according to corresponding relationship, calling corresponding when listening to specified script event and being triggered Specify the specified function of programming language and execution.
B15, the device as described in B14, which is characterized in that
The execution unit calls specified programming language accordingly suitable for the CallsimAsync by specifying compiler to provide The specified function of speech and execution.
B16, as described in B12 device, which is characterized in that described device further include:
Judging unit, be suitable for judging in the parsing code whether API Function;If being judged as YES, according to calling The type of api function carries out corresponding operation.
B17, the device as described in B15, which is characterized in that
The judging unit, if the api function suitable for the calling is the corresponding graphical code of graphic programming tool The api function that block is packaged into obtains corresponding interactive interface according to the api function of calling.
B18, the device as described in B15, which is characterized in that
The judging unit, if the api function suitable for the calling is third-party api function, to corresponding third party The acquisition request of server transmission corresponding data;Receive the corresponding data that the third-party server returns.
B19, the device as described in B15, which is characterized in that
The judging unit, if the api function suitable for the calling is the class libraries that other programming languages are supported, according to tune Api function obtains corresponding object in the class libraries of other programming languages support.
B20, the device as described in any one of B12-B19, which is characterized in that
The specified programming language includes Python;C Plus Plus;Java language;JavaScript language;
The graphic programming tool includes Scratch programming tool.
B21, the device as described in B20, which is characterized in that described when the specified programming language is Python Specified compiler includes Skulpt compiler.
B22, as described in B12 device, which is characterized in that described device further include:
Loading unit, suitable for being specified in response to accessing before the source code of the specified programming language for receiving input The request of website sends the load request of the program editor based on specified programming language to server;Receive the server The load information of the program editor based on specified programming language returned, according to the load information load received based on specified The program editor of programming language.
The embodiment of the present invention also discloses C23, a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed It manages device and executes the method according to any one of A1~A11.
The embodiment of the present invention also discloses D24, a kind of computer readable storage medium, which is characterized in that the calculating Machine readable storage medium storing program for executing stores one or more programs, one or more of programs when being executed by a processor, realize A1~ Method described in any one of A11.

Claims (10)

1. a kind of program editing method, which is characterized in that the described method includes:
Receive the source code of the specified programming language of input;
In response to executing request to the source code, the source code is parsed using specified compiler, is parsed Code;
The corresponding each graphical code block of graphic programming tool is packaged into the script function that the compiler is supported;
According to the parsing code, corresponding script function is called, obtains holding for the corresponding graphical code block of the script function Row result;
According to implementing result described in the graphic programming tool display.
2. the method as described in claim 1, which is characterized in that the method also includes:
The asynchronous script function of synchronization call is defined in the way of communicating bridge joint by specified compiler;
It is described that corresponding script function is called according to the parsing code, obtain the corresponding graphical code block of the script function Implementing result include:
According to the parsing code, corresponding script function and the asynchronous script function of the synchronization call are called, script is obtained The sequence implementing result of the corresponding multiple graphical code blocks of function.
3. the method as described in claim 1, which is characterized in that the method also includes:
Establish the corresponding relationship between specified script event and the specified function of specified programming language;
When listening to specified script event and being triggered, according to corresponding relationship, the specified letter of corresponding specified programming language is called It counts and executes.
4. method as claimed in claim 3, which is characterized in that it is described according to corresponding relationship, call specified programming language accordingly The specified function of speech and execution includes:
Specified function and the execution of corresponding specified programming language are called by the CallsimAsync for specifying compiler to provide.
5. a kind of program editing device, which is characterized in that described device includes:
Receiving unit, the source code of the specified programming language suitable for receiving input;
Resolution unit is adapted for executing request to the source code, is carried out using specified compiler to the source code Parsing obtains parsing code;
Encapsulation unit, suitable for the corresponding each graphical code block of graphic programming tool is packaged into the foot that the compiler is supported This function;
Execution unit is suitable for calling corresponding script function according to the parsing code, obtaining the corresponding figure of the script function Change the implementing result of code block;
Display unit is suitable for the implementing result according to the graphic programming tool display.
6. device as claimed in claim 5, which is characterized in that described device further include:
Definition unit, suitable for defining the asynchronous script function of synchronization call in the way of communicating bridge joint by specified compiler;
The execution unit is suitable for calling corresponding script function and the synchronization call asynchronous according to the parsing code Script function obtains the sequence implementing result of the corresponding multiple graphical code blocks of script function.
7. device as claimed in claim 5, which is characterized in that described device further include:
Unit is established, the corresponding relationship being adapted to set up between specified script event and the specified function of specified programming language;
The execution unit, suitable for according to corresponding relationship, calling corresponding specified when listening to specified script event and being triggered The specified function of programming language and execution.
8. device as claimed in claim 7, which is characterized in that
The execution unit calls corresponding specified programming language suitable for the CallsimAsync by specifying compiler to provide Specified function simultaneously executes.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processor when executed Execute method according to any one of claims 1 to 4.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage is one or more Program, one or more of programs when being executed by a processor, realize method according to any one of claims 1 to 4.
CN201910272610.XA 2019-04-04 2019-04-04 Program editing method and device Active CN110134386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910272610.XA CN110134386B (en) 2019-04-04 2019-04-04 Program editing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910272610.XA CN110134386B (en) 2019-04-04 2019-04-04 Program editing method and device

Publications (2)

Publication Number Publication Date
CN110134386A true CN110134386A (en) 2019-08-16
CN110134386B CN110134386B (en) 2023-04-18

Family

ID=67569444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910272610.XA Active CN110134386B (en) 2019-04-04 2019-04-04 Program editing method and device

Country Status (1)

Country Link
CN (1) CN110134386B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597501A (en) * 2019-08-09 2019-12-20 苏宁金融科技(南京)有限公司 Natural language programming method and device based on strong static scripting language
CN110647324A (en) * 2019-09-18 2020-01-03 奇码(杭州)教育科技有限公司 Python and Scratch interactive programming method and electronic equipment
CN111061462A (en) * 2019-12-20 2020-04-24 阿哈王国(武汉)教育科技有限公司 Method for writing war chess AI by using Python language
CN111124383A (en) * 2019-12-20 2020-05-08 阿哈王国(武汉)教育科技有限公司 Method for online project creation by using Python language
CN111475155A (en) * 2020-03-26 2020-07-31 哈尔滨工业大学 Graphic block-based graphical programming method for robot interaction
CN111813411A (en) * 2020-06-13 2020-10-23 立乐教育科技(上海)有限公司 Python script language-based instruction method
CN111857693A (en) * 2020-05-29 2020-10-30 北京编程猫科技有限公司 Method and device for calling third-party function based on imaging programming
CN112328238A (en) * 2021-01-05 2021-02-05 深圳点猫科技有限公司 Building block code execution control method, system and storage medium
CN112667974A (en) * 2020-12-15 2021-04-16 深圳市优必选科技股份有限公司 Graphical programming code protection method and device and terminal equipment
WO2021218379A1 (en) * 2020-04-28 2021-11-04 上海商汤临港智能科技有限公司 Multimedia interaction method, apparatus and device, and storage medium
CN116400927A (en) * 2023-04-18 2023-07-07 北京思明启创科技有限公司 Code block translation method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060225053A1 (en) * 2004-10-21 2006-10-05 Microsoft Corporation Programming language improvements
US20080022259A1 (en) * 2006-07-24 2008-01-24 Macklem Grant V Automatic Conversion of a Textual Language into a Graphical Program Representation
CN102999370A (en) * 2011-09-16 2013-03-27 腾讯科技(深圳)有限公司 Method and system for executing script
CN103023765A (en) * 2012-12-04 2013-04-03 杭州迪普科技有限公司 Message processing method and message processing device based on scripting language
CN104461575A (en) * 2014-12-26 2015-03-25 北京华电万通科技有限公司 Device and method for JavaScript native interface calling conducted by crossing mobile operating system platform
US20160246622A1 (en) * 2015-02-23 2016-08-25 Karlen Simonyan Method and system for implementing invocation stubs for the application programming interfaces embedding with function overload resolution for dynamic computer programming languages
CN106469051A (en) * 2015-08-19 2017-03-01 阿里巴巴集团控股有限公司 Object transmitting method and device
US20180285084A1 (en) * 2017-04-03 2018-10-04 Innovation First, Inc. Mixed mode programming
CN109240679A (en) * 2018-07-24 2019-01-18 阿里巴巴集团控股有限公司 The graphic method and device of script file
CN109254787A (en) * 2018-07-18 2019-01-22 东软集团股份有限公司 Service logic variation, device, storage medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060225053A1 (en) * 2004-10-21 2006-10-05 Microsoft Corporation Programming language improvements
US20080022259A1 (en) * 2006-07-24 2008-01-24 Macklem Grant V Automatic Conversion of a Textual Language into a Graphical Program Representation
CN102999370A (en) * 2011-09-16 2013-03-27 腾讯科技(深圳)有限公司 Method and system for executing script
CN103023765A (en) * 2012-12-04 2013-04-03 杭州迪普科技有限公司 Message processing method and message processing device based on scripting language
CN104461575A (en) * 2014-12-26 2015-03-25 北京华电万通科技有限公司 Device and method for JavaScript native interface calling conducted by crossing mobile operating system platform
US20160246622A1 (en) * 2015-02-23 2016-08-25 Karlen Simonyan Method and system for implementing invocation stubs for the application programming interfaces embedding with function overload resolution for dynamic computer programming languages
CN106469051A (en) * 2015-08-19 2017-03-01 阿里巴巴集团控股有限公司 Object transmitting method and device
US20180285084A1 (en) * 2017-04-03 2018-10-04 Innovation First, Inc. Mixed mode programming
CN109254787A (en) * 2018-07-18 2019-01-22 东软集团股份有限公司 Service logic variation, device, storage medium and electronic equipment
CN109240679A (en) * 2018-07-24 2019-01-18 阿里巴巴集团控股有限公司 The graphic method and device of script file

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597501B (en) * 2019-08-09 2022-10-18 苏宁金融科技(南京)有限公司 Natural language programming method and device based on strong static scripting language
CN110597501A (en) * 2019-08-09 2019-12-20 苏宁金融科技(南京)有限公司 Natural language programming method and device based on strong static scripting language
CN110647324A (en) * 2019-09-18 2020-01-03 奇码(杭州)教育科技有限公司 Python and Scratch interactive programming method and electronic equipment
CN111061462A (en) * 2019-12-20 2020-04-24 阿哈王国(武汉)教育科技有限公司 Method for writing war chess AI by using Python language
CN111124383A (en) * 2019-12-20 2020-05-08 阿哈王国(武汉)教育科技有限公司 Method for online project creation by using Python language
CN111475155B (en) * 2020-03-26 2023-05-09 哈尔滨工业大学 Graphical programming method for robot interaction based on image blocks
CN111475155A (en) * 2020-03-26 2020-07-31 哈尔滨工业大学 Graphic block-based graphical programming method for robot interaction
WO2021218379A1 (en) * 2020-04-28 2021-11-04 上海商汤临港智能科技有限公司 Multimedia interaction method, apparatus and device, and storage medium
CN111857693A (en) * 2020-05-29 2020-10-30 北京编程猫科技有限公司 Method and device for calling third-party function based on imaging programming
CN111857693B (en) * 2020-05-29 2023-12-26 北京编程猫科技有限公司 Method and device for calling third party function based on imaging programming
CN111813411A (en) * 2020-06-13 2020-10-23 立乐教育科技(上海)有限公司 Python script language-based instruction method
CN112667974A (en) * 2020-12-15 2021-04-16 深圳市优必选科技股份有限公司 Graphical programming code protection method and device and terminal equipment
CN112328238A (en) * 2021-01-05 2021-02-05 深圳点猫科技有限公司 Building block code execution control method, system and storage medium
CN112328238B (en) * 2021-01-05 2021-03-30 深圳点猫科技有限公司 Building block code execution control method, system and storage medium
CN116400927A (en) * 2023-04-18 2023-07-07 北京思明启创科技有限公司 Code block translation method and device, electronic equipment and storage medium
CN116400927B (en) * 2023-04-18 2024-01-26 北京思明启创科技有限公司 Code block translation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110134386B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN110134386A (en) A kind of program editing method and device
CN107291480B (en) Function calling method and device
CN110531962B (en) Development processing method and device for applet and computer readable storage medium
US20130298110A1 (en) Software Visualization Using Code Coverage Information
CN108932194A (en) Automated testing method, device, system, medium and electronic equipment
CN109471622A (en) A kind of program editing method and device
CN108132809A (en) Method, apparatus, terminal and the storage medium of loading
CN107832059A (en) A kind of code Static Analysis Method and device based on Makefile
CN109918314A (en) Test method and device on mobile terminal, electronic equipment, storage medium
CN108197034A (en) A kind of application testing method, server and system
CN109525584A (en) A method of the building cross-platform polymorphic type application container in mobile terminal
CN108654090A (en) The method and device that operating system is interacted with game application
CN109947624A (en) Method for monitoring state and device
CN112558953A (en) Programming implementation method, device and equipment based on graphical editor
CN104915199B (en) A kind of method and apparatus that Flash projects are converted to Html5 projects
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN114895935A (en) Method and device for flashing vehicle ECU, electronic equipment and storage medium
CN110990001A (en) IVR (Interactive Voice response) process execution method and device
CN108153667A (en) Automated testing method, apparatus and system
CN106528206A (en) Application starting control method and apparatus, and application installation package reinforcement apparatus
CN106815037A (en) The execution method and device of application function
CN112988588A (en) Client software debugging method and device, storage medium and electronic equipment
CN113515286A (en) Applet generating and running method, device, equipment and storage medium
CN107291619A (en) EMS memory occupation analysis method and device
CN107239265B (en) Binding method and device of Java function and C function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant