IP Library Granted Patent US 9,158,505
Granted Patent B2
US 9,158,505 · App. 14/151,318 · Granted Oct 13, 2015

Specifying compiled language code in line with markup language code

Inventors: Benjamin F. Carter (Redmond, WA); Andrew M. Coates (Lynnwood, WA)
Assignee: Microsoft Technology Licensing, LLC
G06F8/30G06F8/41
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,158,505
App. No.
14/151,318
Granted
Oct 13, 2015
Kind
B2
Abstract

Compiled language code is specified in line with markup language code. A parsing component parses the code to extract the compiled language code and a compiler compiles it into binary form. The compiled code and the markup language code are provided to a runtime system.

Claims (50)

1. A computer-implemented method, comprising:

receiving first developer inputs authoring markup language code in a user interface (UI) markup file;

receiving second developer inputs authoring a compiled language code section in line with the markup language code in the UI markup file, the compiled language code section comprising compiled language code to be compiled by a compile system and being delineated from the markup language code by a set of compiled language code identifiers, the compiled language code identifiers identifying the compiled language code section;

generating the UI markup file with the markup language code and the compiled language code section in line with the markup language code and delineated from the markup language code by the compiled language code identifiers, in response to the first and second developer inputs; and

outputting the UI markup file for compiling of the compiled language code at the compile system.

2. The computer-implemented method of claim 1 wherein generating the UI markup file further comprises:

generating the UI markup file with the set of compiled language code identifiers comprising at least one tag that marks a beginning or an end of the compiled language code section.

3. The computer-implemented method of claim 1 wherein generating the UI markup file further comprises:

generating the UI markup file with the set of compiled language code identifiers each comprising a series of tags that mark a beginning and an end of the compiled language code section.

4. The computer-implemented method of claim 1 wherein generating the UI markup file comprises:

generating the compiled language code section as a single section that includes all of the compiled language code in the UI markup file.

5. The computer-implemented method of claim 1 wherein generating the UI markup file comprises:

generating a plurality of different compiled language code sections, each delineated by a corresponding set of compiled language code identifiers.

6. The computer-implemented method of claim 5 wherein generating each of the plurality of compiled language code sections comprises:

generating a trigger in a corresponding compiled language code section, the trigger defining when the corresponding compiled language code section is called by an application using the UI markup file.

7. The computer-implemented method of claim 1 and further comprising:

parsing the UI markup file to identify the compiled language code section for a compiler; and

compiling the compiled language code section to obtain compiled code.

8. The computer-implemented method of claim 7 and further comprising:

outputting the markup language code from the UI markup file and the compiled code for use by a runtime system.

9. The computer-implemented method of claim 8 wherein parsing comprises:

preprocessing the UI markup file to separate the compiled language code section from the markup language code; and

re-writing the UI markup file without the compiled language code section.

10. A development architecture, comprising:

a UI markup file that has markup language code and a compiled language code section that includes compiled language code in line with the markup language code, wherein a set of tags in the UI markup file identify a beginning of the compiled language code section and an end of the compiled language code section;

a parsing component that receives the UI markup file and that parses the UI markup file to identify the compiled language code based on the set of tags in the UI markup file;

a compiler that receives the compiled language code, identified by the parsing component, from the UI markup tile and compiles the compiled language code to obtain compiled code, wherein the markup language code and the compiled code are outputted for use by a runtime system; and

a computer processor that is a functional part of the architecture and is activated by the parsing component and the compiler to facilitate identifying the compiled language code in the UI markup file and compiling.

11. The development architecture of claim 10 and further comprising:

a code extraction component that extracts the compiled language code identified by the parsing component and provides it to the compiler.

12. The development architecture of claim 11 wherein the parsing component identifies, in the UI markup file, a plurality of different compiled language code sections, each marked in the UI markup file by a corresponding set of tags.

13. The development architecture of claim 12 wherein the parsing component identifies, in the UI markup file, a plurality of different compiled language code section triggers, each compiled language code section trigger identifying when a corresponding compiled language code section is to be run.

14. The development architecture of claim 10 , and further comprising:

a development system that receives developer inputs and generates the UI markup file based on the developer inputs.

15. A computer readable hardware storage medium that stores computer executable instructions which, when executed by a computer, cause the computer to perform a method, comprising:

generating a developer user interface that displays one or more developer user interface displays;

receiving developer inputs, through the developer user interface, that author markup language code and compiled language code in line with the markup language code;

generating a UI markup file that has the markup language code and the compiled language code in line with the markup language code, the UI markup file having a set of tags that delineate the compiled language code from the markup language code;

identifying the compiled language code by identifying the set of tags in the UI markup file;

compiling the compiled language code identified, to obtain compiled code; and

outputting the markup language code and the compiled code, respectively, for use by a runtime system.

16. The computer readable storage medium of claim 15 wherein identifying the compiled language code in the UI markup file comprises:

identifying a first set of tags in the UI markup tile that identifies a beginning of a compiled language code section that includes the compiled language code; and

identifying a second set of tags in the UI markup file that identifies an end of the compiled language code section in the UI markup file.

17. The computer readable storage medium of claim 16 and further comprising:

extracting the compiled language code identified in the UI markup file; and

providing it to a compiler that performs the compiling.

18. The computer readable storage medium of claim 16 wherein identifying the compiled code in the UI markup file, comprises:

identifying a plurality of different compiled language code sections, each marked in the UI markup file by a corresponding set of tags; and

identifying a plurality of different compiled language code section triggers, each compiled language code section trigger identifying when a corresponding compiled language code section is to be run.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 9, 2015
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 039025/0454 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 13, 2014
From: CARTER, BENJAMIN F.; COATES, ANDREW M.
To: MICROSOFT CORPORATION
Reel/Frame 031952/0795 →
Continuity (1)
Related Publication 20150193209A1 · Jul 9, 2015