Mercurial Hosting > luan
diff website/src/manual.html @ 372:f08cefa4594c
start editing manual
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 17 Apr 2015 07:58:20 -0600 |
parents | e01cddba3433 |
children | 571057b1666b |
line wrap: on
line diff
--- a/website/src/manual.html Fri Apr 17 07:25:51 2015 -0600 +++ b/website/src/manual.html Fri Apr 17 07:58:20 2015 -0600 @@ -1,90 +1,49 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> - -<head> -<title>Lua 5.3 Reference Manual</title> -<link rel="stylesheet" type="text/css" href="../../lua.css"> -<link rel="stylesheet" type="text/css" href="../manual.css"> -<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> -</head> +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Luan Reference Manual</title> + + <link href="http://www.simplyhtml.org/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet"> + <link rel="stylesheet" href="http://www.simplyhtml.org/assets/font-awesome/css/font-awesome.min.css"> + <script src="http://www.simplyhtml.org/assets/jquery/jquery.min.js"></script> + + <link href="http://www.simplyhtml.org/assets/simplyhtml/simplyhtml.css" rel="stylesheet"/> + <script src="http://www.simplyhtml.org/assets/simplyhtml/simplyhtml.js"></script> + </head> <body> - -<hr> -<h1> -<a href="../../home.html"><img src="../../images/logo.gif" alt="" border="0"></a> -Lua 5.3 Reference Manual -</h1> - -by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes +<div container> +<div><small><a href="/">Luan</a></small></div> + +<h1>Luan Reference Manual</h1> + <p> <small> -Copyright © 2015 Lua.org, PUC-Rio. +Original copyright © 2015 Lua.org, PUC-Rio. Freely available under the terms of the -<a href="../../license.html">Lua license</a>. +<a href="http://www.lua.org/license.html">Lua license</a>. +Modified for Luan. </small> -<hr> -<p> - -<a href="contents.html#contents">contents</A> -· -<a href="contents.html#index">index</A> -· -<a href="../">other versions</A> - -<!-- ====================================================================== --> -<p> - -<!-- $Id: manual.of,v 1.146 2015/01/06 11:23:01 roberto Exp $ --> - - - - -<h1>1 – <a name="1">Introduction</a></h1> - -<p> -Lua is an extension programming language designed to support -general procedural programming with data description -facilities. -Lua also offers good support for object-oriented programming, -functional programming, and data-driven programming. -Lua is intended to be used as a powerful, lightweight, -embeddable scripting language for any program that needs one. -Lua is implemented as a library, written in <em>clean C</em>, -the common subset of Standard C and C++. - - -<p> -As an extension language, Lua has no notion of a "main" program: -it only works <em>embedded</em> in a host client, -called the <em>embedding program</em> or simply the <em>host</em>. -The host program can invoke functions to execute a piece of Lua code, -can write and read Lua variables, -and can register C functions to be called by Lua code. -Through the use of C functions, Lua can be augmented to cope with -a wide range of different domains, -thus creating customized programming languages sharing a syntactical framework. -The Lua distribution includes a sample host program called <code>lua</code>, -which uses the Lua library to offer a complete, standalone Lua interpreter, -for interactive or batch use. - - -<p> -Lua is free software, -and is provided as usual with no guarantees, -as stated in its license. -The implementation described in this manual is available -at Lua's official web site, <code>www.lua.org</code>. - - -<p> -Like any other reference manual, -this document is dry in places. -For a discussion of the decisions behind the design of Lua, -see the technical papers available at Lua's web site. -For a detailed introduction to programming in Lua, -see Roberto's book, <em>Programming in Lua</em>. - +</p> + +<hr/> + +<h2>Contents</h2> + +<div margin-bottom="1em"><a href="#intro">Introduction</a></div> + +<hr/> + +<h2 margin-top="1em"><a name="intro">Introduction</a></h2> + +<p>Luan is a high level programming language based on <a href="http://www.lua.org">Lua</a>. A great strength of Lua is its simplicity and Luan takes this even further, being even simpler than Lua. The goal is to provide a simple programming language for the casual programmer with as few concepts as possible so that one can quickly learn the language and then easily understand any code written in Luan.</p> + +<p>Luan is implemented in Java and is tightly coupled with Java. So it makes a great scripting language for Java programmers.</p> + +<p>Unlike Lua which is meant to be embedded, Luan is meant to be a full scripting language. This done not by adding feature to Luan, but rather by providing a complete set of libraries.</p> <h1>2 – <a name="2">Basic Concepts</a></h1> @@ -10787,5 +10746,6 @@ Last change: minor edit --> -</body></html> - +</div> +</body> +</html>