From addb3fb0f5bed6043748c31205854ebaac40ec35 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Sun, 26 Apr 2015 23:53:38 -0700 Subject: [PATCH 1/2] Fixed a typo I removed the letter "s" from the phrase "uses a custom parsers" so that it now reads "uses a custom parser" --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f211fb6a..7b2e01f2 100644 --- a/README.rst +++ b/README.rst @@ -578,7 +578,7 @@ The reasons are: process actually modifies the input. Unable to use the regular parsing techniques, the browser utilizes a custom -parsers for parsing HTML. The parsing algorithm is described in +parser for parsing HTML. The parsing algorithm is described in detail by the HTML5 specification. The algorithm consists of two stages: tokenization and tree construction. From 5d7961363330314dca1b0c19cf3bad9bd2a69da9 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Mon, 27 Apr 2015 00:02:20 -0700 Subject: [PATCH 2/2] Changed "Javascript interpreter" to "Javascript engine" I think the phrase "Javascript engine" is more accurate than "Javascript interpreter" because certain Javascript engines, like the V8 engine used in Google Chrome, convert Javascript directly into machine code and do not utilize an interpreter at all. Source: https://developers.google.com/v8/design - Check the section titled "Dynamic Machine Code Generation" --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 7b2e01f2..ea2afb29 100644 --- a/README.rst +++ b/README.rst @@ -541,7 +541,7 @@ The components of the browsers are: boxes and windows. This backend exposes a generic interface that is not platform specific. Underneath it uses operating system user interface methods. -* **JavaScript interpreter:** The JavaScript interpreter is used to parse and +* **JavaScript engine:** The JavaScript engine is used to parse and execute JavaScript code. * **Data storage:** The data storage is a persistence layer. The browser may need to save all sorts of data locally, such as cookies. Browsers also