Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

82 results about "Compilation error" patented technology

Compilation error refers to a state when a compiler fails to compile a piece of computer program source code, either due to errors in the code, or, more unusually, due to errors in the compiler itself. A compilation error message often helps programmers debugging the source code. Although the definitions of compilation and interpretation can be vague, generally compilation errors only refer to static compilation and not dynamic compilation. However, it is important to note that dynamic compilation can still technically have compilation errors, although many programmers and sources may identify them as run-time errors. Most just-in-time compilers, such as the Javascript V8 engine, ambiguously refer to compilation errors as syntax errors since they check for them at run time.

Compiler apparatus and compilation method

A compiler apparatus that is capable of generating instruction sequences for causing a processor with parallel processing capability to operate with lower power consumption is a compiler apparatus that translates a source program into a machine language program for the processor including a plurality of execution units which can execute instructions in parallel and a plurality of instruction issue units which issue the instructions executed respectively by the plurality of execution units, and includes: a parser unit operable to parse the source program; an intermediate code conversion unit operable to convert the parsed source program into intermediate codes; an optimization unit operable to optimize the intermediate codes so as to reduce a hamming distance between instructions placed in positions corresponding to the same instruction issue unit in consecutive instruction cycles, without changing dependency between the instructions corresponding to the intermediate codes; and a code generation unit operable to convert the optimized intermediate codes into machine language instructions.
Owner:SOCIONEXT INC

Evaluation of a code segment

Methods, systems, and media to test a code segment of a source file are disclosed. Various embodiments machine-render a source code skeleton in response to a selection of the code segment, incorporate the code segment into the source code skeleton to generate a temporary source file, insert a monitoring statement into the temporary source file, and compile the temporary source file into a compiled program to output a result. Embodiments may further include executing the compiled program and outputting the result. In addition, some embodiments also initiate compilation of the temporary source file, attempt to resolve a compilation error, and output the compilation error. Some embodiments terminate execution in response to selection of a cancel button. Further, some embodiments delete the temporary source file. Several embodiments also include a file creator, a code gatherer, a code generator, an adaptive compiler, a processor, and an output device.
Owner:IBM CORP

Detecting merge conflicts and compilation errors in a collaborative integrated development environment

A method, system, and computer program product for detecting merge conflicts and compilation errors in a collaborative integrated development environment are provided in the illustrative embodiments. Prior to at least one user committing a set of uncommitted changes associated with a source code to a repository, the computer receives the set of uncommitted changes associated with the source code. The computer creates at least one temporary branch corresponding to the set of uncommitted changes associated with the source code. The computer device merges the at least one temporary branch to corresponding portions of the source code. The computer determines whether a merge conflict has occurred. If the merge conflict occurred, the computer communicates a first notification to the at least one user, the first notification indicating the merge conflict.
Owner:KYNDRYL INC

Method and system for compilation error isolation, optimization and resolution

A method, system and computer program product for performing error correction are disclosed. The method includes performing on source code a selected compilation operation from among a set of compilation operations and, responsive to encountering an error in the selected compilation operation, running an error handler to isolate the error utilizing data logged for the compilation operation. Responsive to determining that the error handler has not sufficiently isolated the error, a source code modifier is run to modify a portion of the source code selected by reference to the data logged for the compilation operation.
Owner:IBM CORP

Framework for a software error inject tool

Provided are techniques for receiving an error inject script that describes one or more error inject scenarios that define under which conditions at least one error inject is to be executed and compiling the error inject script to output an error inject data structure. While executing code that includes the error inject, an indication that an event has been triggered is received, conditions defined in the one or more error inject scenarios are evaluated using the error inject data structure, and, for each of the conditions that evaluates to true, one or more actions defined in the error inject script for the condition are performed.
Owner:IBM CORP

User configurable device simulator with injection error capability

