Markus Mottl avatar Markus Mottl committed 94e0f3c

Updated documentation about lexical conventions

Comments (0)

Files changed (2)

base/sexplib/README

-    
+      
                                         
                           README: library "Sexplib"
                           *************************
 4.1  Lexical conventions of S-expression
 ========================================
   
-  Whitespace, which consists of space, newline, carriage return, horizontal
-tab, and form feed, is ignored unless within an OCaml-string, where it is
-treated according to OCaml-conventions. The left parenthesis opens a new list,
-the right one closes it again. Lists can be empty. The double quote denotes
-the beginning and end of a string following the lexical conventions of OCaml
-(see the OCaml-manual for details). All characters other than double quotes,
-left- and right parentheses, whitespace, and comment-introducing characters or
-sequences (see next paragraph) are considered part of a contiguous string.
+  Whitespace, which consists of space, newline, horizontal tab, and form feed,
+is ignored unless within an OCaml-string, where it is treated according to
+OCaml-conventions. The left parenthesis opens a new list, the right one closes
+it again. Lists can be empty. The double quote denotes the beginning and end
+of a string following the lexical conventions of OCaml (see the OCaml-manual
+for details). All characters other than double quotes, left- and right
+parentheses, whitespace, carriage return, and comment-introducing characters
+or sequences (see next paragraph) are considered part of a contiguous string.
   
   A line comment is introduced using a semicolon, which comments out all text
 up to the end of the next newline character. The sequence '%;' introduces an

base/sexplib/doc/README.tex

 
 \subsection{Lexical conventions of S-expression}
 
-Whitespace, which consists of space, newline, carriage return, horizontal tab,
-and form feed, is ignored unless within an OCaml-string, where it is treated
-according to OCaml-conventions.  The left parenthesis opens a new list, the
-right one closes it again.  Lists can be empty.  The double quote denotes
-the beginning and end of a string following the lexical conventions of OCaml
-(see the OCaml-manual for details).  All characters other than double quotes,
-left- and right parentheses, whitespace, and comment-introducing characters
+Whitespace, which consists of space, newline, horizontal tab, and form feed,
+is ignored unless within an OCaml-string, where it is treated according to
+OCaml-conventions.  The left parenthesis opens a new list, the right one closes
+it again.  Lists can be empty.  The double quote denotes the beginning and end
+of a string following the lexical conventions of OCaml (see the OCaml-manual
+for details).  All characters other than double quotes, left- and right
+parentheses, whitespace, carriage return, and comment-introducing characters
 or sequences (see next paragraph) are considered part of a contiguous string.\\
 \\
 A line comment is introduced using a semicolon, which comments out all
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.