IP Library Granted Patent US 9,753,709
Granted Patent B2
US 9,753,709 · App. 14/063,794 · Granted Sep 5, 2017

Cobol to bytecode translation

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,753,709
App. No.
14/063,794
Granted
Sep 5, 2017
Kind
B2
Abstract

A system that translates source code of a compiled high level language into bytecode. Compiled languages are so named because their implementations are typically compilers that generate machine code. The described system takes source code of the compiled high level language and translates it into bytecode. The bytecode can be optimized with control flow analysis and method splitting.

Claims (11)

1. A system that translates source code of a compiled high level language into bytecode, comprising:

a processor and a memory, wherein the memory comprises a compiler, and wherein the compiler comprises:

a front end that analyzes the source code to build an internal representation of the source code, wherein the internal representation of the source code comprises an abstract syntax tree (AST), and wherein the AST is built according to formal grammar rales of the compiled high level language, with each node of the AST denoting a construct occurring in the source code;

the front end that also refines the AST by performing semantic checks, wherein the semantic checks comprises type checking, object binding, and definite assignment; and

a bytecode generator that translates the internal representation of the source code into bytecode, wherein the bytecode is not machine code and requires further processing in order to be executed, wherein the bytecode generator performs method splitting by converting a section of code into multiple smaller sections of code, and wherein the bytecode generator further splits the section of code into the multiple smaller sections of code by selecting portions of the section of code having jump instructions, generating a particular block of code storing a starting point and an ending point for each portion of the section of code having a particular jump instruction to segment each portion of the section of code into the particular block of code, creating a new method associated with that portion of the section of code based upon the particular block of code, and replacing each portion of the section of code's beginning at that portion of the section of code's starting point and ending at that portion of the section of code's ending point with a call to the new method associated with that portion of the section of code.

2. The system of claim 1 , wherein the further processing is performed by a virtual machine.

3. A method for translating source code of a compiled high level language into bytecode, comprising:

analyzing, by a front end comprised within a compiler, the source code to build an internal representation of the source code, wherein the internal representation of the source code comprises an abstract syntax tree (AST), and wherein the AST is built according to formal grammar rales of the compiled high level language, with each node of the AST denoting a construct occurring in the source code;

refining, by the front end comprised within the compiler, the AST by performing semantic checks, wherein the semantic checks comprises type checking, object binding, and definite assignment; and

translating, by a bytecode generator comprised within the compiler, the internal representation of the source code into bytecode, wherein the bytecode is not machine code and requires further processing in order to be executed, wherein the bytecode generator performs method splitting by converting a section of code into multiple smaller sections of code, and wherein the bytecode generator further splits the section of code into the multiple smaller sections of code by selecting portions of the section of code having jump instructions, generating a particular block of code storing a starting point and an ending point for each portion of the section of code having a particular jump instruction to segment each portion of the section of code into the particular block of code, creating a new method associated with that portion of the section of code based upon the particular block of code, and replacing each portion of the section of code's beginning at that portion of the section of code's starting point and ending at that portion of the section of code's ending point with a call to the new method associated with that portion of the section of code.

4. The method of claim 3 , wherein the further processing is performed by a virtual machine.

Assignments (7)
RELEASE OF SECURITY INTEREST REEL/FRAME 044183/0718 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: MICRO FOCUS LLC (F/K/A ENTIT SOFTWARE LLC); BORLAND SOFTWARE CORPORATION; MICRO FOCUS (US), INC.; SERENA SOFTWARE, INC; ATTACHMATE CORPORATION; MICRO FOCUS SOFTWARE INC. (F/K/A NOVELL, INC.); NETIQ CORPORATION
Reel/Frame 062746/0399 →
RELEASE OF SECURITY INTEREST REEL/FRAME 035656/0251 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: BORLAND SOFTWARE CORPORATION; ATTACHMATE CORPORATION; NETIQ CORPORATION; MICRO FOCUS (US), INC.; MICRO FOCUS SOFTWARE INC. (F/K/A NOVELL, INC.)
Reel/Frame 062623/0009 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT TYPO IN APPLICATION NUMBER 10708121 WHICH SHOULD BE 10708021 PREVIOUSLY RECORDED ON REEL 042388 FRAME 0386. ASSIGNOR(S) HEREBY CONFIRMS THE NOTICE OF SUCCESSION OF AGENCY. Recorded Jul 26, 2018
From: BANK OF AMERICA, N.A., AS PRIOR AGENT
To: JPMORGAN CHASE BANK, N.A., AS SUCCESSOR AGENT
Reel/Frame 048793/0832 →
SECURITY INTEREST Recorded Oct 11, 2017
From: ATTACHMATE CORPORATION; BORLAND SOFTWARE CORPORATION; NETIQ CORPORATION; MICRO FOCUS (US), INC.; MICRO FOCUS SOFTWARE, INC.; ENTIT SOFTWARE LLC; ARCSIGHT, LLC; SERENA SOFTWARE, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 044183/0718 →
NOTICE OF SUCCESSION OF AGENCY Recorded May 2, 2017
From: BANK OF AMERICA, N.A., AS PRIOR AGENT
To: JPMORGAN CHASE BANK, N.A., AS SUCCESSOR AGENT
Reel/Frame 042388/0386 →
SECURITY INTEREST Recorded May 13, 2015
From: MICRO FOCUS (US), INC.; BORLAND SOFTWARE CORPORATION; ATTACHMATE CORPORATION; NETIQ CORPORATION; NOVELL, INC.
To: BANK OF AMERICA, N.A.
Reel/Frame 035656/0251 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 2, 2014
From: GENNARD, STEPHEN; SALES, ROBERT; TURNER, ALEX; WRIGHT, JEREMY
To: MICRO FOCUS (US), INC.
Reel/Frame 033875/0330 →