aboutsummaryrefslogtreecommitdiff
path: root/documentation/book
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/book')
-rw-r--r--documentation/book/the_lux_programming_language/appendix_b.md2
-rw-r--r--documentation/book/the_lux_programming_language/appendix_c.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_1.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_11.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_2.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_3.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_4.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_5.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_6.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_7.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_8.md2
-rw-r--r--documentation/book/the_lux_programming_language/chapter_9.md2
-rw-r--r--documentation/book/the_lux_programming_language/index.md43
13 files changed, 55 insertions, 12 deletions
diff --git a/documentation/book/the_lux_programming_language/appendix_b.md b/documentation/book/the_lux_programming_language/appendix_b.md
index 90ba1341a..3aaaa7a23 100644
--- a/documentation/book/the_lux_programming_language/appendix_b.md
+++ b/documentation/book/the_lux_programming_language/appendix_b.md
@@ -1,4 +1,4 @@
-# Appendix B: Math in Lux
+# Appendix B: Math
Math in Lux is a bit different from what you might be used to in other languages.
diff --git a/documentation/book/the_lux_programming_language/appendix_c.md b/documentation/book/the_lux_programming_language/appendix_c.md
index 01c8a77cb..e60f7bbe8 100644
--- a/documentation/book/the_lux_programming_language/appendix_c.md
+++ b/documentation/book/the_lux_programming_language/appendix_c.md
@@ -1,4 +1,4 @@
-# Appendix C: Pattern-Matching Macros
+# Appendix C: Pattern-matching macros
Pattern-matching is a native Lux feature, and yet `case` is a macro.
diff --git a/documentation/book/the_lux_programming_language/chapter_1.md b/documentation/book/the_lux_programming_language/chapter_1.md
index 9b670ef5c..6cd68614f 100644
--- a/documentation/book/the_lux_programming_language/chapter_1.md
+++ b/documentation/book/the_lux_programming_language/chapter_1.md
@@ -1,4 +1,4 @@
-# Chapter 1: Getting Started
+# Chapter 1: Getting started
_Where you will learn how to set up a development environment for Lux._
diff --git a/documentation/book/the_lux_programming_language/chapter_11.md b/documentation/book/the_lux_programming_language/chapter_11.md
index 1738431d7..ad4366a76 100644
--- a/documentation/book/the_lux_programming_language/chapter_11.md
+++ b/documentation/book/the_lux_programming_language/chapter_11.md
@@ -1,4 +1,4 @@
-# Chapter 11: Syntax Macros
+# Chapter 11: Syntax macros
_Where science turns into magic once more._
diff --git a/documentation/book/the_lux_programming_language/chapter_2.md b/documentation/book/the_lux_programming_language/chapter_2.md
index d396f0034..a58e7758f 100644
--- a/documentation/book/the_lux_programming_language/chapter_2.md
+++ b/documentation/book/the_lux_programming_language/chapter_2.md
@@ -1,4 +1,4 @@
-# Chapter 2: The Basics
+# Chapter 2: The basics
_Where you will learn the fundamentals of Lux programming._
diff --git a/documentation/book/the_lux_programming_language/chapter_3.md b/documentation/book/the_lux_programming_language/chapter_3.md
index 08187fdbe..a8e3c3247 100644
--- a/documentation/book/the_lux_programming_language/chapter_3.md
+++ b/documentation/book/the_lux_programming_language/chapter_3.md
@@ -1,4 +1,4 @@
-# Chapter 3: Syntax and Data-Types
+# Chapter 3: Syntax and data-types
_Where you will learn the what Lux code is made of._
diff --git a/documentation/book/the_lux_programming_language/chapter_4.md b/documentation/book/the_lux_programming_language/chapter_4.md
index 088e531f6..68feb8121 100644
--- a/documentation/book/the_lux_programming_language/chapter_4.md
+++ b/documentation/book/the_lux_programming_language/chapter_4.md
@@ -1,4 +1,4 @@
-# Chapter 4: Functions and Definitions
+# Chapter 4: Functions and definitions
_Where you will learn how to build your own Lux code._
diff --git a/documentation/book/the_lux_programming_language/chapter_5.md b/documentation/book/the_lux_programming_language/chapter_5.md
index 675726a4a..0d8b6e976 100644
--- a/documentation/book/the_lux_programming_language/chapter_5.md
+++ b/documentation/book/the_lux_programming_language/chapter_5.md
@@ -1,4 +1,4 @@
-# Chapter 5: Control Flow
+# Chapter 5: Control flow
_Where you will learn how to give intelligence to your code._
diff --git a/documentation/book/the_lux_programming_language/chapter_6.md b/documentation/book/the_lux_programming_language/chapter_6.md
index 97f934251..145aff4a1 100644
--- a/documentation/book/the_lux_programming_language/chapter_6.md
+++ b/documentation/book/the_lux_programming_language/chapter_6.md
@@ -1,4 +1,4 @@
-# Chapter 6: Types in Detail
+# Chapter 6: Types in detail
_Where you will learn the truth behind types._
diff --git a/documentation/book/the_lux_programming_language/chapter_7.md b/documentation/book/the_lux_programming_language/chapter_7.md
index 75ec91400..aed8617b9 100644
--- a/documentation/book/the_lux_programming_language/chapter_7.md
+++ b/documentation/book/the_lux_programming_language/chapter_7.md
@@ -1,4 +1,4 @@
-# Chapter 7: Interfaces and Implementations
+# Chapter 7: Polymorphism a.k.a. interfaces and implementations
_Where types and values collide._
diff --git a/documentation/book/the_lux_programming_language/chapter_8.md b/documentation/book/the_lux_programming_language/chapter_8.md
index fc3e9c4a9..4d54e9eb9 100644
--- a/documentation/book/the_lux_programming_language/chapter_8.md
+++ b/documentation/book/the_lux_programming_language/chapter_8.md
@@ -1,4 +1,4 @@
-# Chapter 8: Functors and Monads
+# Chapter 8: Functors and monads
_Where I will try to explain something really confusing, and you'll pretend you understand to avoid hurting my feelings._
diff --git a/documentation/book/the_lux_programming_language/chapter_9.md b/documentation/book/the_lux_programming_language/chapter_9.md
index ef6803440..acc17e2aa 100644
--- a/documentation/book/the_lux_programming_language/chapter_9.md
+++ b/documentation/book/the_lux_programming_language/chapter_9.md
@@ -1,4 +1,4 @@
-# Chapter 9: Metaprogramming
+# Chapter 9: Meta-programming
_Where we go meta. For real._
diff --git a/documentation/book/the_lux_programming_language/index.md b/documentation/book/the_lux_programming_language/index.md
new file mode 100644
index 000000000..327eab5cc
--- /dev/null
+++ b/documentation/book/the_lux_programming_language/index.md
@@ -0,0 +1,43 @@
+# Table of contents
+
+* [Introduction](introduction.md)
+* [Chapter 1: Getting started](chapter_*md)
+ _Where you will learn how to set up a development environment for Lux._
+* [Chapter 2: The basics](chapter_2.md)
+ _Where you will learn the fundamentals of Lux programming._
+* [Chapter 3: Syntax and data-types](chapter_3.md)
+ _Where you will learn the what Lux code is made of._
+* [Chapter 4: Functions and definitions](chapter_4.md)
+ _Where you will learn how to build your own Lux code._
+* [Chapter 5: Control flow](chapter_5.md)
+ _Where you will learn how to give intelligence to your code._
+* [Chapter 6: Types in detail](chapter_6.md)
+ _Where you will learn the truth behind types._
+* [Chapter 7: Polymorphism a.k.a. interfaces and implementations](chapter_7.md)
+ _Where types and values collide._
+* [Chapter 8: Functors and monads](chapter_8.md)
+ _Where I will try to explain something really confusing, and you'll pretend you understand to avoid hurting my feelings._
+* [Chapter 9: Meta-programming](chapter_9.md)
+ _Where we go meta. For real._
+* [Chapter 10: Code and macros](chapter_10.md)
+ _Where magic turns into science._
+* [Chapter 11: Syntax macros](chapter_1*md)
+ _Where science turns into magic once more._
+* [Chapter 12: I/O](chapter_12.md)
+ _Where you will learn how to interact with the outside world._
+* [Chapter 13: JVM inter-operation](chapter_13.md)
+ _Where you will cross the great divide._
+* [Chapter 14: Concurrency](chapter_14.md)
+ _Where you will harness the power of modern computing._
+* [Chapter 15: Persistent data structures](chapter_15.md)
+ _Where you will learn a new way to organize your data._
+* [Chapter 16: Testing](chapter_16.md)
+ _Where you will learn how to avoid annoying bug reports._
+* [Appendix A: Import syntax](appendix_a.md)
+* [Appendix B: Math](appendix_b.md)
+* [Appendix C: Pattern-matching macros](appendix_c.md)
+* [Appendix D: The art of piping](appendix_d.md)
+* [Appendix E: Lux implementation details](appendix_e.md)
+* [Appendix F: Implicit polymorphism](appendix_f.md)
+* [Appendix G: Regular expressions](appendix_g.md)
+