aboutsummaryrefslogtreecommitdiff
path: root/TextFormat.md
diff options
context:
space:
mode:
authorJF Bastien <jfb@chromium.org>2015-06-08 19:46:46 +0200
committerJF Bastien <jfb@chromium.org>2015-06-08 19:46:46 +0200
commit34c726663829d4e87f0129ea3c1213aa44a132d8 (patch)
tree9cc1e21fe84a018731652292a231e8a8c6bf0998 /TextFormat.md
parent93d806486f48bd1b792a8396d09096a65d0093a3 (diff)
downloadnanowasm-design-34c726663829d4e87f0129ea3c1213aa44a132d8.tar.gz
Un-bullet the text format.
Diffstat (limited to 'TextFormat.md')
-rw-r--r--TextFormat.md29
1 files changed, 16 insertions, 13 deletions
diff --git a/TextFormat.md b/TextFormat.md
index 1ce2bb4..0a64157 100644
--- a/TextFormat.md
+++ b/TextFormat.md
@@ -7,16 +7,19 @@ The purpose of this text format is to support:
(which is necessarily the case with the MVP).
* Writing WebAssembly code directly for reasons including pedagogical,
experimental, debugging, optimization, and testing of the spec itself.
-* The text format is equivalent and isomorphic to the
- [binary format](BinaryEncoding.md).
-* The text format will be standardized, but only for tooling purposes:
- * Compilers will support this format for `.S` and inline assembly.
- * Debuggers and profilers will present binary code using this textual format.
- * Browsers will not parse the textual format on regular web content in order
- to implement WebAssembly semantics.
-* Given that the code representation is actually an
- [Abstract Syntax Tree](ASTSemantics.md), the syntax would contain nested
- statements and expressions (instead of the linear list of instructions most
- assembly languages have).
-* There is no requirement to use JavaScript syntax; this format is not intended
- to be evaluated or translated directly into JavaScript.
+
+The text format is equivalent and isomorphic to the [binary format](BinaryEncoding.md).
+
+The text format will be standardized, but only for tooling purposes:
+* Compilers will support this format for `.S` and inline assembly.
+* Debuggers and profilers will present binary code using this textual format.
+* Browsers will not parse the textual format on regular web content in order to
+ implement WebAssembly semantics.
+
+Given that the code representation is actually an
+[Abstract Syntax Tree](ASTSemantics.md), the syntax would contain nested
+statements and expressions (instead of the linear list of instructions most
+assembly languages have).
+
+There is no requirement to use JavaScript syntax; this format is not intended to
+be evaluated or translated directly into JavaScript.