A data-processing apparatus, method and program product generally includes a graphical user interface, which is provided to generate a simulation of one or more target devices based one or more user inputs to the graphical user interface. The simulation of the target device(s) can be automatically generated device based on the particular user input(s) to the graphical user interface. A topology of the target device(s) can then be compiled based on the simulation of the target device(s). Such a topology is utilized for testing of the target device(s). The simulation of the device(s) can also be utilized to modify the target device(s) on a per-device basis. A script of errors is also compiled for injection into the target device(s) for testing of the target device(s). The target device can be, for example, an SAS device, an SMP device and / or an SATA device.
Owner:LSI CORPORATION

Compilation method for general standard test load spectrum of aero-engine

The invention discloses a compilation method for a general standard test load spectrum of an aero-engine. The method comprises the following main steps: (1) standardizing a mission profile load parameter; (2) generating a mission profile load parameter sequence; (3) generating a load parameter standard test spectrum of a single mission profile of the aero-engine; and (4) compiling the general standard test load spectrum of the aero-engine by frequency mixing of flight missions. The test load spectrum of the aero-engine, compiled with the method, can serve as a main part life test load of the aero-engine; and based on an original aero-engine load spectrum compilation technology, load requirements of an aircraft in all periods and test conditions during actual flight are comprehensively considered. The test load spectrum of the aero-engine, compiled based on the general standard test load spectrum of the aero-engine, can not only really reflect the change of the load parameter of the aero-engine along with the flight time but also simplify a test load spectrum compilation process and improve the working efficiency.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Method and process to automatically perform test builds or translated files for a software product

A method, apparatus, and computer program instructions for automatically performing test builds of natural language translated files for a software product. When a translated file is received from a translator, a test build of the translated file is executed in a translation test build environment, wherein the translation test build environment is separate from the main software product build environment. A determination is made as to whether the test build of the translated file is successful. If the test build is successful, the translated file is submitted to the main software product build environment. If the test build is unsuccessful, a log file containing error information is sent to the translator to allow the translator to fix compile errors identified in the translated file and resubmit the translated file to the translation test build environment.
Owner:IBM CORP

Compiler, compilation method, and compilation program

A compile converts a program having a multiple execution paths so as to expand a basic block on a specific execution path while maintaining the program integrity. The complier generates new basic blocks B103 and B104. The basic block B104 is composed of (i) statements generated by replacing replacement target variables in a partial source program (basic blocks B1-B7) on a hot path 200, and (ii) a branch instruction that includes a branch condition for executing the hot path, generated by modifying a branch instruction on the hot path 200. The basic block B103 is composed of statements for restoring restoration target variables out of the replacement target variables. The source program is then converted to execute, subsequently to the basic block B104, the basic block B103 if the branch instruction in the basic block B103 is true, and to execute the basic block B1 if false.
Owner:SOCIONEXT INC

Processing an object-oriented query to retrieve data from a data source

An object-oriented query to retrieve data from a data source stored on a data storage device connected to a computer is processed. One implementation involves receiving a Java Query Language (JQL) user query, compiling the JQL query using a Java compliant compiler, and detecting any compilation error due to a syntax error in the JQL query. If a compilation error is detected, then informing the user of the compilation error such that the user may correct the syntax error in the JQL query. Otherwise if a compilation error is not detected, then processing the JQL query for execution.
Owner:IBM CORP

Compiling system and method

InactiveCN101290581ASimplify compilation input operationsSimplify compilation monitoring operationsProgram controlMemory systemsCompilation errorClient-side
The invention relates to a system and a method for compilation. The system comprises an interface platform and a compilation sever, wherein the interface platform is used for providing a compilation task input interface and a processing state information output interface and for generating a task name according to an input compilation task; the compilation sever is used for analyzing the task name, acquiring a corresponding source code, carrying out compilation, generating the processing state information of the compilation task simultaneously and providing the processing state information for the interface platform. The method comprises the following steps of receiving the input compilation task, generating the task name according to the compilation task, analyzing the acquired task name to acquire the corresponding source code, compiling the source code and outputting the processing state information of the compilation task. In the technical proposal, the compilation task is received through the interface platform, and a compilation request is initiated by the interface platform in the form of the task name to carry out compilation, thus the input operation of compilation is simplified; the state information is processed and provided for a client in real time through the interface platform, which simplifies compilation monitoring operation and greatly saves human resources.
Owner:BEIJING XINWANG RUIJIE NETWORK TECH CO LTD

