diff options
Diffstat (limited to 'articles/page/4/index.html')
| -rw-r--r-- | articles/page/4/index.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/articles/page/4/index.html b/articles/page/4/index.html index 87efc9d0..5b0847ce 100644 --- a/articles/page/4/index.html +++ b/articles/page/4/index.html @@ -65,6 +65,61 @@ <article class="blog_item"> <header> + <h2><a href="https://ninenines.eu/articles/xerl-0.2-two-modules/">Xerl: two modules</a></h2> + <p class="date"> + <span class="year">2013</span> + <span class="day-month">03 Feb</span> + </p> + </header> + + <p>Everything is an expression. +This sentence carries profound meaning. We will invoke it many times over the course of these articles. +If everything is an expression, then the language shouldn't have any problem with me defining two modules in the same source file. +mod first_module begin end mod second_module begin end Likewise, it shouldn't have any problem with me defining a module inside another module. +mod out_module begin mod in_module begin end end Of course, in the context of the Erlang VM, these two snippets are equivalent; there is nothing preventing you from calling the in_module module from any other module.</p> + + <p style="text-align:right"> + <a class="read_more" href="https://ninenines.eu/articles/xerl-0.2-two-modules/">Read More</a> + </p> + </article> + + <article class="blog_item"> + <header> + <h2><a href="https://ninenines.eu/articles/xerl-0.1-empty-modules/">Xerl: empty modules</a></h2> + <p class="date"> + <span class="year">2013</span> + <span class="day-month">30 Jan</span> + </p> + </header> + + <p>Let's build a programming language. I call it Xerl: eXtended ERLang. It'll be an occasion for us to learn a few things, especially me. +Unlike in Erlang, in this language, everything is an expression. This means that modules and functions are expression, and indeed that you can have more than one module per file. +We are just starting, so let's no go ahead of ourselves here. We'll begin with writing the code allowing us to compile an empty module.</p> + + <p style="text-align:right"> + <a class="read_more" href="https://ninenines.eu/articles/xerl-0.1-empty-modules/">Read More</a> + </p> + </article> + + <article class="blog_item"> + <header> + <h2><a href="https://ninenines.eu/articles/ranch-ftp/">Build an FTP Server with Ranch in 30 Minutes</a></h2> + <p class="date"> + <span class="year">2012</span> + <span class="day-month">14 Nov</span> + </p> + </header> + + <p>Last week I was speaking at the London Erlang Factory Lite where I presented a live demonstration of building an FTP server using Ranch. As there was no slide, you should use this article as a reference instead. +The goal of this article is to showcase how to use Ranch for writing a network protocol implementation, how Ranch gets out of the way to let you write the code that matters, and the common techniques used when writing servers.</p> + + <p style="text-align:right"> + <a class="read_more" href="https://ninenines.eu/articles/ranch-ftp/">Read More</a> + </p> + </article> + + <article class="blog_item"> + <header> <h2><a href="https://ninenines.eu/articles/tictactoe/">Erlang Tic Tac Toe</a></h2> <p class="date"> <span class="year">2012</span> |
