Skip to content

Commit

Permalink
Added some new chapters.
Browse files Browse the repository at this point in the history
  • Loading branch information
happi committed Apr 7, 2017
1 parent 153c911 commit c9bd531
Show file tree
Hide file tree
Showing 10 changed files with 1,485 additions and 74 deletions.
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

ABFLAGS = --backend=docbook --doctype=book --attribute=revisionhistory
adocs = book.asciidoc \
beam.asciidoc \
beam_instructions.asciidoc \
beam_internal_instructions.asciidoc \
beam_modules.asciidoc \
Expand All @@ -11,11 +12,20 @@ adocs = book.asciidoc \
opcodes_doc.asciidoc \
preface.asciidoc \
processes.asciidoc \
scheduling.asciidoc \
type_system.asciidoc \
ap-beam_instructions.asciidoc \
ap-code_listings.asciidoc
# beam.asciidoc \
# erts-book.asciidoc \
ap-code_listings.asciidoc \
code/beam_modules_chapter/src/beamfile.erl \
code/compiler_chapter/json_tokens.png \
code/compiler_chapter/src/json_parser.erl \
code/compiler_chapter/src/json_test.erl \
code/compiler_chapter/src/json_tokens.xrl \
code/compiler_chapter/src/test.json \
code/compiler_chapter/src/world.erl \
code/memory_chapter/src/lb.erl \
code/memory_chapter/src/send.erl \
code/memory_chapter/src/share.erl


all: beam-book.pdf
Expand Down
24 changes: 12 additions & 12 deletions ap-code_listings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ include::code/compiler_chapter/src/json_parser.erl[]
include::code/compiler_chapter/src/json_test.erl[]
----

// [source,erlang]
// ----
// include::stack_machine_compiler.erl[]
// ----
[source,erlang]
----
include::code/beam_chapter/src/stack_machine_compiler.erl[]
----

// [source,c]
// ----
// include::vsm.c[]
// ----
[source,c]
----
include::code/beam_chapter/src/vsm.c[]
----

// [source,c]
// ----
// include::token_threaded_vsm.c[]
// ----
[source,c]
----
include::code/beam_chapter/src/token_threaded_vsm.c[]
----

// [source,erlang]
// ----
Expand Down
Loading

0 comments on commit c9bd531

Please sign in to comment.