Mercurial Hosting > luan
comparison website/src/learn.html.luan @ 1932:047e4dde22b4
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 02 May 2025 17:32:01 -0600 |
parents | 31f006c64782 |
children |
comparison
equal
deleted
inserted
replaced
1931:28cd9b3abdb3 | 1932:047e4dde22b4 |
---|---|
5 local get_lang = Site_translator.get_lang or error() | 5 local get_lang = Site_translator.get_lang or error() |
6 local text_writer = Site_translator.text_writer or error() | 6 local text_writer = Site_translator.text_writer or error() |
7 local Shared = require "site:/lib/Shared.luan" | 7 local Shared = require "site:/lib/Shared.luan" |
8 local head = Shared.head or error() | 8 local head = Shared.head or error() |
9 local header = Shared.docs_header or error() | 9 local header = Shared.docs_header or error() |
10 local reactionary_url = Shared.reactionary_url or error() | |
10 | 11 |
11 | 12 |
12 return function() | 13 return function() |
13 Io.stdout = text_writer() | 14 Io.stdout = text_writer() |
14 %> | 15 %> |
37 <p>In other cases, there is a very thin layer between Luan and Java. And if you know Java, then this code is easy to read. This means that the Luan source code is actually perfectly suitable documentation for the Luan API. If I was to document all of the Luan API, I would actually be mostly duplicating the <a href="https://docs.oracle.com/javase/8/docs/api/overview-summary.html">Java API documentation</a>. So while I will continue to expand the <a href="manual.html">Luan Reference Manual</a>, this is not my top priority. To use Luan, you must get <a href="https://hg.reactionary.software/repo/luan/">the source</a> and get a basic understanding of the API which is in <a href="https://hg.reactionary.software/repo/luan/file/tip/src/luan/modules">luan/src/luan/modules</a>.</p> | 38 <p>In other cases, there is a very thin layer between Luan and Java. And if you know Java, then this code is easy to read. This means that the Luan source code is actually perfectly suitable documentation for the Luan API. If I was to document all of the Luan API, I would actually be mostly duplicating the <a href="https://docs.oracle.com/javase/8/docs/api/overview-summary.html">Java API documentation</a>. So while I will continue to expand the <a href="manual.html">Luan Reference Manual</a>, this is not my top priority. To use Luan, you must get <a href="https://hg.reactionary.software/repo/luan/">the source</a> and get a basic understanding of the API which is in <a href="https://hg.reactionary.software/repo/luan/file/tip/src/luan/modules">luan/src/luan/modules</a>.</p> |
38 | 39 |
39 <p>Here are my suggested steps for learning Luan:</p> | 40 <p>Here are my suggested steps for learning Luan:</p> |
40 | 41 |
41 <ol> | 42 <ol> |
42 <li>Follow my <a href="https://www.reactionary.software/learn.html">Learn Reactionary Programming</a> course up to and including <b>Java 8</b>.</li> | 43 <li>Follow my <a href="<%=reactionary_url()%>/learn.html">Learn Reactionary Programming</a> course up to and including <b>Java 8</b>.</li> |
43 <li>Read <a href="pil.html">Programming in Lua</a>. It is actually an excellent book which means that I don't have to write an extensive Luan tutorial. Then read <a href="diff.html">How Luan differs from Lua</a>.</li> | 44 <li>Read <a href="pil.html">Programming in Lua</a>. It is actually an excellent book which means that I don't have to write an extensive Luan tutorial. Then read <a href="diff.html">How Luan differs from Lua</a>.</li> |
44 <li>Next read the short <a href="tutorial.html">Luan Tutorial</a>.</li> | 45 <li>Next read the short <a href="tutorial.html">Luan Tutorial</a>.</li> |
45 </ol> | 46 </ol> |
46 | 47 |
47 <p>What comes next depends on whether you want to do web development or desktop development.</p> | 48 <p>What comes next depends on whether you want to do web development or desktop development.</p> |