From b7687697d1da221c8c5d52d34580a39c6370fbb3 Mon Sep 17 00:00:00 2001 From: Dmytro Lytovchenko Date: Wed, 26 Apr 2017 03:05:56 +0200 Subject: [PATCH] Minor: monospaced font uses backticks not pluses --- chapters/beam_modules.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapters/beam_modules.asciidoc b/chapters/beam_modules.asciidoc index 5f800b6..47ff9b3 100644 --- a/chapters/beam_modules.asciidoc +++ b/chapters/beam_modules.asciidoc @@ -134,7 +134,7 @@ ExportChunk = << ---- -+FunctionName+ is the index in the atom table. +`FunctionName` is the index in the atom table. We can extend our parse_chunk function by adding the following clause after the atom handling clause: @@ -486,7 +486,7 @@ TODO [[SEC-BeamModulesCTE]] -=== Compact Term Encoding +==== Compact Term Encoding Let's look at the algorithm, used by `beam_asm:encode`. BEAM files use a special encoding to store simple terms in BEAM file in a space-efficient way. It is different from memory term layout, used by the VM. @@ -551,7 +551,7 @@ If the following value is greater than 8 bytes, then all bits 3-4-5-6-7 will be 1 1 1 1 1 | Tag || (Size-9) || ---- -==== Tag Types +===== Tag Types When reading compact term format, the resulting integer may be interpreted differently based on what is the value of `Tag`.