OBTAINING CORRECT COMPILE RESULTS BY ABSORBING MISMATCHES BETWEEN DATA TYPES REPRESENTATIONS

Patent №

US 9,823,910

Granted

2017-11-21

Filed 2016

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION

AI components

3

nlp · kr · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

15233800

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.

Natural languageKnowledge representationAI hardwareG06F 8/42G06F 8/427G06F 8/43G06F 8/437G06F 8/443

AI classification

Natural language1.00
Knowledge representation0.99
AI hardware0.98
Vision0.02
Evolutionary computation0.00
Speech0.00
Planning0.00
Machine learning0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 393980788

Assignors

HORIE, MICHIHIRO, HORII, HIROSHI H., KAWACHIYA, KIYOKUNI, TAKEUCHI, MIKIO

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC