MULTILINGUAL COMPILER SYSTEM AND METHOD
First Claim
Patent Images
1. A method for enabling multi-lingual programming using a programming language which has more than one native human language used in defining said programming language vocabulary, said method comprising:
- parsing said input source code program;
examining each token during the parsing act and determining if the statement is part of the programming language vocabulary or part of program documentation;
if said token is part of said program language vocabulary, translating said token using a pre-defined vocabulary translation database;
if said token is part of said program documentation, translating said token using a pre-configured phrase translation module;
if said token is not part of said program language vocabulary or part of said program documentation, copying said token back to file unchanged;
generating a new target language source code.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and system are provided for creating multilingual computer programs. Programmers use their own native language in writing software instructions and commands and the invention translates those either to another native language or to a native-language-independent representation. The invention supports having a single computer program with multiple native languages.
85 Citations
16 Claims
-
1. A method for enabling multi-lingual programming using a programming language which has more than one native human language used in defining said programming language vocabulary, said method comprising:
-
parsing said input source code program;
examining each token during the parsing act and determining if the statement is part of the programming language vocabulary or part of program documentation;
if said token is part of said program language vocabulary, translating said token using a pre-defined vocabulary translation database;
if said token is part of said program documentation, translating said token using a pre-configured phrase translation module;
if said token is not part of said program language vocabulary or part of said program documentation, copying said token back to file unchanged;
generating a new target language source code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A front end compiler system for supporting multi-lingual programming, said front end system comprising:
-
a translator module that converts an input source code program written in a specific native language vocabulary to either another native language vocabulary or to a native-language-independent representation;
a programming language vocabulary translation database, which stores a bi-directional mapping between said native language vocabulary for each supported human language and said native-language-independent representation. - View Dependent Claims (10, 11)
-
-
12. A computer system having at least a processor, accessible memory, and an accessible display, the computer system comprising;
-
means for storing a bi-directional mapping between a native language vocabulary for each supported human language and a native-language-independent representation. means for translating an input source code program written in a specific native language vocabulary to either another native language vocabulary or to a native-language-independent representation. - View Dependent Claims (13)
-
-
14. A method for supporting multi-lingual programming, comprising:
-
defining a language grammar;
defining an equivalent set of native-language-dependent representation for each native language to be supported;
establishing a mapping between said native-language-dependent representation and said grammar. - View Dependent Claims (15, 16)
-
Specification