HLSL-based multi-platform multi-language cross compiler and compilation method

The invention discloses an HLSL-based multi-platform multi-language cross compiler and a compilation method. The compiler comprises a code processor, a lexical analyzer, a syntactic analyzer and a code generator, wherein the code processor is used for preprocessing an HLSL code; the lexical analyzer is used for carrying out lexical analysis on the preprocessed HLSL code so as to generate a mark; the syntactic analyzer is used for carrying out syntactic analysis on the generated mark so as to construct an abstract syntax tree; and the code generator is used for generating an intermediate code unrelated to platforms according to the abstract syntax tree and generating the intermediate code into a target language code. According to the HLSL-based multi-platform multi-language cross compiler and the compilation method, multi-platform multi-language cross compilation can be realized.
Owner:SNAIL GAMES

Method for compiling WebKit browser and device thereof

InactiveCN101937356AOvercome the technical flaw of compiling errorsImprove compilation efficiencyVersion controlProgram controlCompilation errorStatic library
The invention discloses a method for compiling WebKit browser and a device thereof for overcoming the technical defect of compiling error caused by restriction of the length of a command parameter list of a console in the prior compiling method. The method comprises the following steps: dividing a target file required for compiling the WebKit browser into at least two groups, and respectively generating a corresponding static library based on the target file contained in each group; generating a dynamic library by link of the generated static libraries; and generating the WebKit browser basedon the dynamic library. Therefore, the method overcomes the technical defect of compiling error caused by restriction of the length of the command parameter list of the console in the prior compilingmethod, improves the compiling efficiency without modifying the compiling environment, and has the advantages of simple implementation and low cost. The invention simultaneously discloses a WebKit browser compiling device.
Owner:QINGDAO HISENSE MOBILE COMM TECH CO LTD

Generation display method and device of compilation dependency relation tree

The embodiment of the invention provides a generation display method and a generation display device of a compilation dependency relation tree. The method comprises the steps of: as for a resource bundle in a software platform, determining the compiling level of the resource bundle according to the pre-generated dependency information in a resource table, corresponding to the resource bundle; determining the compilation dependency relation of an upper level and a lower level of the resource bundle according to the pre-generated result table, and dependency package index and output package index in a dependency table, corresponding to the resource bundle; and generating and displaying a compilation dependency relation tree of the software platform according to the respective compiling level of multiple resource bundles in the software platform and the compilation dependency relation of the upper level and the lower level. According to the compilation dependency relation tree, a user can easily determine the resource bundle to be compiled, the dependency package of each level for compiling and the compiling sequence of all dependency packages, therefore, the compiling efficiency is greatly improved, and the compilation error caused by dependency error or compiling sequence can be avoided.
Owner:PRANUS BEIJING TECH CO LTD

Obtaining correct compile results by absorbing mismatches between data types representations

Methods and a system are provided. A method includes implementing a function, which a compiler for a first language does not have, using a compiler for a second language. The implementing step includes generating, by the compiler for the first language, a first abstract syntax tree. The implementing step further includes converting, by a converter, the first abstract syntax tree to a second abstract syntax tree of the compiler for the second language using a conversion table from data representation types in the first language to data representation types in the second language. When a compilation error occurs, the implementing step also includes generating a special node for error processing in the second abstract syntax tree and storing an error token in the special node. When unparsing, the implementing step additionally includes outputting the error token, in the form of source code written in the first language.
Owner:IBM CORP

Intelligent platform management interface firmware architecture and method of building the same

