Invention Application
- Patent Title: CONCURRENT PARSING AND PROCESSING OF SERIAL LANGUAGE CODE
- Patent Title (中): 串行语言代码的并行处理和处理
-
Application No.: US15192153Application Date: 2016-06-24
-
Publication No.: US20160306786A1Publication Date: 2016-10-20
- Inventor: Christopher A. VICK , Bin Wang , Mohammad H. Reshadi
- Applicant: QUALCOMM Incorporated
- Main IPC: G06F17/27
- IPC: G06F17/27 ; G06F17/22

Abstract:
The aspects enable a processor to concurrently execute markup language code (e.g., HTML) having embedded scripting language code (e.g., JAVASCRIPT®) during a page load operation by a browser. A markup language parser parses markup language code until embedded scripting language code is encountered. The segment of embedded scripting language code is extracted for execution by a scripting language engine which proceeds concurrently with speculative parsing of the markup language code. Markup language code generated by execution of scripting language code is evaluated to determine if it is well formed, and a partial rollback of the markup language parse and re-parsing of portions of the markup language code is accomplished if not. Concurrent parsing of markup language code and execution of scripting language code, with partial roll back of the parsing process when necessary, continues until all markup language code has been parsed and all scripting language code has been executed.
Information query