Script editing method and device, computer equipment and readable storage medium
A computer and scripting technology, applied in computing, software engineering design, instruments, etc., can solve problems such as the inability to support multi-script and multi-language program writing and running, and difficulty in script reuse
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] This embodiment provides a script editing method, which is applied to user script editing and running, such as figure 1 As shown, the editing method of the script includes the following steps:
[0038] S11 , analyzing the script object, identifying the script language environment corresponding to the script object, and assigning a corresponding running environment to the script object.
[0039]Exemplarily, the script object can be obtained by uploading or online editing. Wherein the script object can include multiple script files, for example, multiple script files written in the Java language can be packaged as a jar package for uploading; multiple scripts written in the Python language can also be packaged as a zip package for uploading, and this application is not limited to this , those skilled in the art can determine according to actual needs. The server may scan and analyze the acquired script object, determine the script language of the script object, and assi...
Embodiment 2
[0077] This embodiment provides a script editing device, which is applied to user script editing and running, such as Figure 13 As shown, the editor means of this script include:
[0078]The identification module 21 is configured to analyze the script object, identify the script language environment corresponding to the script object, and assign the corresponding operating environment to the script object. For details, refer to the relevant description of step S11 corresponding to the above method embodiment, and details are not repeated here.
[0079] The determining module 22 is configured to determine public parameters according to input parameters of script objects. For details, refer to the relevant description of step S12 corresponding to the above method embodiment, which will not be repeated here.
[0080] The generation module 23 is used to save the script object as a script tool module according to the running environment and public parameters. For details, refer...
Embodiment 3
[0101] The embodiment of the present invention also provides a computer device, such as Figure 14 As shown, the device includes a processor 31 and a memory 32, wherein the processor 31 and the memory 32 can be connected via a bus or in other ways, Figure 14 Take connection via bus as an example.
[0102] The processor 31 may be a central processing unit (Central Processing Unit, CPU). Processor 31 can also be other general-purpose processors, digital signal processor (Digital Signal Processor, DSP), graphics processing unit (Graphics Processing Unit, GPU), embedded neural network processor (Neural-network Processing Unit, NPU) or other Dedicated deep learning coprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