The present invention relates to an intelligent platform management interface (IPMI) firmware architecture and method for building the same, applied in an IPMI hardware architecture. The method comprises steps of selecting the hardware interface device; using the source code corresponding to the selected hardware interface device to define the environmental parameter of the IPMI hardware architecture; compiling the source code or further with the customized code to form the firmware object code; and linking the firmware object code to the core code pre-stored in the memory for constituting an image executing module for building the IPMI firmware architecture. The method further comprises a step of selectively modifying the customized code corresponding to the additional hardware interface device or to correct a compiling error according to the hardware interface device after the compiling step if the compiling error occurs, and returning to the compiling step, i.e. so called “a single step debugging process”.
Owner:ATEN INT CO

Compiler, compiler apparatus and compilation method

An operator definition file 102 and the like included in a source program 101 and a compiler 100 that translates the source program 101 into a machine language program 105 are provided. The operator definition file 102 includes definitions of various fixed point type operators by class definitions. The compiler 100 can generate effectively advanced and specific instructions that a processor executes and make improvements through expanding functions and the like without repeating frequently upgrading of the version of the compiler itself. The compiler 100 is made up of an intermediate code generation unit 121 that generates intermediate codes, a machine language instruction substitution unit 122 that substitutes the intermediate codes referring to classes defined by the operator definition file 102 with machine language instructions and an optimization unit 130 that performs optimization targeting the intermediate codes including the substituted machine language instructions.
Owner:SOCIONEXT INC

Source code detection method and system

Embodiments of the invention disclose a source code detection method and system. A compilation server sends a generated new patch to a code auditing server; the code auditing server receives the new patch and then triggers a continuous integration server to perform source code grammar detection; the continuous integration server detects whether each segment of function of the new patch has a grammar error or not according to a preset rule; if the grammar error is detected by the continuous integration server, the compilation server is not triggered to perform compilation and the grammar error is fed back to the code auditing server; and if the grammar error is not detected by the continuous integration server, the compilation server is triggered to perform the compilation. Through the scheme, while manpower is released, the code efficiency can be improved, and the code quality can be ensured, so that the operation and maintenance work management level is further informatized, a software version is ensured to run securely and stably, and timely and secure delivery is ensured.
Owner:台州市吉吉知识产权运营有限公司

Path selection based on error analysis

Embodiments of the present invention include systems and methods for optimizing data flow in a network. The system for distributing data flow in a network includes a controller that receives, from a set of nodes coupled through the network, information of errors at the ports of each node through an input-output (IO) port. The controller compiles the information of errors to assign credits to links coupled to the ports; determines, based on the credits, how to distribute data flow in the network; generates a control signal for controlling the ports; and sends the control signal to the set of nodes through the IO port. The set of nodes controls the ports according to the control signal.
Owner:DELL PROD LP

Code reuse method and device

The invention provides a code reuse method and device. According to the method, after a code reuse command is received, a code reuse module corresponding to a code identifier in the code reuse commandis acquired from a pre-established code reuse library, and the code reuse module is loaded. By inputting the code reuse command, a code needing to be reused can be found, and the code is loaded afterbeing converted according to designated rules; and since the operation of manually copying the code does not exist, the problem that a compiling error is caused by omission of a part of the code in the copying process is avoided, simple operation of code reuse and improvement in writing efficiency are realized, code reuse is centralized into the code reuse library, centralization of data is realized, and the situation that the data is distributed in all programs and is uneasy to manage and retrieve is avoided. Code styles are unified in the code reuse library, one modification can be used atmultiple positions, and maintenance cost is reduced.
Owner:BANK OF CHINA

Compile-time interpretable code error detection

The facilitation of error detection in interpretable code prior to run-time of the interpretable code. Upon accessing an interpretable command, corresponding structural rules for the interpretable command are used to automatically formulate a compilable linkable representation of the interpretable command that conforms to the construction rules. Source code may then be formulated that, when compiled, is linked to the compilable linkable representation of the interpretable command. If there are compilation errors, those errors may be discovered at compilation-time, rather than waiting until run-time. On the other hand, if there are no compilation errors, the compiled object may be executed to thereby invoke the interpretable command.
Owner:MICROSOFT TECH LICENSING LLC
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
Eureka Blog
Learn More
PatSnap group products